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 pkerling
Recipients ned.deily, pitrou, pkerling, vstinner
Date 2018-06-01.13:31:05
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1527859865.88.0.682650639539.issue30654@psf.upfronthosting.co.za>
In-reply-to
Content
Thanks! I'm a bit disappointed that it won't make it into 2.7, but I can understand the decision.

To give some context: I came across this while working on Kodi and noticing that it does not shutdown cleanly via Ctrl+C or SIGTERM. After investigating, I came to the conclusion that it is due to this bug. Kodi shuts down the Python interpreter every time no add-on is doing active work, which is almost guaranteed to happen shortly after application startup. Then this bug caused a reset of the SIGTERM handler to the default handler, making the Kodi handler that does a clean shutdown useless.
Now there are plans to switch to Python 3 in Kodi, but it won't happen until the major release after the next, so we're stuck with 2.7 for some time. I guess we'll have to work around this in Kodi for the time being.
History
Date User Action Args
2018-06-01 13:31:05pkerlingsetrecipients: + pkerling, pitrou, vstinner, ned.deily
2018-06-01 13:31:05pkerlingsetmessageid: <1527859865.88.0.682650639539.issue30654@psf.upfronthosting.co.za>
2018-06-01 13:31:05pkerlinglinkissue30654 messages
2018-06-01 13:31:05pkerlingcreate