[Python-checkins] r50916 - in python/trunk: Doc/lib/libimp.tex Lib/pkgutil.py Misc/NEWS Python/import.c

Georg Brandl g.brandl at gmx.net
Sat Jul 29 09:39:50 CEST 2006


phillip.eby wrote:
> Author: phillip.eby
> Date: Fri Jul 28 23:12:07 2006
> New Revision: 50916
> 
> Modified:
>    python/trunk/Doc/lib/libimp.tex
>    python/trunk/Lib/pkgutil.py
>    python/trunk/Misc/NEWS
>    python/trunk/Python/import.c
> Log:
> 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.

Thanks for the work, Phillip!

Georg



More information about the Python-checkins mailing list