Gregory (Grisha) Trubetskoy
grisha at modpython.org
Mon Apr 23 23:53:36 EST 2001
I propose a new directive: PythonPinkError On seriosly speaking - this looks neat. I wonder if it has anything specific to python 2.1 in it, since mod_python has to be compatible with 1.5.2 I think, at least for a while... On Mon, 23 Apr 2001, Chris Hagner wrote: > Hey gang, > > There's a utility called pydoc that's in the new python 2.1 release... > anyway, the author of it wrote a really snazzy error handling page for cgi > scripts (called cgitb)... check out the output and see if you find it > useful. > > Here's a sample cgitb output page... > http://www.lfw.org/python/test4.html > > Here's where you can get the module for it... > http://www.lfw.org/python/ > > Okay, except for the nasty colors, I'd love to see something closer to this > in the standard mod_python error handler(apache.py). I guess the most > flexible way would be to have a PythonErrorModule directive and allow each > person to override the default error display with their own module (in this > case, the cgitb module). The key is that this functionality would only > really be appropriate for a development environment... > > Thoughts? > > Chris > _______________________________________________ > Mod_python mailing list > Mod_python at modpython.org > http://www.modpython.org/mailman/listinfo/mod_python >
|