This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author izbyshev
Recipients izbyshev, vstinner
Date 2018-02-06.01:34:01
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
_Py_set_inheritable() raises a Python-level exception on error and thus is  not async-signal-safe, but child_exec() must use only async-signal-safe functions because it's executed between fork() and exec().

Since a non-raising version is already implemented in Python/fileutils.c for internal use (set_inheritable), I suggest to simply expose it via another public function (similar to _Py_open_noraise(), etc.).
Date User Action Args
2018-02-06 01:34:03izbyshevsetrecipients: + izbyshev, vstinner
2018-02-06 01:34:03izbyshevsetmessageid: <>
2018-02-06 01:34:02izbyshevlinkissue32777 messages
2018-02-06 01:34:01izbyshevcreate