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 felipecruz
Recipients felipecruz
Date 2012-10-01.21:05:59
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1349125559.77.0.651840030069.issue16105@psf.upfronthosting.co.za>
In-reply-to
Content
It's possible to set a read only FD to signal.set_wakeup_fd(fd)

Since write call[1] inside 'trip_signal' return code is ignored, no error will be raised.


An untested solution is to call fcntl in this FD to check presence of write flags.

1 - http://hg.python.org/cpython/file/fb90e2ff95b7/Modules/signalmodule.c#l187
History
Date User Action Args
2012-10-01 21:05:59felipecruzsetrecipients: + felipecruz
2012-10-01 21:05:59felipecruzsetmessageid: <1349125559.77.0.651840030069.issue16105@psf.upfronthosting.co.za>
2012-10-01 21:05:59felipecruzlinkissue16105 messages
2012-10-01 21:05:59felipecruzcreate