From: Benjamin Peterson Date: Mon, 14 Apr 2014 16:24:37 +0000 (-0400) Subject: do not generate pipe names in the temporary dir X-Git-Tag: v2.7.7rc1~64 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e03d3fdd204f6e702c9fb3129a50b290294e2a00;p=python do not generate pipe names in the temporary dir --- diff --git a/Lib/multiprocessing/connection.py b/Lib/multiprocessing/connection.py index 1a29c36f63..e4d520f5a1 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')