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 <rep...@bugs.python.org>
<http://bugs.python.org/issue22018>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to