标签: python-2.7 concurrency backport
我想使用好的执行程序和线程池API,但我受限于Python 2环境。由于另一个第三方依赖,我无法升级到Python 3。
我找到的最接近的答案是: Concurrent in Python 2
答案 0 :(得分:2)
为Python 2找到以下包:https://pypi.python.org/pypi/futures
它说:来自Python 3.2的concurrent.futures包的Backport
尝试一下。