Message186074
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>
> _______________________________________ |
|
Date |
User |
Action |
Args |
2013-04-05 11:59:25 | vstinner | set | recipients:
+ vstinner, tarek, r.david.murray, akrpic77, sbt, hynek |
2013-04-05 11:59:25 | vstinner | link | issue17634 messages |
2013-04-05 11:59:25 | vstinner | create | |
|