]> granicus.if.org Git - python/commit
Issue #22107: tempfile.gettempdir() and tempfile.mkdtemp() now try again
authorSerhiy Storchaka <storchaka@gmail.com>
Tue, 19 May 2015 21:14:00 +0000 (00:14 +0300)
committerSerhiy Storchaka <storchaka@gmail.com>
Tue, 19 May 2015 21:14:00 +0000 (00:14 +0300)
commit492f0277933fd5714762a99ec99fd7f97d99866a
tree85451c0d2ed74f4b10266dd2d71205ffb5fc9a87
parent873e0df946e53af525b515df7773ff72884a8c3b
parent5d6b7b1cb7943255b8682ea3663ce2c0da500e96
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