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

Look into creating a shared subprocess implementation between backends #783

Open
1 task done
agronholm opened this issue Sep 5, 2024 · 0 comments
Open
1 task done
Labels
enhancement New feature or request

Comments

@agronholm
Copy link
Owner

Things to check first

  • I have searched the existing issues and didn't find my feature already requested there

Feature description

We should take a stab at creating a more low-level subprocess implementation that only relies on a minimum set of functionality from each backend, just like the threading API.

Use case

Currently the asyncio subprocess API is a bit iffy from AnyIO's perspective. There are a lot of moving parts which we don't control, and cases where we use undocumented methods (StreamReader.set_exception() as an example). A new implementation, if possible, might make it easier to further develop the AnyIO subprocess APIs.

@agronholm agronholm added the enhancement New feature or request label Sep 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant