Berker Peksag <berker.pek...@gmail.com> added the comment:

Thanks for the report.

Looking at the Kernel source code, there doesn't seem to be any difference 
between -1, -100, or -255: 
https://github.com/torvalds/linux/blob/9bd553929f68921be0f2014dd06561e0c8249a0d/fs/eventpoll.c#L1747-L1761

Do you know any other OS that implements or mimicks epoll() other than Illumos? 
Since 
https://github.com/joyent/illumos-joyent/commit/d21b3b2e1bbefbd2f6158ed5d329cd58f86677ab,
 Illumos follows Linux's behavior, so I'm not sure whether we should do 
something similar to 
https://github.com/python/cpython/commit/6cfa927ceb931ad968b5b03e4a2bffb64a8a0604
 for epoll.poll().

----------
nosy: +berker.peksag
versions: +Python 3.8 -Python 3.5

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

Reply via email to