[New-bugs-announce] [issue18773] When a signal handler fails to write to the file descriptor registered with ``signal.set_wakeup_fd()``, an exception does not report the file descriptor

Vajrasky Kok report at bugs.python.org
Sun Aug 18 02:14:01 CEST 2013


New submission from Vajrasky Kok:

When a signal handler fails to write to the file descriptor registered with ``signal.set_wakeup_fd()``, an exception does not report which the file descriptor is the problematic one.

Attached the patch to put the file descriptor in the aforementioned exception and modify the unit test accordingly.

----------
components: Extension Modules
files: add_file_descriptor_to_exception_signal_set_wakeup_fd.patch
keywords: patch
messages: 195534
nosy: pitrou, vajrasky
priority: normal
severity: normal
status: open
title: When a signal handler fails to write to the file descriptor registered with ``signal.set_wakeup_fd()``, an exception does not report the file descriptor
type: behavior
versions: Python 3.4
Added file: http://bugs.python.org/file31346/add_file_descriptor_to_exception_signal_set_wakeup_fd.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue18773>
_______________________________________


More information about the New-bugs-announce mailing list