diff options
author | Collin Winter <collinw@gmail.com> | 2007-03-08 22:16:25 (GMT) |
---|---|---|
committer | Collin Winter <collinw@gmail.com> | 2007-03-08 22:16:25 (GMT) |
commit | 9b2a10954037b30851322fac794ce098118f4f42 (patch) | |
tree | 19896427367270a7814567e05cf349d77a9c365c | |
parent | 0e520b46ab9a45b66378fd964a1e6bd4a9776a59 (diff) | |
download | cpython-9b2a10954037b30851322fac794ce098118f4f42.zip cpython-9b2a10954037b30851322fac794ce098118f4f42.tar.gz cpython-9b2a10954037b30851322fac794ce098118f4f42.tar.bz2 |
Patch #1668482: don't use '-' in mkstemp
-rw-r--r-- | Lib/tempfile.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/tempfile.py b/Lib/tempfile.py index 2e8cd6d..7809552 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() |