[New-bugs-announce] [issue32842] Fixing epoll timeout logics
YoSTEALTH
report at bugs.python.org
Tue Feb 13 21:06:41 EST 2018
New submission from YoSTEALTH <ritesh at stealthcentral.com>:
# 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
nosy: YoSTEALTH
priority: normal
severity: normal
status: open
title: Fixing epoll timeout logics
type: behavior
versions: Python 3.7
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue32842>
_______________________________________
More information about the New-bugs-announce
mailing list