[issue5251] contextlib.nested inconsistent with, well, nested with statements due exceptions raised in __enter__
Nick Coghlan
report at bugs.python.org
Sun Mar 15 05:04:46 CET 2009
Nick Coghlan <ncoghlan at gmail.com> added the comment:
Note that the semantics in the current patch aren't quite correct, since
the __exit__ attribute is retrieved inside the scope of the outer
try/except block. Updated patch with the correct semantics coming soon.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5251>
_______________________________________
More information about the Python-bugs-list
mailing list