commit | f5ebd264032fbcb07a41a49031c2281f81c9a814 | [log] [tgz] |
---|---|---|
author | Brett Cannon <brett@python.org> | Fri Aug 23 10:58:49 2013 -0400 |
committer | Brett Cannon <brett@python.org> | Fri Aug 23 10:58:49 2013 -0400 |
tree | 3befe71dd78d52f0bdbe0222f9eed08ef7f0bba3 | |
parent | 01e75a699d2fd8e9dbfa428412da2a7d1b0af257 [diff] |
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__.