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 <rep...@bugs.python.org>
<http://bugs.python.org/issue27634>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to