Adding httpcore.AsyncIOBackend()
.
#712
tomchristie
started this conversation in
General
Replies: 1 comment 1 reply
-
Just wondering, why do we have a trio native implementation rather than just using anyio for both the asyncio and trio cases? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Initially
httpcore
used anasyncio
and atrio
implementation for the two different async cases.We later switched the
asyncio
case out to useanyio
. This was motivated by a few wrinkles inasyncio
at the time, thatanyio
did a good job of resolving. (Are we able to dig out any good history on this? What's the commit when we dropped the asyncio-based implementation and switched to anyio as the default?)Since it's been a while I suspect that some of the bugs we were running into may have been resolved in the stdlib now. Should we add a native
httpcore.AsyncIOBackend()
again now?asyncio
native implementation, for a lighter dependancy footprint.Beta Was this translation helpful? Give feedback.
All reactions