Nick Coghlan <ncogh...@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 <rep...@bugs.python.org> <http://bugs.python.org/issue5251> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com