mirror of https://github.com/python/cpython
Patch #1668482: don't use '-' in mkstemp
This commit is contained in:
parent
0e520b46ab
commit
9b2a109540
|
@ -114,7 +114,7 @@ class _RandomNameSequence:
|
||||||
|
|
||||||
characters = ("abcdefghijklmnopqrstuvwxyz" +
|
characters = ("abcdefghijklmnopqrstuvwxyz" +
|
||||||
"ABCDEFGHIJKLMNOPQRSTUVWXYZ" +
|
"ABCDEFGHIJKLMNOPQRSTUVWXYZ" +
|
||||||
"0123456789-_")
|
"0123456789_")
|
||||||
|
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
self.mutex = _allocate_lock()
|
self.mutex = _allocate_lock()
|
||||||
|
|
Loading…
Reference in New Issue