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 ncoghlan
Recipients gslavin, ncoghlan, rhettinger, steven.daprano, terry.reedy, vstinner, wim.glenn
Date 2016-09-21.05:55:24
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1474437325.53.0.321545801838.issue26351@psf.upfronthosting.co.za>
In-reply-to
Content
While I agree with Raymond regarding the performance implications if this isn't handled carefully, I think we're also getting to a point where better accounting for signal handling latency in inner loops is something that could be considered for 3.7 - the benchmarking infrastructure being built out to measure performance optimisations would also allow overhead tuning of a "batched iteration" idiom where signals were checked for either every N thousand iterations, periodically based on time, or some combination of the two.

Benchmarking to measure the speed impact is going to be essential, though - this is a case where changing the behaviour is clearly possible, so the key questions are whether or not the resulting runtime overhead can be made low enough to be deemed acceptable, and whether or not it can be done in a way that doesn't make the affected parts of the code base effectively unreadable.
History
Date User Action Args
2016-09-21 05:55:25ncoghlansetrecipients: + ncoghlan, rhettinger, terry.reedy, vstinner, steven.daprano, wim.glenn, gslavin
2016-09-21 05:55:25ncoghlansetmessageid: <1474437325.53.0.321545801838.issue26351@psf.upfronthosting.co.za>
2016-09-21 05:55:25ncoghlanlinkissue26351 messages
2016-09-21 05:55:24ncoghlancreate