STINNER Victor <vstin...@python.org> added the comment:
os.pipe() creates non-inheritable file descriptors by default, see PEP 446: $ python3.6 Python 3.6.9 (default, Jul 26 2019, 00:00:00) >>> import os >>> a,b=os.pipe() >>> os.get_inheritable(a) False >>> os.get_inheritable(b) False ---------- nosy: +vstinner _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue39241> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com