bpo-40275: Add import_helper submodule in test.support by shihai1991 · Pull Request #20794 · python/cpython
Conversation
remove the following functions, classes in import_helper:
- import_module(), _ignore_deprecated_imports()
- import_fresh_module(), _save_and_remove_module(), _save_and_block_module()
- unload()
- make_legacy_pyc()
- forget()
- CleanImport
- DirsOnSysPath
- modules_setup(), modules_cleanup()
@vstinner hI, victor. Should we leave DirsOnSysPath in support/init.py?
DirOnSysPath have no direct relation with import_module, right?
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. But I'm waiting for your feedback on DirsOnSysPath.
LGTM. But I'm waiting for your feedback on DirsOnSysPath.
Ok, from the docs: A list of strings that specifies the search path for modules. so it make sense.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters