[issue5251] contextlib.nested inconsistent with, well, nested with statements due exceptions raised in __enter__
Nick Coghlan
report at bugs.python.org
Sat Mar 14 16:08:17 CET 2009
Nick Coghlan <ncoghlan at gmail.com> added the comment:
First draft of patch attached.
Limitations of this version of the patch:
- includes some unrelated marshal.c changes (improved error messages)
- no tests of the new functionality
- contextlib not changed yet
- no documentation changes
The new semantics are in place though, and the existing test_with and
test_contextlib tests all still pass.
----------
keywords: +patch
Added file: http://bugs.python.org/file13330/pep377_v1.diff
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5251>
_______________________________________
More information about the Python-bugs-list
mailing list