En Mon, 02 Feb 2009 14:10:19 -0200, Ron Garret
escribió:
In article ,
"Gabriel Genellina" wrote:
[...] you hit a known bug in cgitb - see
http://bugs.python.org/issue4643 for a solution.
Aha! Thank you! That explains everything, except this: why does the
problem go away when I run unde
In article ,
"Gabriel Genellina" wrote:
> En Mon, 02 Feb 2009 06:59:16 -0200, Ron Garret
> escribió:
>
> > I'm running the following WSGI app under Yaro:
> >
> > def error(req):
> > try:
> > req.non_existent_key
> > except:
> > try:
> > return cgitb.html(sys.exc_info())
> >
En Mon, 02 Feb 2009 06:59:16 -0200, Ron Garret
escribió:
I'm running the following WSGI app under Yaro:
def error(req):
try:
req.non_existent_key
except:
try:
return cgitb.html(sys.exc_info())
except:
return 'foo'
The result of running this is 'foo'. In other wo
I'm running the following WSGI app under Yaro:
def error(req):
try:
req.non_existent_key
except:
try:
return cgitb.html(sys.exc_info())
except:
return 'foo'
The result of running this is 'foo'. In other words, the reference to
the non-existent key generates an except