[issue11577] testcase for exception binhex.Error
Nick Coghlan
report at bugs.python.org
Thu Mar 17 15:46:51 CET 2011
Nick Coghlan <ncoghlan at gmail.com> added the comment:
This is fixed on default as well, I just stuffed the merge so the history looks odd and the integration script didn't pick it up.
You can see the additional changes I made in the linked changeset:
- try/except with a flag to clean up implicitly created file objects when binhex.__init__ fails
- change the getfileinfo code to use a with statement so it is also more exception tolerant
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11577>
_______________________________________
More information about the Python-bugs-list
mailing list