This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients neologix, sbt, vstinner
Date 2013-08-28.07:36:45
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1377675405.74.0.563721263875.issue18865@psf.upfronthosting.co.za>
In-reply-to
Content
In the implementation of the PEP 446, issue #18571, I replaced multiprocessing.util.pipe() with os.pipe() in the multiprocessing module.

Can we remove the multiprocessing.util.pipe() function? It is not public nor documented.

Charles-François Natali added the comment (in issue #18571):

   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.
History
Date User Action Args
2013-08-28 07:36:45vstinnersetrecipients: + vstinner, neologix, sbt
2013-08-28 07:36:45vstinnersetmessageid: <1377675405.74.0.563721263875.issue18865@psf.upfronthosting.co.za>
2013-08-28 07:36:45vstinnerlinkissue18865 messages
2013-08-28 07:36:45vstinnercreate