SilentGhost <[email protected]> added the comment: Arkady, I don't see why you need to catch exception. Just wrap the _writeinfo call into a try-finally block, and close ofp in the finally.
---------- nosy: +SilentGhost _______________________________________ Python tracker <[email protected]> <http://bugs.python.org/issue11577> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
