[docs] [issue29920] Document cgitb.text and cgitb.html

Xavier Morel report at bugs.python.org
Mon Mar 27 09:16:49 EDT 2017


New submission from Xavier Morel:

Currently, cgitb documents the hook (enable) and somewhat unclearly the ability to dump the HTML traceback to stdout, but despite that being technically available it does not document the ability to dump the traceback to a string as either text or html.

Possible further improvement: make ``cgitb.html`` and ``cgitb.text`` implicitly call `sys.exc_info()` if not given a parameter (much like `cgitb.handler` does).

----------
assignee: docs at python
components: Documentation
messages: 290608
nosy: docs at python, xmorel
priority: normal
pull_requests: 747
severity: normal
status: open
title: Document cgitb.text and cgitb.html
type: enhancement
versions: Python 2.7, Python 3.6, Python 3.7

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue29920>
_______________________________________


More information about the docs mailing list