跳转到主要内容

带有epoll和kqueue接口的新select模块的后向移植

项目描述

select26扩展是Python 2.6新API函数的后向移植,适用于Python 2.3至2.5。它包含epoll(Linux 2.6)和kqueue/kevent(BSD)的对象封装。

>>> try:
...     import select26 as select
... except ImportError:
...     import select
>>> ep = select.epoll()
>>> kq = select.kqueue()

此版本基于Python svn trunk r62498。

由以下提供支持

AWS AWS 云计算和安全赞助商 Datadog Datadog 监控 Fastly Fastly CDN Google Google 下载分析 Microsoft Microsoft PSF赞助商 Pingdom Pingdom 监控 Sentry Sentry 错误记录 StatusPage StatusPage 状态页面