On Thu, Jun 25, 2020 at 5:09 PM Yonatan Zunger via Python-ideas <
python-ideas@python.org> wrote:

> Hey everyone,
>
> I've been developing code which (alas) needs to operate in a runtime
> environment which is quite *enthusiastic* about sending SIGTERMs and the
> like, and where there are critical short sections of code that, if
> interrupted, are very hard to resume without some user-visible anomaly
> happening.
>

I find, for reasons you have already mentioned, having a "suppress all
signals" something _really_ strange in userland code. But maybe I just have
never seen a case in which it makes sense. Are you sure that the problem
isn't "a runtime environment which is quite enthusiastic about sending
SIGTERMs"?
_______________________________________________
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/python-ideas@python.org/message/KJUNFGDEEMNL6IOUAUTOOT6TISO3RMGI/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to