[issue20130] asyncio: implement a synchronous executor if concurrent.futures is missing

STINNER Victor report at bugs.python.org
Sun Jan 5 20:23:47 CET 2014


STINNER Victor added the comment:

> Where is executor.py?

Hum, maybe I forgot to push it :-)

https://bitbucket.org/haypo/trollius/src/tip/asyncio/executor.py?at=trollius

Code of the synchronous executor:

https://bitbucket.org/haypo/trollius/src/8f28756d63c2c9f09c3a7c1df420796eca9ff08b/asyncio/executor.py?at=trollius#cl-60

I only defined methods used by asyncio. I didn't try to implement the full API (ex: it's not possible to cancel a Future).

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue20130>
_______________________________________


More information about the Python-bugs-list mailing list