diff options
author | Brett Cannon <brett@python.org> | 2013-08-23 10:58:49 -0400 |
---|---|---|
committer | Brett Cannon <brett@python.org> | 2013-08-23 10:58:49 -0400 |
commit | 089378aba7bb7b77ef848cbb378bb32fa07102ec (patch) | |
tree | a21570e03dfcb28bc1cad1ffbfdea71ba4c52491 /Python/Python-ast.c | |
parent | 608ad62e18b263165abf88776a9c3257b89ac9e7 (diff) | |
download | cpython-089378aba7bb7b77ef848cbb378bb32fa07102ec.tar.gz |
Emphasize that people should not override __import__.
With importlib getting used more and more, changing __import__ will
not work as well as people used to hope as it will potentially bypass
importers, etc. It also will not work with importlib.import_module()
as it uses "importlib.__import__" (i.e. importlib's implementation of
import) directly and not builtins.__import__.
Diffstat (limited to 'Python/Python-ast.c')
0 files changed, 0 insertions, 0 deletions