Skip to content

[3.12] gh-123048: Fix missing source location in pattern matching code (GH-123167) - #123170

Merged
iritkatriel merged 2 commits into
python:3.12from
miss-islington:backport-bffed80-3.12
Sep 6, 2024
Merged

[3.12] gh-123048: Fix missing source location in pattern matching code (GH-123167)#123170
iritkatriel merged 2 commits into
python:3.12from
miss-islington:backport-bffed80-3.12

Conversation

@miss-islington

@miss-islingtonmiss-islington commented Aug 20, 2024

Copy link
Copy Markdown
Contributor

…pythonGH-123167)
(cherry picked from commit bffed80)
Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
@hugovk

hugovk commented Sep 6, 2024

Copy link
Copy Markdown
Member

This hasn't automerged because a test failed:

======================================================================
ERROR: test_jump_threading (test.test_patma.TestSourceLocations.test_jump_threading)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/runner/work/cpython/cpython-ro-srcdir/Lib/test/test_patma.py", line 3103, in test_jump_threadingif inst.opcode in dis.hasjump:
^^^^^^^^^^^AttributeError: module 'dis' has no attribute 'hasjump'

@iritkatriel
iritkatriel merged commit 919a3e8 into python:3.12Sep 6, 2024
@miss-islington
miss-islington deleted the backport-bffed80-3.12 branch January 2, 2026 18:40
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

testsTests in the Lib/test dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@miss-islington@hugovk@iritkatriel