Yury Selivanov added the comment:

> Any counterarguments?

There are no counterarguments. There is no obvious way to support 
concurrent.futures transparently, though:

   await conc_fut

requires conc_fut to implement __await__.

So we either have to implement __await__ for concurrent futures and provide 
some kind of registry for frameworks, or we can implement a wrapper function:

    await asyncio_compat(conc_fut)

Anyways, concrete ideas and API suggestions are welcome.

----------
nosy: +Yury.Selivanov

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue24383>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to