]> granicus.if.org Git - python/commitdiff
Issue #22427: TemporaryDirectory no longer attempts to clean up twice when
authorSerhiy Storchaka <storchaka@gmail.com>
Wed, 24 Sep 2014 10:29:27 +0000 (13:29 +0300)
committerSerhiy Storchaka <storchaka@gmail.com>
Wed, 24 Sep 2014 10:29:27 +0000 (13:29 +0300)
used in the with statement in generator.

1  2 
Lib/tempfile.py
Misc/NEWS

diff --cc Lib/tempfile.py
Simple merge
diff --cc Misc/NEWS
index 9c6f7dbd6c58026cf5161efb387f0974a00154a9,5b8cbca531b8674c411a95eaccaadcdbd75b8cec..1d0a676eafca65821f5ba8acaefd8ed05cd00438
+++ b/Misc/NEWS
@@@ -137,29 -62,10 +137,32 @@@ Core and Builtin
  Library
  -------
  
++- Issue #22427: TemporaryDirectory no longer attempts to clean up twice when
++  used in the with statement in generator.
++
 +- Issue #22362: Forbidden ambiguous octal escapes out of range 0-0o377 in
 +  regular expressions.
 +
 +- Issue #20912: Now directories added to ZIP file have correct Unix and MS-DOS
 +  directory attributes.
 +
 +- Issue #21866: ZipFile.close() no longer writes ZIP64 central directory
 +  records if allowZip64 is false.
 +
 +- Issue #22278: Fix urljoin problem with relative urls, a regression observed
 +  after changes to issue22118 were submitted.
 +
 +- Issue #22415: Fixed debugging output of the GROUPREF_EXISTS opcode in the re
 +  module.  Removed trailing spaces in debugging output.
 +
 +- Issue #22423: Unhandled exception in thread no longer causes unhandled
 +  AttributeError when sys.stderr is None.
 +
 +- Issue #21332: Ensure that ``bufsize=1`` in subprocess.Popen() selects
 +  line buffering, rather than block buffering.  Patch by Akira Li.
 +
  - Issue #21091: Fix API bug: email.message.EmailMessage.is_attachment is now
 -  a method.  Since EmailMessage is provisional, we can change the API in a
 -  maintenance release, but we use a trick to remain backward compatible with
 -  3.4.0/1.
 +  a method.
  
  - Issue #21079: Fix email.message.EmailMessage.is_attachment to return the
    correct result when the header has parameters as well as a value.