[Python-Dev] cgitb.py for Python 2.2

Ka-Ping Yee ping@lfw.org
Tue, 31 Jul 2001 18:25:32 -0700 (PDT)


On Tue, 31 Jul 2001, Barry A. Warsaw wrote:
> I'm at best +0 on adding it to site.py too.  E.g. for performance
> reasons Mailman's cgi wrappers invoke Python with -S to avoid the
> expensive overhead of importing site.py for each cgi hit.

This is just one environment variable check -- doesn't touch the disk at
all.  Most of site.py's time is spent scanning paths and such, i believe.


-- ?!ng