summaryrefslogtreecommitdiffstats
path: root/Python/ceval.c
diff options
context:
space:
mode:
authorMark Shannon <mark@hotpy.org>2022-07-18 15:06:42 (GMT)
committerGitHub <noreply@github.com>2022-07-18 15:06:42 (GMT)
commit2f8bff6879c5d76d143068e8bc867196a7d28afc (patch)
treed6d031a15146ed75eb67e735979a80a9715f635a /Python/ceval.c
parent631160c262b40bf4ce3da6cd7bbb972ae2e9fc91 (diff)
downloadcpython-2f8bff6879c5d76d143068e8bc867196a7d28afc.zip
cpython-2f8bff6879c5d76d143068e8bc867196a7d28afc.tar.gz
cpython-2f8bff6879c5d76d143068e8bc867196a7d28afc.tar.bz2
GH-94739: Mark stacks of exception handling blocks for setting frame.f_lineno in the debugger. (GH-94958)
Diffstat (limited to 'Python/ceval.c')
-rw-r--r--Python/ceval.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/Python/ceval.c b/Python/ceval.c
index 2a0ce63..88d13c8 100644
--- a/Python/ceval.c
+++ b/Python/ceval.c
@@ -6089,20 +6089,6 @@ fail:
}
-/* Exception table parsing code.
- * See Objects/exception_table_notes.txt for details.
- */
-
-static inline unsigned char *
-parse_varint(unsigned char *p, int *result) {
- int val = p[0] & 63;
- while (p[0] & 64) {
- p++;
- val = (val << 6) | (p[0] & 63);
- }
- *result = val;
- return p+1;
-}
static inline unsigned char *
scan_back_to_entry_start(unsigned char *p) {