[Python-Dev] 2.3 startup speed?

Jeremy Hylton jeremy@zope.com
11 Jul 2003 10:04:41 -0400


On Fri, 2003-07-11 at 09:50, Jeremy Hylton wrote:
> + import warnings
> + import linecache
> + import encodings
> + import encodings
> + import codecs
> + import _codecs
> + import encodings.aliases
> + import encodings.iso8859_15

Oops.  I jumped the gun here.  warnings doesn't use encodings or
codecs.  Something else imports that.

Another obnoxious thing is that site.py imports distutils just for the
benefit of people running from a build directory.  It would be nice to
find a solution for the build directory that didn't not require a bunch
of distutils package imports.

Jeremy