]> granicus.if.org Git - python/commit
Bug #1529871: The speed enhancement patch #921466 broke Python's compliance
authorPhillip J. Eby <pje@telecommunity.com>
Fri, 28 Jul 2006 21:12:07 +0000 (21:12 +0000)
committerPhillip J. Eby <pje@telecommunity.com>
Fri, 28 Jul 2006 21:12:07 +0000 (21:12 +0000)
commitf7575d0cb7a10b252cc1e05a1d24facc2294a195
tree28146830a0734bcbcb4e72ff634113f110e386bc
parent944f3b6ecba741b54fed1190980fba1272568ebe
Bug #1529871: The speed enhancement patch #921466 broke Python's compliance
with PEP 302.  This was fixed by adding an ``imp.NullImporter`` type that is
used in ``sys.path_importer_cache`` to cache non-directory paths and avoid
excessive filesystem operations during imports.
Doc/lib/libimp.tex
Lib/pkgutil.py
Misc/NEWS
Python/import.c