[New-bugs-announce] [issue27634] selectors.SelectSelectors fails if select.select was patched
Przemyslaw Wegrzyn
report at bugs.python.org
Wed Jul 27 07:54:56 EDT 2016
New submission from Przemyslaw Wegrzyn:
The SelectSelector makes a local copy of select.select() built-in and calls it via self._select later on. It no longer works if select.select() built-in is replaced with function (something gevent's monkey patching does).
Currently gevent employs a workaround - it overwrites SelectSelector._select. It wouldn't be necessary if SelectSelector could cope with select.select() being a regular function.
Attached is a file reproducing the issue.
----------
components: Library (Lib)
files: t_s.py
messages: 271446
nosy: Przemyslaw Wegrzyn
priority: normal
severity: normal
status: open
title: selectors.SelectSelectors fails if select.select was patched
type: behavior
versions: Python 3.5
Added file: http://bugs.python.org/file43909/t_s.py
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue27634>
_______________________________________
More information about the New-bugs-announce
mailing list