Staging
v0.5.1
v0.5.1
https://github.com/python/cpython
Revision afb25bc2b5767ac3a83bc8c4d2826e8fdcb6b0e7 authored by Miss Islington (bot) on 10 September 2018, 16:10:21 UTC, committed by GitHub on 10 September 2018, 16:10:21 UTC
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 d545869d084e70d4838310e79b52a25a72a1ca56) Co-authored-by: Benjamin Peterson <benjamin@python.org>
1 parent 9f5351e
Tip revision: afb25bc2b5767ac3a83bc8c4d2826e8fdcb6b0e7 authored by Miss Islington (bot) on 10 September 2018, 16:10:21 UTC
bpo-34588: Fix an off-by-one error in traceback formatting. (GH-9077)
bpo-34588: Fix an off-by-one error in traceback formatting. (GH-9077)
Tip revision: afb25bc
File | Mode | Size |
---|---|---|
.github | ||
.vsts | ||
Doc | ||
Grammar | ||
Include | ||
Lib | ||
Mac | ||
Misc | ||
Modules | ||
Objects | ||
PC | ||
PCbuild | ||
Parser | ||
Programs | ||
Python | ||
Tools | ||
.bzrignore | -rw-r--r-- | 582 bytes |
.gitattributes | -rw-r--r-- | 1.6 KB |
.gitignore | -rw-r--r-- | 1.4 KB |
.hgignore | -rw-r--r-- | 1.3 KB |
.travis.yml | -rw-r--r-- | 5.2 KB |
LICENSE | -rw-r--r-- | 12.5 KB |
Makefile.pre.in | -rw-r--r-- | 59.9 KB |
README.rst | -rw-r--r-- | 10.3 KB |
aclocal.m4 | -rw-r--r-- | 10.7 KB |
config.guess | -rwxr-xr-x | 43.2 KB |
config.sub | -rwxr-xr-x | 35.7 KB |
configure | -rwxr-xr-x | 480.7 KB |
configure.ac | -rw-r--r-- | 160.6 KB |
install-sh | -rwxr-xr-x | 7.0 KB |
pyconfig.h.in | -rw-r--r-- | 41.1 KB |
setup.py | -rw-r--r-- | 102.1 KB |
Computing file changes ...