Skip to main content

Backport of the concurrent.futures package from Python 3

Project description

Build Status

This is a backport of the concurrent.futures standard library module to Python 2.

It should not be installed on Python 3, although there should be no harm in doing so, as the standard library takes precedence over third party libraries.

To conditionally require this library only on Python 2, you can do this in your setup.py:

setup(
    ...
    extras_require={
        ':python_version == "2.7"': ['futures']
    }
)

Or, using the newer syntax:

setup(
    ...
    install_requires={
        'futures; python_version == "2.7"'
    }
)

Warning

The ProcessPoolExecutor class has known (unfixable) problems on Python 2 and should not be relied on for mission critical work.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
futures-3.2.0-py2-none-any.whl (15.8 kB) Copy SHA256 hash SHA256 Wheel py2
futures-3.2.0.tar.gz (27.3 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page