STINNER Victor added the comment:

Your code doesn't make sense. You listen to 0 file descriptor and wait forever 
until you get events, which will never occur. I'm not even sure that it should 
be allowed by the Selector API.

What's the point of your bug report? Does your application really rely on the 
behaviour of the selector when no file descriptor is registered?

The behaviour changes between Linux and OS X because the "default" selector is 
a different selector on Linux (epoll) and OS X (kqueue? select?)

----------
nosy: +haypo

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue25680>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to