STINNER Victor added the comment:

> I don't understand this. If you're ok with calling fileno() under Linux, why 
> not under Windows?

I propose to add set_wakeup_socket() for all platforms. This function doesn't 
really call the fileno() method, it gets the socket file descriptor/socket 
handle from the C structure.

I explained why I prefer to use an object rather than a number for 
set_wakeup_socket(). For example, it makes a clear separation between 
set_wakeup_fd(int) and set_wakeup_socket(socket).

Would you prefer to use the file descriptor/socket handler for 
set_wakeup_socket()?

----------

_______________________________________
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