This is interesting!

I wrote just the opposite - gevent API on top of asyncio (
https://github.com/decentfox/tulipcore). Makes sense to make mine support
trollius too.


BR,
Fantix
--
http://about.me/fantix

On Wed, Nov 26, 2014 at 5:34 AM, Victor Stinner <[email protected]>
wrote:

> Hi,
>
> After the aiogreen project released last week, asyncio API on top of
> eventlet, I just release aiogevent 0.1: asyncio API on top of gevent:
> https://pypi.python.org/pypi/aiogevent
>
> aiogevent 0.1 does not support gevent used with monkey patching. I'm
> not sure that it's possible to support it. eventlet provides
> eventlet.patcher.original(name) to retrieve an unpatched module,
> whereas gevent doesn't provide an API to retrieve the original module.
>
> I first wanted to support eventlet and gevent in the same code base,
> but it was too tricky. For example, eventlet supports threads, whereas
> gevent doesn't. eventlet and gevent can monkey-patch the Python
> standard library, so eventlet and gevent are exclusive. It becomes
> more complex to build a test suite for eventlet and gevent (I don't
> want to spawn a new process to run each test).
>
> Victor
>

Reply via email to