[issue5251] contextlib.nested inconsistent with, well, nested with statements due exceptions raised in __enter__

Nick Coghlan report at bugs.python.org
Sun Mar 15 04:04:56 CET 2009


Nick Coghlan <ncoghlan at gmail.com> added the comment:

Second draft attached, this time with tests and sans segmentation faults :)

Limitations of this version of the patch:
- still includes some unrelated marshal.c changes (improved error messages)
- no documentation changes yet

----------
Added file: http://bugs.python.org/file13336/pep377_v2.diff

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5251>
_______________________________________


More information about the Python-bugs-list mailing list