8000 gh-100227: Isolate the Import State to Each Interpreter by ericsnowcurrently · Pull Request #101941 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-100227: Isolate the Import State to Each Interpreter #101941

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

Merged
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Merge branch 'main' into isolate-import-state
  • Loading branch information
ericsnowcurrently committed Feb 15, 2023
commit 0dbb320b0dc2d6c1927b7ccbecd112fe1eec42ce
2 changes: 1 addition & 1 deletion Python/import.c
Original file line number D 5D97 iff line number Diff line change
Expand Up @@ -2710,7 +2710,7 @@ void
_PyImport_Fini(void)
{
/* Destroy the database used by _PyImport_{Fixup,Find}Extension */
_extensions_cache_clear();
_extensions_cache_clear_all();

/* Use the same memory allocator as _PyImport_Init(). */
PyMemAllocatorEx old_alloc;
Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.
0