gevent.select
– Waiting for I/O completion¶Waiting for I/O completion.
alias of OSError
Bases: object
An implementation of select.poll
that blocks only the current greenlet.
Caution
POLLPRI
data is not supported.
New in version 1.1b1.
Changed in version 1.5: This is now always defined, regardless of whether the standard library
defines select.poll()
or not. Note that it may have different performance
characteristics.
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.