-
-
Notifications
You must be signed in to change notification settings - Fork 22
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
Metadata
Metadata
Assignees
Labels
No labels