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 vstinner
Recipients Devin Jeanpierre, pitrou, vstinner
Date 2015-05-25.16:05:11
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1432569911.39.0.41920907607.issue24283@psf.upfronthosting.co.za>
In-reply-to
Content
> It doesn't do any of those things in Python 2, to my knowledge.

Well, even if Python 2 doesn't warn you,  threading_print_test.py is also wrong on Python 2. Python 3 is better because it warns you :-)

> Why aren't we willing to make this work?

It would be very complex to support reentrant calls in the io stack. It's much easier to redesign your application to defer the work of the signal handler outside the signal handler.
History
Date User Action Args
2015-05-25 16:05:11vstinnersetrecipients: + vstinner, pitrou, Devin Jeanpierre
2015-05-25 16:05:11vstinnersetmessageid: <1432569911.39.0.41920907607.issue24283@psf.upfronthosting.co.za>
2015-05-25 16:05:11vstinnerlinkissue24283 messages
2015-05-25 16:05:11vstinnercreate