From: Serhiy Storchaka Date: Tue, 19 May 2015 21:14:00 +0000 (+0300) Subject: Issue #22107: tempfile.gettempdir() and tempfile.mkdtemp() now try again X-Git-Tag: v3.5.0b1~68 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=492f0277933fd5714762a99ec99fd7f97d99866a;p=python 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. --- 492f0277933fd5714762a99ec99fd7f97d99866a diff --cc Misc/NEWS index 63e4329cba,94ea12bff2..71b35c3eeb --- a/Misc/NEWS +++ b/Misc/NEWS @@@ -52,8 -53,11 +52,13 @@@ Core and Builtin Library ------- + - 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. + +- Issue #23780: Improved error message in os.path.join() with single argument. + - Issue #6598: Increased time precision and random number range in email.utils.make_msgid() to strengthen the uniqueness of the message ID.