Re: ???: telling tracebacks to stop - reraising exceptions proposal

Jack Jansen (Jack.Jansen@cwi.nl)
Sun, 27 Mar 1994 22:41:08 +0100

I would say that giving the traceback parameter to raise is not only
potentialy dangerous as Jaap pointed out, both also difficult to use
(since you have to dig the traceback object out of sys). Why not have
a 'reraise' statement that just continues as if the except wasn't
there? (Hmm, if we're trying to optimize on the number of reserved
words we could easily use raise without parameters here. Actually, we
could also do away with 'finally', since
try:
xxx
finally:
yyy

could be written as
try:
xxx
except:
yyy
raise

(the last part isn't too serious, of course:-)

--
Jack Jansen        | If I can't dance I don't want to be part of
Jack.Jansen@cwi.nl | your revolution             -- Emma Goldman
uunet!cwi.nl!jack    G=Jack;S=Jansen;O=cwi;PRMD=surf;ADMD=400net;C=nl