Brian Curtin <cur...@acm.org> added the comment: Added two tests -- test_close and test_close_on_exception, which check if fp is None after __exit__ from a normal and exception case.
---------- keywords: +patch Added file: http://bugs.python.org/file15082/issue5511_complete_20091008.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue5511> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com