Michael Hudson <mwh at python.net> wrote in message news:<m3fzdsbbeo.fsf at pc150.maths.bris.ac.uk>... > I believe there's a patch on SF (to cgitb) that does this. > > Cheers, > mwh I'm pretty sure this was integrated into 2.3; cgitb has a text function, at least. Jeremy