On Fri, May 30, 2008 at 12:16 PM, Antoine Pitrou <[EMAIL PROTECTED]> wrote:
> Adam Olsen <rhamph <at> gmail.com> writes:
>> I'd like if a bare "raise" became purely lexical (as Guido just
>> suggested), ditching all the magic.
>>
>> However, things such as pdb.pm() still need access to the last
>> exception.  Maybe we can pare it down the bare minimum, a per-thread
>> last_exception?  That'd quickly get clobbered (we should intentionally
>> clear when leaving an except block),
>
> Well, the plan is to keep storing the current exception state in the
> thread state structure, so sys.exc_info() would still work fine until we
> leave the exception block.

Just to be clear, you'll remove PyFrameObject's
f_exc_{type,value,traceback}, and rely exclusively on sys.exc_info(),
right?


-- 
Adam Olsen, aka Rhamphoryncus
_______________________________________________
Python-3000 mailing list
Python-3000@python.org
http://mail.python.org/mailman/listinfo/python-3000
Unsubscribe: 
http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com

Reply via email to