Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for a Trio ConcurrencyBackend #120

Closed
sethmlarson opened this issue Jul 14, 2019 · 2 comments · Fixed by #276
Closed

Add support for a Trio ConcurrencyBackend #120

sethmlarson opened this issue Jul 14, 2019 · 2 comments · Fixed by #276
Milestone

Comments

@sethmlarson
Copy link
Contributor

No description provided.

@tomchristie
Copy link
Member

Indeed, yes.

I think there’s a conversation to be had about if that ends up in the core package or not.

My strong inclination is that we should support alternate concurrency backends, but that implementations other than asyncio should live in third party packages.

@florimondmanca
Copy link
Member

florimondmanca commented Aug 15, 2019

Regarding whether alternative loops/IO libraries should be in third party packages, I think it makes sense in terms of relying on the community to support their own needs based on the reference implementation here.

One thing I think would be great though, is for httpx to provide a core test suite that alternatives could run their backend against. Don’t know exactly how that would materialize, but it would definitely allow to make sure that backends are compliant with the main API, as well as ease testing on the side of the third party package.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants