summaryrefslogtreecommitdiff
path: root/Python
diff options
context:
space:
mode:
authorMark Shannon <mark@hotpy.org>2022-07-18 16:06:42 +0100
committerGitHub <noreply@github.com>2022-07-18 16:06:42 +0100
commit2f8bff6879c5d76d143068e8bc867196a7d28afc (patch)
treed6d031a15146ed75eb67e735979a80a9715f635a /Python
parent631160c262b40bf4ce3da6cd7bbb972ae2e9fc91 (diff)
downloadcpython-git-2f8bff6879c5d76d143068e8bc867196a7d28afc.tar.gz
GH-94739: Mark stacks of exception handling blocks for setting frame.f_lineno in the debugger. (GH-94958)
Diffstat (limited to 'Python')
-rw-r--r--Python/ceval.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/Python/ceval.c b/Python/ceval.c
index 2a0ce63d43..88d13c83bc 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) {