summaryrefslogtreecommitdiffstats
path: root/Lib/test/support/import_helper.py
diff options
context:
space:
mode:
authorEric Snow <ericsnowcurrently@gmail.com>2023-05-08 22:56:01 (GMT)
committerGitHub <noreply@github.com>2023-05-08 22:56:01 (GMT)
commit4541d1a0dba3ef0c386991cf54c4c3c411a364c0 (patch)
treec79210120e5a9ea0835a6e63fa5a63f9ff5078ad /Lib/test/support/import_helper.py
parent5c9ee498c6f4b75e0e020f17b6860309c3b7e11e (diff)
downloadcpython-4541d1a0dba3ef0c386991cf54c4c3c411a364c0.zip
cpython-4541d1a0dba3ef0c386991cf54c4c3c411a364c0.tar.gz
cpython-4541d1a0dba3ef0c386991cf54c4c3c411a364c0.tar.bz2
gh-104310: Add importlib.util.allowing_all_extensions() (gh-104311)
(I'll be adding docs for this separately.)
Diffstat (limited to 'Lib/test/support/import_helper.py')
-rw-r--r--Lib/test/support/import_helper.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/test/support/import_helper.py b/Lib/test/support/import_helper.py
index 772c098..67f18e5 100644
--- a/Lib/test/support/import_helper.py
+++ b/Lib/test/support/import_helper.py
@@ -115,6 +115,8 @@ def multi_interp_extensions_check(enabled=True):
It overrides the PyInterpreterConfig.check_multi_interp_extensions
setting (see support.run_in_subinterp_with_config() and
_xxsubinterpreters.create()).
+
+ Also see importlib.utils.allowing_all_extensions().
"""
old = _imp._override_multi_interp_extensions_check(1 if enabled else -1)
try: