gh-123048: Fix missing source location in pattern matching code (#123… · python/cpython@bffed80 · GitHub
Skip to content

Commit bffed80

Browse files
authored
gh-123048: Fix missing source location in pattern matching code (#123167)
1 parent 77133f5 commit bffed80

3 files changed

Lines changed: 22 additions & 1 deletion

File tree

Lib/test/test_patma.py

Lines changed: 19 additions & 0 deletions
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Fix a bug where pattern matching code could emit a :opcode:`JUMP_FORWARD`
2+
with no source location.

Python/compile.c

Lines changed: 1 addition & 1 deletion

0 commit comments

Comments
 (0)