[issue20244] Possible resources leak in tarfile.open()

2014-01-18 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: As for 2.7, I suppose it have file leaks even when expected exception is raised. 2.7 needs more tests and perhaps changes for GzipFile. This was not fixed in issue11513 and is not fixed here. -- resolution: -> fixed stage: patch review -> committed/

[issue20244] Possible resources leak in tarfile.open()

2014-01-18 Thread Roundup Robot
Roundup Robot added the comment: New changeset 05d186a1a367 by Serhiy Storchaka in branch '3.3': Issue #20244: Fixed possible file leaks when unexpected error raised in http://hg.python.org/cpython/rev/05d186a1a367 New changeset 0386cde12657 by Serhiy Storchaka in branch 'default': Issue #20244:

[issue20244] Possible resources leak in tarfile.open()

2014-01-13 Thread Serhiy Storchaka
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: Librar

[issue20244] Possible resources leak in tarfile.open()

2014-01-13 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- dependencies: +ReadError when open a tarfile for writing ___ Python tracker ___ ___ Python-bugs-list