Ezio Melotti <ezio.melo...@gmail.com> added the comment: Attached a revised patch. While I agree that an error should be raised when extra args are provided in the context manager form, this is out of the scope of the issue, so I didn't include those changes.
---------- stage: needs patch -> patch review Added file: http://bugs.python.org/file21839/issue10775-2.diff _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue10775> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com