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 asvetlov
Recipients asvetlov, epiphyte, iritkatriel, jnwatson, yselivanov
Date 2022-01-26.10:41:20
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1643193680.23.0.043967559987.issue34680@roundup.psfhosted.org>
In-reply-to
Content
BaseEventLoop has _check_loop() method that is closed in debug mode only.
UnixEventLoop doesn't call this method for unix-specific API.

Adding the check to add_signal_handler()/remove_signal_handler() doesn't hurt, sure. 
But it doesn't help as the script is executed in non-debug mode.

Performing a check on every call_soon() call kills the performance, that's why debug mode is required.
History
Date User Action Args
2022-01-26 10:41:20asvetlovsetrecipients: + asvetlov, yselivanov, jnwatson, epiphyte, iritkatriel
2022-01-26 10:41:20asvetlovsetmessageid: <1643193680.23.0.043967559987.issue34680@roundup.psfhosted.org>
2022-01-26 10:41:20asvetlovlinkissue34680 messages
2022-01-26 10:41:20asvetlovcreate