[docs] [issue29660] Document that print/format_exception ignore etype
Matthias Bussonnier
report at bugs.python.org
Sun Feb 26 20:21:39 EST 2017
New submission from Matthias Bussonnier:
As far as I can tell, http://bugs.python.org/issue17911 made a couple of function in traceback ignore their first arguments (etype) and infer the type from the second one (evalue).
(In git 6bc2c1e7 and 2f0441f0 respectively).
At least print_exception and format_exception are affected.
This likely affect http://bugs.python.org/issue26389 (who wish to expand same API to remove these parameters).
And inconsistency with `format_exception_only` which does need `etype` should be checked.
If etype is a deprecated parameter it should be noted, and should likely raise a DeprecationWarning as well when set.
----------
assignee: docs at python
components: Documentation
messages: 288617
nosy: docs at python, mbussonn
priority: normal
severity: normal
status: open
title: Document that print/format_exception ignore etype
versions: Python 3.5, Python 3.6, Python 3.7
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue29660>
_______________________________________
More information about the docs
mailing list