Author izbyshev
Recipients izbyshev, vstinner
Date 2018-02-06.01:34:01
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1517880843.05.0.467229070634.issue32777@psf.upfronthosting.co.za>
In-reply-to
Content
_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.).
History
Date User Action Args
2018-02-06 01:34:03izbyshevsetrecipients: + izbyshev, vstinner
2018-02-06 01:34:03izbyshevsetmessageid: <1517880843.05.0.467229070634.issue32777@psf.upfronthosting.co.za>
2018-02-06 01:34:02izbyshevlinkissue32777 messages
2018-02-06 01:34:01izbyshevcreate