diff options
| author | Brett Cannon <brett@python.org> | 2013-08-23 14:58:49 (GMT) |
|---|---|---|
| committer | Brett Cannon <brett@python.org> | 2013-08-23 14:58:49 (GMT) |
| commit | f5ebd264032fbcb07a41a49031c2281f81c9a814 (patch) | |
| tree | 3befe71dd78d52f0bdbe0222f9eed08ef7f0bba3 /Tools/scripts/pathfix.py | |
| parent | 01e75a699d2fd8e9dbfa428412da2a7d1b0af257 (diff) | |
| download | cpython-f5ebd264032fbcb07a41a49031c2281f81c9a814.zip cpython-f5ebd264032fbcb07a41a49031c2281f81c9a814.tar.gz cpython-f5ebd264032fbcb07a41a49031c2281f81c9a814.tar.bz2 | |
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 'Tools/scripts/pathfix.py')
0 files changed, 0 insertions, 0 deletions
