Michael Foord <[email protected]> added the comment:

Just use the context manager and the exception is available as exc_value.

----------
nosy: +michael.foord
resolution:  -> rejected
stage: needs patch -> committed/rejected
status: open -> closed

_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue7859>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to