diff options
author | Martin Panter <vadmium+py@gmail.com> | 2016-09-22 09:37:39 +0000 |
---|---|---|
committer | Martin Panter <vadmium+py@gmail.com> | 2016-09-22 09:37:39 +0000 |
commit | bb8b1cb6af830b40f9be398d1e1bf8bdca772140 (patch) | |
tree | 87ca84797bced28ac715e49aacb6d4c07bbe264a /Misc | |
parent | 92bb90a9ff87fefd57a6e3274b21cc1b9ca16f53 (diff) | |
download | cpython-git-bb8b1cb6af830b40f9be398d1e1bf8bdca772140.tar.gz |
Issue #27348: Restore “Exception: None” formatting in traceback module
This fixes a regression caused by revision 73afda5a4e4c. Also reverts the
decimal test workaround added in revision 5f3dd0a2b1ab.
Remove test_without_exception(). According to revision ecaafc32c500, this was
added in Python 2 so that print_exc() would output “None” when called with no
exception set. However print_exc() never worked like this in Python 3, and
the use case is not documented.
Restore TracebackCases class name (instead of SyntaxTracebackCases), because
the class also tests other exceptions.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -77,6 +77,10 @@ Core and Builtins Library ------- +- Issue #27348: In the traceback module, restore the formatting of exception + messages like "Exception: None". This fixes a regression introduced in + 3.5a2. + - Issue #25651: Allow falsy values to be used for msg parameter of subTest(). - Issue #27932: Prevent memory leak in win32_ver(). |