New submission from Tal Einat <talei...@gmail.com>:

In 2fb9ae9dfc5a6830d902332ba93b13387e292ddb, select.epoll() was changed to 
reject sizehint=-1, despite that still being documented as the default value. 
Would it be possible to reverse this change, making -1 a special value 
signaling select.epoll() to use sizehint=FD_SETSIZE-1, as was before this 
change?

Additionally, in the same commit the docs were changed to say that the sizehint 
parameter is deprecated and has no effect, but later changes have restored use 
of sizehint in certain cases without updating the documentation. This 
inconsistency should be fixed.

For reference, this came up as part of #31938.

----------
messages: 310072
nosy: benjamin.peterson, serhiy.storchaka, taleinat
priority: normal
severity: normal
status: open
title: Fix handling of sizehint=-1 in select.epoll()

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

Reply via email to