Message308830
> `remove_signal_handler()` should do nothing if `sys.is_finalizing()` is true.
I dislike this option.
If you want to use sys.is_finalizing(), I would prefer to modify _UnixSelectorEventLoop.close() to not try to remove signal handler if close() has been called too late during Python finalization. But I also expect a warning in this case, not hide bugs silently.
If you reach this case, close() has probably been called by BaseEventLoop.__del__(). |
|
Date |
User |
Action |
Args |
2017-12-20 22:15:34 | vstinner | set | recipients:
+ vstinner, gvanrossum, asvetlov, yselivanov, Alex Brandt, hlellelid |
2017-12-20 22:15:34 | vstinner | set | messageid: <1513808134.71.0.213398074469.issue26133@psf.upfronthosting.co.za> |
2017-12-20 22:15:34 | vstinner | link | issue26133 messages |
2017-12-20 22:15:34 | vstinner | create | |
|