[issue22018] Add a new signal.set_wakeup_socket() function

STINNER Victor report at bugs.python.org
Thu Jul 24 22:00:47 CEST 2014


STINNER Victor added the comment:

> I think if it's not a socket (or a closed one) it should raise ValueError or perhaps OSError -- TypeError would mean that it's not an int.

Oh, you're right. Updated patch, version 8, now raises a ValueError.

----------
Added file: http://bugs.python.org/file36072/wakeup_fd-8.patch

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


More information about the Python-bugs-list mailing list