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 benjamin.peterson, docs@python, ishimoto, vstinner
Date 2015-10-28.14:54:43
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1446044084.27.0.494145185003.issue25482@psf.upfronthosting.co.za>
In-reply-to
Content
> IMO this reduces usefulness of set_wakeup_fd(). (...)

Sorry, I don't understand your use case. Could you elaborate. What do you need?

--

According to the GNU libc doc, the signal SIGWINCH is *ignored* by default:
"Window size change. This is generated on some systems (including GNU) when the terminal driver’s record of the number of rows and columns on the screen is changed. The default action is to ignore it."
https://www.gnu.org/software/libc/manual/html_node/Miscellaneous-Signals.html

For signal.set_wakeup_fd() I agree that the doc can be enhanced. It's not explicit that only signals with a *Python* signal handler (at least, a signal handler registered by signal.signal) write into the "wakeup FD".
History
Date User Action Args
2015-10-28 14:54:44vstinnersetrecipients: + vstinner, ishimoto, benjamin.peterson, docs@python
2015-10-28 14:54:44vstinnersetmessageid: <1446044084.27.0.494145185003.issue25482@psf.upfronthosting.co.za>
2015-10-28 14:54:44vstinnerlinkissue25482 messages
2015-10-28 14:54:43vstinnercreate