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

Simon Cozens simon@netthink.co.uk
Fri, 3 Aug 2001 17:56:02 -0700

On Fri, Aug 03, 2001 at 08:33:40AM -0400, Guido van Rossum wrote:
> But Ping's tracebackhook still shouldn't be the default.

Yep, understood.

> 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.

How about making it the default iff certain CGI-oid enviroment
variables are set? Or would that be way too magical?