STINNER Victor added the comment: Since Python 3.4, all file descriptors directly created by Python are marked as non-inheritable. It should now be safe to use subprocess with close_fds=False, but the default value was not changed because third party modules (especially code written in C) may not respect the PEP 446.
If you are interested to change the default value, you should audit the major Python modules on PyPI to check if they were adapted to respect the PEP 446 (mark all file descriptors as non-inheritable). ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue21627> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com