]> 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:10:56 +0000 (00:10 +0300)
committerSerhiy Storchaka <storchaka@gmail.com>
Tue, 19 May 2015 21:10:56 +0000 (00:10 +0300)
commit9eb0c0e73ec53b8d0e2917c44bcae05a18b56f53
treef00384f5dc4923fb518019163abef8d6de9526a5
parent49f2ccf83dfd9f111caddeb85cbd72d1fab84a92
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