greenhouse icon indicating copy to clipboard operation
greenhouse copied to clipboard

Implement futures interface?

Open dsully opened this issue 11 years ago • 1 comments

Should greenhouse provide a Futures interface?

https://pypi.python.org/pypi/futures aka http://docs.python.org/dev/library/concurrent.futures.html

Thanks

dsully avatar Apr 27 '13 18:04 dsully

Yes, by all means.

I had this on my mind as part of an effort to bring all stdlib emulation up-to-par on current python versions.

Like a few other things I think there would be an Executor class exposed in greenhouse.ext, which is patched over ThreadPoolExecutor in greenhouse.emulation.

I have something similar implemented in https://github.com/teepark/junction/blob/master/junction/futures.py.

teepark avatar May 01 '13 21:05 teepark