Message 385289 - Python tracker

Message385289

Author gregory.p.smith
Recipients gregory.p.smith
Date 2021-01-19.19:58:22
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1611086302.06.0.876579939033.issue42969@roundup.psfhosted.org>
In-reply-to
Content
C-APIs such as `PyEval_RestoreThreads()` are insufficient for the task they are asked to do.  They return void, yet have a failure mode.

They call pthread_exit() on failure today.

Instead, they need to return an error to the calling application to indicate that "The Python runtime is no longer available."

Callers need to act on that in whatever way is most appropriate to them.
History
Date User Action Args
2021-01-19 19:58:22gregory.p.smithsetrecipients: + gregory.p.smith
2021-01-19 19:58:22gregory.p.smithsetmessageid: <1611086302.06.0.876579939033.issue42969@roundup.psfhosted.org>
2021-01-19 19:58:22gregory.p.smithlinkissue42969 messages
2021-01-19 19:58:22gregory.p.smithcreate