Marcin 'Qrczak' Kowalczyk wrote:

> It's lazily instantiated today (see PyErr_NormalizeException).

Only in C code, though, not Python. And if the
separate type/value specification when raising
goes away, it might not be possible any more
even in C.

> 'WithExit' constructs a unique exception object and catches precisely
> this object.

That would fill the bill, yes.

So it's really just a matter of making sure
we keep the ability to be as lazy as possible
with exception processing.

-- 
Greg Ewing, Computer Science Dept, +--------------------------------------+
University of Canterbury,          | Carpe post meridiem!                 |
Christchurch, New Zealand          | (I'm not a morning person.)          |
[EMAIL PROTECTED]          +--------------------------------------+
_______________________________________________
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