summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2015-05-19 21:11:48 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2015-05-19 21:11:48 (GMT)
commit5d6b7b1cb7943255b8682ea3663ce2c0da500e96 (patch)
tree49a4de50e3e055cfacbb599523456d5a70c2d7a0 /Misc
parentf6d1f1fa8a503f218a2103ba1e6768c6cfdb7c50 (diff)
downloadcpython-5d6b7b1cb7943255b8682ea3663ce2c0da500e96.zip
cpython-5d6b7b1cb7943255b8682ea3663ce2c0da500e96.tar.gz
cpython-5d6b7b1cb7943255b8682ea3663ce2c0da500e96.tar.bz2
Issue #22107: tempfile.gettempdir() and tempfile.mkdtemp() now try again
when a directory with the chosen name already exists on Windows as well as on Unix. tempfile.mkstemp() now fails early if parent directory is not valid (not exists or is a file) on Windows.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS5
1 files changed, 5 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 45a0639..94ea12b 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -53,6 +53,11 @@ Core and Builtins
Library
-------
+- Issue #22107: tempfile.gettempdir() and tempfile.mkdtemp() now try again
+ when a directory with the chosen name already exists on Windows as well as
+ on Unix. tempfile.mkstemp() now fails early if parent directory is not
+ valid (not exists or is a file) on Windows.
+
- Issue #6598: Increased time precision and random number range in
email.utils.make_msgid() to strengthen the uniqueness of the message ID.