Message186072
| Author |
sbt |
| Recipients |
akrpic77, hynek, r.david.murray, sbt, tarek, vstinner |
| Date |
2013年04月05日.10:11:26 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1365156686.48.0.0507163441237.issue17634@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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). |
|