[Distutils] formencode as .egg in Debian ??

"Martin v. Löwis" martin at v.loewis.de
Tue Nov 22 23:45:50 CET 2005


Phillip J. Eby wrote:
> This is simply not true.  If you don't believe PEP 302 and site.py, 
> measure it for yourself.  The *only* addition to startup is the time to 
> actually read the .pth file and append the entries to the list.

I did. strace shows that all zip files are loaded.

> And how often do programs attempt to import non-existing modules along 
> performance critical paths?

Every time. Atleast sitecustomize is imported in most programs (except
those skipping site.py), and is not present in most installations.
The standard library catches ImportError about 250 times, although
fewer expect the failure in a typical installation.

Regards,
Martin


More information about the Distutils-SIG mailing list