Charles-François Natali added the comment:
14.1 --- a/Lib/multiprocessing/util.py
14.2 +++ b/Lib/multiprocessing/util.py
14.13 #
14.14 # Return pipe with CLOEXEC set on fds
14.15 #
14.16 +# Deprecated: os.pipe() creates non-inheritable file descriptors
14.17 +# since Python 3.4
14.18 +#
14.19
14.20 def pipe():
14.21 - import _posixsubprocess
14.22 - return _posixsubprocess.cloexec_pipe()
14.23 + return os.pipe()
I guess you could remove util.pipe() altogether: it wasn't part of the public
API.
----------
nosy: +neologix
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue18571>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com