diff options
author | Eric Snow <ericsnowcurrently@gmail.com> | 2023-05-08 22:56:01 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-08 22:56:01 (GMT) |
commit | 4541d1a0dba3ef0c386991cf54c4c3c411a364c0 (patch) | |
tree | c79210120e5a9ea0835a6e63fa5a63f9ff5078ad /Lib/test/support/import_helper.py | |
parent | 5c9ee498c6f4b75e0e020f17b6860309c3b7e11e (diff) | |
download | cpython-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.py | 2 |
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: |