[issue32669] cgitb file to print OSError exceptions

2022-03-13 Thread Irit Katriel
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

[issue32669] cgitb file to print OSError exceptions

2018-01-25 Thread R. David Murray
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.

[issue32669] cgitb file to print OSError exceptions

2018-01-25 Thread steven Michalske
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,