[Python-Dev] Re: cgitb.py for Python 2.2

Ka-Ping Yee ping@lfw.org
Sat, 4 Aug 2001 11:37:52 -0700 (PDT)


On Tue, 31 Jul 2001, Guido van Rossum wrote:
> You misunderstand.  You proposed a few lines that would automatically
> do this in site.py, which is always imported.  I propose to add those
> same lines to cgi.py, so that any code that imports cgi.py
> *automatically* has he feature enabled.  I assume that all CGI scripts
> have an import of cgi.

Sorry that i misunderstood.  This sounds reasonable to me (though it
seems your opinions may have changed since you wrote this).

> I don't want Python to become a wannabe CGI language [...] Python
> is a decent language for CGI, but Perl is the established standard
> and then there's PHP which also has way more users than Python.

This attitude surprised me a little and sounded somewhat sad.  "Perl
is the established standard"?  Aw.  I say if people want a better tool,
they should use it.  The fact that Perl has more users than Python
doesn't make us give up on Python for system administration or text
processing or database access, even though Perl can do all these
things.  The fact is Python's quite good. :)

> I don't want to make choices that benefit CGI programmers to the
> detriment of others (CGI is actually a pretty lame way of producing
> active web content).

I guess i have a hard time seeing the "detriment" part.  What great
detriment to others is being caused here, by a feature that only
affects CGI to begin with?


-- ?!ng