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

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


STINNER Victor added the comment:

Here is an implementation of a synchrounous executor:
https://bitbucket.org/haypo/trollius/commits/1bc2c23854e6717007a5a6df42470afa49c79b99

The changes are larger than what I expected. On Python 3.4, if concurrent.futures is only missing on FreeBSD 6, I agree that it's ok to ask users to upgrade their OS.

@Guido: Are you interested by this change, since Tulip requires at least Python 3.3 which has also concurrent.futures?

The fallback is probably only needed by the Trollius project in practice.

----------

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


More information about the Python-bugs-list mailing list