-
-
Notifications
You must be signed in to change notification settings - Fork 27
Add support for synchronous event loops #14
Copy link
Copy link
Open
Description
The same principle that exists in the asynchronous world, exists in the synchronous world as well.
I've been bitten enough by gevent's monkey patching, that I think that if library writers had an option to detect a code is running via a greenlet or normal (threaded?), it could create code that automatically knows which primitives to use.
@jamadden This could make libraries like this (which is the basis of httpx) auto detect and use gevent as well (without monkey patching) ?
https://github.com/encode/httpcore/tree/master/httpcore/_backends
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels