summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorBrett Cannon <brett@python.org>2013-08-23 14:58:49 (GMT)
committerBrett Cannon <brett@python.org>2013-08-23 14:58:49 (GMT)
commitf5ebd264032fbcb07a41a49031c2281f81c9a814 (patch)
tree3befe71dd78d52f0bdbe0222f9eed08ef7f0bba3 /Lib
parent01e75a699d2fd8e9dbfa428412da2a7d1b0af257 (diff)
downloadcpython-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 'Lib')
0 files changed, 0 insertions, 0 deletions