Edward Welbourne <e...@chaos.org.uk> added the comment: The third change removes the early uses of "object" from: <quote> Finally, the closing(object)() function returns object so that it can be bound to a variable, and calls object.close at the end of the block. </quote> leaving the last use (object.close) as a dangling reference. So either revert this part of the fix and change :func:`closing(object)` to just ``closing(object)`` or follow up the present change by changing <quote> and calls :meth `object.close` at the end </quote> to <q> and calls the argument's :meth:`close` method at the end </q>
---------- status: closed -> open _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue7926> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com