-
-
Notifications
You must be signed in to change notification settings - Fork 31.7k
[subinterpreters] Make the type attribute lookup cache per-interpreter #86911
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
Comments
Currently, the type lookup cache is shared by all interpreter which causes multiple issues:
I propose to make the type lookup cache per interpreter. |
4101018 introduced some reference leaks: https://buildbot.python.org/all/#/builders/384/builds/136 4101018 is the first bad commit
Include/internal/pycore_interp.h | 22 +++ I assume PR 23953 fixes those? If that is so, could we land it before more buildbots start to fail? |
Yes, it fix the 7 tests which leak: ./python -m test -R 3:3 -j0 test__xxsubinterpreters test_ast test_atexit test_capi test_interpreters test_threading |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: