Files
cpython/Python
Miss Islington (bot) 4902017430 bpo-34588: Fix an off-by-one error in traceback formatting. (GH-9077)
The recursive frame pruning code always undercounted the number of elided frames
by one. That is, in the "[Previous line repeated N more times]" message, N would
always be one too few. Near the recursive pruning cutoff, one frame could be
silently dropped. That situation is demonstrated in the OP of the bug report.

The fix is to start the identical frame counter at 1.
(cherry picked from commit d545869d08)

Co-authored-by: Benjamin Peterson <benjamin@python.org>
2018-09-10 09:00:08 -07:00
..
2016-09-07 09:26:18 -07:00
2017-11-05 15:37:50 +02:00
2017-09-14 18:13:16 -07:00

Miscellaneous source files for the main Python shared library