commit | 9eb0c0e73ec53b8d0e2917c44bcae05a18b56f53 | [log] [tgz] |
---|---|---|
author | Serhiy Storchaka <storchaka@gmail.com> | Wed May 20 00:10:56 2015 +0300 |
committer | Serhiy Storchaka <storchaka@gmail.com> | Wed May 20 00:10:56 2015 +0300 |
tree | f00384f5dc4923fb518019163abef8d6de9526a5 | |
parent | 49f2ccf83dfd9f111caddeb85cbd72d1fab84a92 [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.