diff options
author | Benjamin Peterson <benjamin@python.org> | 2014-04-14 16:24:37 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2014-04-14 16:24:37 (GMT) |
commit | e03d3fdd204f6e702c9fb3129a50b290294e2a00 (patch) | |
tree | 3029a4b52aac509c79c353a7dd123aa7dee208c9 /Lib/multiprocessing/connection.py | |
parent | 3e5d87bb862207eec9165524d9e61feee36a7b27 (diff) | |
download | cpython-e03d3fdd204f6e702c9fb3129a50b290294e2a00.zip cpython-e03d3fdd204f6e702c9fb3129a50b290294e2a00.tar.gz cpython-e03d3fdd204f6e702c9fb3129a50b290294e2a00.tar.bz2 |
do not generate pipe names in the temporary dir
Diffstat (limited to 'Lib/multiprocessing/connection.py')
-rw-r--r-- | Lib/multiprocessing/connection.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/multiprocessing/connection.py b/Lib/multiprocessing/connection.py index 1a29c36..e4d520f 100644 --- a/Lib/multiprocessing/connection.py +++ b/Lib/multiprocessing/connection.py @@ -90,7 +90,7 @@ def arbitrary_address(family): return tempfile.mktemp(prefix='listener-', dir=get_temp_dir()) elif family == 'AF_PIPE': return tempfile.mktemp(prefix=r'\\.\pipe\pyc-%d-%d-' % - (os.getpid(), _mmap_counter.next())) + (os.getpid(), _mmap_counter.next()), dir="") else: raise ValueError('unrecognized family') |