Irit Katriel added the comment:
cgi/cgitb are deprecated as per PEP 594, so there won't be further enhancements
to them.
--
nosy: +iritkatriel
resolution: -> wont fix
stage: -> resolved
status: open -> closed
___
Python tracker
R. David Murray added the comment:
Yep, this one might get closed as "as designed", too ;) cgitb has to cope with
something going wrong with trying to print out values, because there are a
number of ways to break that in Python, not just the one you are pointing to.
New submission from steven Michalske :
With the source
```
import cgitb
import sys
try:
f = open('non_exitant_file_path.foo')
except Exception as e:
cgitb.text(sys.exc_info())
```
we get the output
```
Traceback (most recent call last):
File "foo.py", line 22,