gevent.select
– Waiting for I/O completion¶poll
[source]¶Bases: object
An implementation of select.poll
that blocks only the current greenlet.
Caution
POLLPRI
data is not supported.
New in version 1.1b1.
select
(rlist, wlist, xlist, timeout=None)[source]¶An implementation of select.select()
that blocks only the current greenlet.
Caution
xlist is ignored.
Changed in version 1.2a1: Raise a ValueError
if timeout is negative. This matches Python 3’s
behaviour (Python 2 would raise a select.error
). Previously gevent had
undefined behaviour.
Changed in version 1.2a1: Raise an exception if any of the file descriptors are invalid.
Next page: gevent.event
– Notifications of multiple listeners