summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorNick Coghlan <ncoghlan@gmail.com>2010-12-12 15:24:21 (GMT)
committerNick Coghlan <ncoghlan@gmail.com>2010-12-12 15:24:21 (GMT)
commit6b22f3fa172c61c76077265cbf742bbcb67d7af2 (patch)
tree73cb339eca119bb37a20b93ae26431d923fcbfbd /Misc
parent0e65cf0b6ab397f3f67c2b516af7b9fba05604bc (diff)
downloadcpython-6b22f3fa172c61c76077265cbf742bbcb67d7af2.zip
cpython-6b22f3fa172c61c76077265cbf742bbcb67d7af2.tar.gz
cpython-6b22f3fa172c61c76077265cbf742bbcb67d7af2.tar.bz2
Issue #10188 (partial resolution): tidy up some behaviour in the new tempfile.TemporaryDirectory context manager
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS6
1 files changed, 6 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 080c86e..af34fe5 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -11,6 +11,12 @@ What's New in Python 3.2 Beta 2?
Library
-------
+* Issue #10188 (partial resolution): tempfile.TemporaryDirectory emits
+ a warning on sys.stderr rather than throwing a misleading exception
+ if cleanup fails due to nulling out of modules during shutdown.
+ Also avoids an AttributeError when mkdtemp call fails and issues
+ a ResourceWarning on implicit cleanup via __del__.
+
* Issue #10107: Warn about unsaved files in IDLE on OSX.