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: v3.4.1rc1~90 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=40470e00b539095ee576513f7a98cfda020583c3;p=python do not generate pipe names in the temporary dir --- diff --git a/Lib/multiprocessing/connection.py b/Lib/multiprocessing/connection.py index b4f81ba984..3bc716f4d4 100644 --- a/Lib/multiprocessing/connection.py +++ b/Lib/multiprocessing/connection.py @@ -76,7 +76,7 @@ def arbitrary_address(family): return tempfile.mktemp(prefix='listener-', dir=util.get_temp_dir()) elif family == 'AF_PIPE': return tempfile.mktemp(prefix=r'\\.\pipe\pyc-%d-%d-' % - (os.getpid(), next(_mmap_counter))) + (os.getpid(), next(_mmap_counter)), dir="") else: raise ValueError('unrecognized family')