mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
do not generate pipe names in the temporary dir
This commit is contained in:
parent
9da047b3a5
commit
40470e00b5
1 changed files with 1 additions and 1 deletions
|
@ -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')
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue