issue #477: 2.4/2.5 had no better poller than poll().

issue510
David Wilson 6 years ago
parent 881dc7d5ca
commit f3dae10fe1

@ -936,6 +936,10 @@ class EpollPoller(mitogen.core.Poller):
yield data
if sys.version_info < (2, 6):
# 2.4 and 2.5 only had select.select() and select.poll().
POLLER_BY_SYSNAME = {}
else:
POLLER_BY_SYSNAME = {
'Darwin': KqueuePoller,
'FreeBSD': KqueuePoller,

Loading…
Cancel
Save