[issue32842] Fixing epoll timeout logics

2018-02-13 Thread YoSTEALTH
YoSTEALTH added the comment: my confusion comes from epoll.poll(timeout=-1, maxevents=-1) has nothing to do with selectors.BaseSelector.select(timeout=None) -- resolution: -> not a bug stage: patch review -> resolved status: open -> closed ___ Pyth

[issue32842] Fixing epoll timeout logics

2018-02-13 Thread YoSTEALTH
Change by YoSTEALTH : -- pull_requests: +5474 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyt

[issue32842] Fixing epoll timeout logics

2018-02-13 Thread YoSTEALTH
Change by YoSTEALTH : -- keywords: +patch pull_requests: +5472 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list ma

[issue32842] Fixing epoll timeout logics

2018-02-13 Thread YoSTEALTH
New submission from YoSTEALTH : # current if timeout is None: timeout = -1 elif timeout <= 0: timeout = 0 # changed if timeout is None: timeout = -1 elif timeout < -1: timeout = 0 what if "timeout=-1" ? - currently it would result in being timeout=0 -- messages: 312150