commit | 5d6b7b1cb7943255b8682ea3663ce2c0da500e96 | [log] [tgz] |
---|---|---|
author | Serhiy Storchaka <storchaka@gmail.com> | Wed May 20 00:11:48 2015 +0300 |
committer | Serhiy Storchaka <storchaka@gmail.com> | Wed May 20 00:11:48 2015 +0300 |
tree | 49a4de50e3e055cfacbb599523456d5a70c2d7a0 | |
parent | f6d1f1fa8a503f218a2103ba1e6768c6cfdb7c50 [diff] |
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.