mirror of
https://github.com/python/cpython.git
synced 2025-12-08 06:10:17 +00:00
* Work correctly if an additional fresh module imports other
additional fresh module which imports a blocked module.
* Raises ImportError if the specified module cannot be imported
while all additional fresh modules are successfully imported.
* Support blocking packages.
* Always restore the import state of fresh and blocked modules
and their submodules.
* Fix test_decimal and test_xml_etree which depended on an undesired
side effect of import_fresh_module().
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| __init__.py | ||
| bytecode_helper.py | ||
| hashlib_helper.py | ||
| import_helper.py | ||
| interpreters.py | ||
| logging_helper.py | ||
| os_helper.py | ||
| script_helper.py | ||
| socket_helper.py | ||
| testresult.py | ||
| threading_helper.py | ||
| warnings_helper.py | ||