Up to higher level directory | |||
Name | Date | Size | |
---|---|---|---|
Android.bp | 22-Oct-2020 | 720 | |
concurrent/ | 22-Oct-2020 | ||
crawl.py | 22-Oct-2020 | 2.4K | |
docs/ | 22-Oct-2020 | ||
futures.egg-info/ | 22-Oct-2020 | ||
LICENSE | 22-Oct-2020 | 2.3K | |
MANIFEST.in | 22-Oct-2020 | 86 | |
METADATA | 22-Oct-2020 | 319 | |
MODULE_LICENSE_APACHE2 | 22-Oct-2020 | 0 | |
NOTICE | 22-Oct-2020 | 2.3K | |
OWNERS | 22-Oct-2020 | 205 | |
PKG-INFO | 22-Oct-2020 | 1.9K | |
primes.py | 22-Oct-2020 | 1.3K | |
README.rst | 22-Oct-2020 | 1K | |
setup.cfg | 22-Oct-2020 | 143 | |
setup.py | 22-Oct-2020 | 1.4K | |
test_futures.py | 22-Oct-2020 | 27.1K | |
tox.ini | 22-Oct-2020 | 131 |
1 .. image:: https://travis-ci.org/agronholm/pythonfutures.svg?branch=master 2 :target: https://travis-ci.org/agronholm/pythonfutures 3 :alt: Build Status 4 5 This is a backport of the `concurrent.futures`_ standard library module to Python 2. 6 7 It should not be installed on Python 3, although there should be no harm in doing so, as the 8 standard library takes precedence over third party libraries. 9 10 To conditionally require this library only on Python 2, you can do this in your ``setup.py``: 11 12 .. code-block:: python 13 14 setup( 15 ... 16 extras_require={ 17 ':python_version == "2.7"': ['futures'] 18 } 19 ) 20 21 Or, using the newer syntax: 22 23 .. code-block:: python 24 25 setup( 26 ... 27 install_requires={ 28 'futures; python_version == "2.7"' 29 } 30 ) 31 32 .. warning:: The ``ProcessPoolExecutor`` class has known (unfixable) problems on Python 2 and 33 should not be relied on for mission critical work. 34 35 .. _concurrent.futures: https://docs.python.org/library/concurrent.futures.html 36