3 ms·
Odd that cgitb.text is not mentioned anywhere as the core feature (format tracebacks including local variables referenced from the expression the exception come
by masklinn 6y ago
Odd that cgitb.text is not mentioned anywhere as the core feature (format tracebacks including local variables referenced from the expression the exception comes from) is what it does.
- pininja 6y agoOpening an issue to ask for a FAQ comparison might help people evaluate the differences. For those like me who didn’t know about this: https://docs.python.org/3/library/cgitb.html https://docs.python.org/3/library/cgitb.html While the function seems similar, the interfaces seem very different. cgitb seems to need to be wrapped and configured to match the fully headless/logger use case. I think they could focus on that in the FAQ.