From: Collin Winter Date: Thu, 8 Mar 2007 22:16:25 +0000 (+0000) Subject: Patch #1668482: don't use '-' in mkstemp X-Git-Tag: v2.6a1~2073 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9b2a10954037b30851322fac794ce098118f4f42;p=thirdparty%2FPython%2Fcpython.git Patch #1668482: don't use '-' in mkstemp --- diff --git a/Lib/tempfile.py b/Lib/tempfile.py index 2e8cd6d7d52c..780955266edd 100644 --- a/Lib/tempfile.py +++ b/Lib/tempfile.py @@ -114,7 +114,7 @@ class _RandomNameSequence: characters = ("abcdefghijklmnopqrstuvwxyz" + "ABCDEFGHIJKLMNOPQRSTUVWXYZ" + - "0123456789-_") + "0123456789_") def __init__(self): self.mutex = _allocate_lock()