STINNER Victor added the comment: > It looks like some of these do make the file descriptor accessible to the > Python user. (...)
Oh right, I reverted changes on these modules. What do you think of the patch version 2? Changes since patch version 1: * Revert changes in linuxaudio, oss, select, etc. modules * Fix _Py_try_set_non_inheritable(): *set* the FD_CLOEXEC flag, don't clear it! * Optimize _Py_try_set_non_inheritable(): avoid fcntl() if possible (backport issue #26770) ---------- Added file: http://bugs.python.org/file42519/set_inheritable-2.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue26769> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com