diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2015-05-19 21:11:48 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2015-05-19 21:11:48 (GMT) |
commit | 5d6b7b1cb7943255b8682ea3663ce2c0da500e96 (patch) | |
tree | 49a4de50e3e055cfacbb599523456d5a70c2d7a0 /Misc | |
parent | f6d1f1fa8a503f218a2103ba1e6768c6cfdb7c50 (diff) | |
download | cpython-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/NEWS | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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. |