]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Issue #22107: tempfile.gettempdir() and tempfile.mkdtemp() now try again
authorSerhiy Storchaka <storchaka@gmail.com>
Tue, 19 May 2015 21:11:48 +0000 (00:11 +0300)
committerSerhiy Storchaka <storchaka@gmail.com>
Tue, 19 May 2015 21:11:48 +0000 (00:11 +0300)
commit5d6b7b1cb7943255b8682ea3663ce2c0da500e96
tree49a4de50e3e055cfacbb599523456d5a70c2d7a0
parentf6d1f1fa8a503f218a2103ba1e6768c6cfdb7c50
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.
Lib/tempfile.py
Lib/test/test_tempfile.py
Misc/NEWS