commit | f7575d0cb7a10b252cc1e05a1d24facc2294a195 | [log] [tgz] |
---|---|---|
author | Phillip J. Eby <pje@telecommunity.com> | Fri Jul 28 21:12:07 2006 +0000 |
committer | Phillip J. Eby <pje@telecommunity.com> | Fri Jul 28 21:12:07 2006 +0000 |
tree | 28146830a0734bcbcb4e72ff634113f110e386bc | |
parent | 944f3b6ecba741b54fed1190980fba1272568ebe [diff] |
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.