agronholm / pythonfutures

Backport of the concurrent.futures package to Python 2.6 and 2.7
Other
232 stars 51 forks source link

Explicit documentation of which version of concurrent.futures is backported #73

Open snakescott opened 6 years ago

snakescott commented 6 years ago

Given the version number I assume this is a backport of concurrent.futures from Python 3.2. There have been improvements to the module in later releases of Python 3, and I was wondering if there are any plans to pull them in? I'm specifically interested in improvements to ProcessPoolExecutor, namely

  1. the improved behavior on abrupt worker termination (3.3)
  2. initializer / initargs support (3.7)

Thanks!

agronholm commented 6 years ago

Yes, the README does clearly state that this is a backport. As for the other issues:

  1. Not doable (requires changes to Python core)
  2. I can probably add this
agronholm commented 6 years ago

Also note that ProcessPoolExecutor is kinda broken due to problems that have been fixed way back in Python 3.3 but not 2.7.