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 akrpic77, hynek, r.david.murray, sbt, tarek, vstinner
Date 2013-04-05.11:59:25
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <CAMpsgwZrqR0A=vz8_6+eFF7FkX+cSUbOmYxu+C8Sp2_VevCVVw@mail.gmail.com>
In-reply-to <1365156686.48.0.0507163441237.issue17634@psf.upfronthosting.co.za>
Content
See also the PEP 433 which proposes to disable file descriptor
inherance by default.

2013/4/5 Richard Oudkerk <report@bugs.python.org>:
>
> Richard Oudkerk added the comment:
>
> This problem also affects processes started by multiprocessing (although it is fixed in http://hg.python.org/sandbox/sbt#spawn).
>
> As far as I am concerned O_NOINHERIT should really have been applied by default in Python 3.  You only get inheritable fds on Windows if you use the msvcrt's spawn*() functions.  But in Python 3 os.spawn*() is implemented on top of subprocess so the fds are never inherited (even if the underlying handles are).
>
> ----------
>
> _______________________________________
> Python tracker <report@bugs.python.org>
> <http://bugs.python.org/issue17634>
> _______________________________________
History
Date User Action Args
2013-04-05 11:59:25vstinnersetrecipients: + vstinner, tarek, r.david.murray, akrpic77, sbt, hynek
2013-04-05 11:59:25vstinnerlinkissue17634 messages
2013-04-05 11:59:25vstinnercreate