Antoine Pitrou <pit...@free.fr> added the comment: This is a problem in the Tarfile class, which keeps the underlying `fileobj` open even when the constructor fails. Here is a possible patch.
---------- assignee: -> lars.gustaebel keywords: +patch nosy: +lars.gustaebel, pitrou stage: -> patch review type: -> resource usage versions: +Python 2.6, Python 2.7 Added file: http://bugs.python.org/file15356/tarfile.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue7341> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com