[New-bugs-announce] [issue24695] Don't print traceback header if traceback is None

Adam Bartoš report at bugs.python.org
Thu Jul 23 16:42:19 CEST 2015


New submission from Adam Bartoš:

The documentation of traceback.print_exception says "if traceback is not None, it prints a header Traceback (most recent call last):". That also meant that the header wasn't printed if traceback was None. However, the new Python 3.5 TracebackException object always prints the header.

----------
components: Library (Lib)
messages: 247208
nosy: Drekin
priority: normal
severity: normal
status: open
title: Don't print traceback header if traceback is None
type: behavior
versions: Python 3.5

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


More information about the New-bugs-announce mailing list