Ezio Melotti <ezio.melo...@gmail.com> added the comment:

An automated test would be better.  It should be enough to create an invalid 
tar file, do something similar to the snippet in the first message, but 
checking that an error is raised and that all the files are closed anyway.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue11787>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to