8000 gh-104108: Add the Py_mod_multiple_interpreters Module Def Slot by ericsnowcurrently · Pull Request #104148 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-104108: Add the Py_mod_multiple_interpreters Module Def Slot #104148

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
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
Next Next commit
Fix test_import.
  • Loading branch information
ericsnowcurrently committed May 5, 2023
commit 1148aba65f371f0910dd09303602cb800b449e89
6 changes: 3 additions & 3 deletions Lib/test/test_import/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1656,9 +1656,9 @@ def import_script(self, name, fd, filename=None, check_override=None):
override_text = ''
if check_override is not None:
override_text = f'''
import _imp
_imp._override_multi_interp_extensions_check({check_override})
'''
import _imp
_imp._override_multi_interp_extensions_check({check_override})
'''
if filename:
return textwrap.dedent(f'''
from importlib.util import spec_from_loader, module_from_spec
Expand Down
0