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 pitrou
Recipients jcea, meador.inge, pitrou, rbcollins
Date 2012-01-03.14:40:35
SpamBayes Score 6.65236e-06
Marked as misclassified No
Message-id <>
Yes, using synchronization primitives or doing I/O in Python signal handlers isn't a good idea. Perhaps the signal docs should be clearer about that.

> Of course, this wasn't ever safe code, and we're changing it (to have the signal handler merely set a integer flag that the logging handler can consult without locking)

Indeed, setting a variable (or using set_wakeup_fd()) is the right approach.
Date User Action Args
2012-01-03 14:40:36pitrousetrecipients: + pitrou, jcea, rbcollins, meador.inge
2012-01-03 14:40:36pitrousetmessageid: <>
2012-01-03 14:40:35pitroulinkissue13697 messages
2012-01-03 14:40:35pitroucreate