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

Identify any problems with using the stdlib in subinterpreters. #65

Open
ericsnowcurrently opened this issue Apr 29, 2020 · 1 comment

Comments

@ericsnowcurrently
Copy link
Owner

This could be done with the following:

  1. run the full CPython test suite (regrtest) inside a subinterpreter
  2. create an issue for each failure

There are also possible issues that could arise when using a stdlib module in two different subinterpreters, which the test suite doesn't surface. It would be nice to have a strategy for covering that case.

It might also be reasonable (in the long term) to add a test for each stdlib modules that checks subinterpreter support.

@tritium21
Copy link

would it be a good idea to run each test twice, in their own subinterpreters simultaneously (or at least as simultaneously as the current implementation of subinterpreters allows)?

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

No branches or pull requests

2 participants