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 docs@python, vstinner
Date 2017-06-13.07:48:51
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1497340131.95.0.0118831841828.issue30644@psf.upfronthosting.co.za>
In-reply-to
Content
The signal.set_wakeup_fd() function is used to write signal numbers as bytes into a pipe, to be able to handle signals using a "regular" file descriptors instead of special signal handlers.

https://docs.python.org/dev/library/signal.html

Problem: it's not documented how to unregister the FD. I just saw "signal.set_wakeup_fd(-1)" in a Pull Request and realized that we forgot to document it:
https://github.com/python/cpython/pull/2139/

This issue is an EASY issue: please leave it to real newcomers who didn't write any PR to CPython previously. Core developers: explain how to fix the issue, don't fix it ;-)

Doc/library/signal.rst should be modified. I read that it's even possible to create a PR using an online editor? I never tried:
https://github.com/python/cpython/blob/master/Doc/library/signal.rst
History
Date User Action Args
2017-06-13 07:48:51vstinnersetrecipients: + vstinner, docs@python
2017-06-13 07:48:51vstinnersetmessageid: <1497340131.95.0.0118831841828.issue30644@psf.upfronthosting.co.za>
2017-06-13 07:48:51vstinnerlinkissue30644 messages
2017-06-13 07:48:51vstinnercreate