]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Issue #16408: Fix file descriptors not being closed in error conditions in the zipfil...
authorAntoine Pitrou <solipsis@pitrou.net>
Sat, 17 Nov 2012 22:54:40 +0000 (23:54 +0100)
committerAntoine Pitrou <solipsis@pitrou.net>
Sat, 17 Nov 2012 22:54:40 +0000 (23:54 +0100)
Patch by Serhiy Storchaka.

1  2 
Lib/zipfile.py
Misc/NEWS

diff --cc Lib/zipfile.py
Simple merge
diff --cc Misc/NEWS
index df8f014a43f33b92d698f12fc2e190f0d93a2dae,0cf165eb308a916b95cf1d7d87dee452be16f88c..178cf2b2ef52371e50bfe55c66b39d2f7ff20f1b
+++ b/Misc/NEWS
@@@ -130,18 -88,11 +130,21 @@@ Core and Builtin
  Library
  -------
  
+ - Issue #16408: Fix file descriptors not being closed in error conditions
+   in the zipfile module.  Patch by Serhiy Storchaka.
 +- Issue #14631: Add a new :class:`weakref.WeakMethod` to simulate weak
 +  references to bound methods.
 +
 +- Issue #16469: Fix exceptions from float -> Fraction and Decimal -> Fraction
 +  conversions for special values to be consistent with those for float -> int
 +  and Decimal -> int.  Patch by Alexey Kachayev.
 +
  - Issue #16481: multiprocessing no longer leaks process handles on Windows.
  
 +- Issue #12428: Add a pure Python implementation of functools.partial().
 +  Patch by Brian Thorne.
 +
  - Issue #16140: The subprocess module no longer double closes its child
    subprocess.PIPE parent file descriptors on child error prior to exec().