SilentGhost <ghost....@gmail.com> 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 <rep...@bugs.python.org>
<http://bugs.python.org/issue11577>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to