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

David Ascher DavidA@ActiveState.com
Fri, 03 Aug 2001 11:27:27 -0700

Guido van Rossum wrote:
> > I'm willing to entertain a new command line option for
> > it though, so that CGI scripts can use
> >
> >    #!/usr/bin/env python -C
> >
> > as their first line.
> But it's fine to require making a call to cgi.whatever() too, and
> that's certainly a lot less work!

Furthermore, I believe that it's not always easy to get web servers to
respect command line options set in shebang lines, so my guess is that
doing cgi.whatever() is going to work for more people (e.g. people who
have CGI access but not webserver config access).