En Sun, 25 May 2008 06:15:45 -0300, Duncan Booth <[EMAIL PROTECTED]> escribió: > "Gabriel Genellina" <[EMAIL PROTECTED]> wrote: >> En Thu, 22 May 2008 07:55:44 -0300, Duncan Booth >> <[EMAIL PROTECTED]> escribió: >>> >>> It might be worth considering an alternative approach here: a >>> formatted exception includes the relevant source lines (where >>> possible). >> >> Just to note that the standard cgitb module already does that, among >> other things. >> > Anywhere Python prints a traceback already does that. The 'alternative > approach' I was suggesting was the part you snipped, i.e. extracting the > enclosing class name from the source.
Ah, sorry for the misunderstanding! -- Gabriel Genellina -- http://mail.python.org/mailman/listinfo/python-list