[issue32568] Fix handling of sizehint=-1 in select.epoll()

2018-06-30 Thread Tal Einat
Tal Einat added the comment: New changeset db7ac30ef52ce35a4ead1bc1b9f0dd5331ed9779 by Tal Einat in branch '3.6': [3.6] bpo-32568: make select.epoll() and its docs consistent (GH-7840) (GH-8025) https://github.com/python/cpython/commit/db7ac30ef52ce35a4ead1bc1b9f0dd5331ed9779 --

[issue32568] Fix handling of sizehint=-1 in select.epoll()

2018-06-30 Thread Tal Einat
Change by Tal Einat : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue32568] Fix handling of sizehint=-1 in select.epoll()

2018-06-30 Thread Tal Einat
Tal Einat added the comment: New changeset fd1c092bb9fee46d8d543710973c69a0e93a697a by Tal Einat (Miss Islington (bot)) in branch '3.7': bpo-32568: make select.epoll() and its docs consistent (GH-7840) (GH-8024)

[issue32568] Fix handling of sizehint=-1 in select.epoll()

2018-06-30 Thread Tal Einat
Change by Tal Einat : -- pull_requests: +7635 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue32568] Fix handling of sizehint=-1 in select.epoll()

2018-06-30 Thread miss-islington
Change by miss-islington : -- pull_requests: +7633 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue32568] Fix handling of sizehint=-1 in select.epoll()

2018-06-30 Thread Tal Einat
Tal Einat added the comment: New changeset 0cdf5f42898350261c5ff65d96334e736130780f by Tal Einat in branch 'master': bpo-32568: make select.epoll() and its docs consistent (#7840) https://github.com/python/cpython/commit/0cdf5f42898350261c5ff65d96334e736130780f --

[issue32568] Fix handling of sizehint=-1 in select.epoll()

2018-06-25 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- versions: +Python 3.8 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue32568] Fix handling of sizehint=-1 in select.epoll()

2018-06-23 Thread Giampaolo Rodola'
Change by Giampaolo Rodola' : -- nosy: +giampaolo.rodola ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue32568] Fix handling of sizehint=-1 in select.epoll()

2018-06-22 Thread Tal Einat
Change by Tal Einat : -- pull_requests: +7470 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue32568] Fix handling of sizehint=-1 in select.epoll()

2018-06-22 Thread Tal Einat
Tal Einat added the comment: >> Also sizehint=0 was rejected before >> 2fb9ae9dfc5a6830d902332ba93b13387e292ddb. Now it is accepted. Please note that by "Now it is accepted" I meant in the current codebase, before PR 7840. In this regard, that PR changes nothing. Given the documentation

[issue32568] Fix handling of sizehint=-1 in select.epoll()

2018-06-22 Thread STINNER Victor
STINNER Victor added the comment: > Also sizehint=0 was rejected before 2fb9ae9dfc5a6830d902332ba93b13387e292ddb. > Now it is accepted. DESCRIPTION epoll_create() creates a new epoll(7) instance. Since Linux 2.6.8, the size argument is ignored, but must be greater than zero;

[issue32568] Fix handling of sizehint=-1 in select.epoll()

2018-06-22 Thread STINNER Victor
STINNER Victor added the comment: > *flags* is deprecated and completely ignored. What if tomorrow, Linux accepts a new flag, passing the flag would just be ignored? Maybe it's fine. Especially usually Python developers only use flags exposed in Python, and currently, only EPOLL_CLOEXEC is

[issue32568] Fix handling of sizehint=-1 in select.epoll()

2018-06-21 Thread Tal Einat
Change by Tal Einat : -- keywords: +patch pull_requests: +7449 stage: needs patch -> patch review ___ Python tracker ___ ___

[issue32568] Fix handling of sizehint=-1 in select.epoll()

2018-01-16 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Also sizehint=0 was rejected before 2fb9ae9dfc5a6830d902332ba93b13387e292ddb. Now it is accepted. -- ___ Python tracker

[issue32568] Fix handling of sizehint=-1 in select.epoll()

2018-01-16 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- components: +Extension Modules stage: -> needs patch type: -> behavior versions: +Python 3.6, Python 3.7 ___ Python tracker

[issue32568] Fix handling of sizehint=-1 in select.epoll()

2018-01-16 Thread Tal Einat
Tal Einat added the comment: Also see discussion in GitHub PR 4265 for #31938. -- ___ Python tracker ___

[issue32568] Fix handling of sizehint=-1 in select.epoll()

2018-01-16 Thread Tal Einat
New submission from Tal Einat : 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