New submission from Serhiy Storchaka: There are possible opened file leaks when unexpected error is occurred in tarfile.open for bzip2- or xz-compressed files (and gzip2-compressed in 2.7). Here is a patch. Unfortunately I have no tests.
---------- assignee: serhiy.storchaka components: Library (Lib) files: tarfile_file_leak.patch keywords: patch messages: 208046 nosy: lars.gustaebel, serhiy.storchaka priority: normal severity: normal stage: patch review status: open title: Possible resources leak in tarfile.open() type: behavior versions: Python 2.7, Python 3.3, Python 3.4 Added file: http://bugs.python.org/file33450/tarfile_file_leak.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue20244> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com