I've developed a couple complex python+gevent stacks and I think this pattern
is becoming less common - we sometimes had to mix gevent and os threads when
there was socket code buried in C extensions that couldn't be monkey patched
(the old zookeeper lib for example - kazoo solved this).
I think given the evolution of the python ecosystem -- pypy wanting a python
implementation and library authors being more aware of greenlet based
applications (and providing hooks to support them even in C-based libraries
like psycopg2), that your rationale for not having gevent-specific code to
support greenlets + os threads is good.
People who really need it will find a workaround - and it makes the much more
common case of a single-threaded monkey-patched application simpler.
m
> --
> You received this message because you are subscribed to the Google Groups
> "gevent: coroutine-based Python network library" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
gevent+un...@googlegroups.com.
> For more options, visit
https://groups.google.com/d/optout.
--
Matt Billenstein
ma...@vazor.com
http://www.vazor.com/