Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Sep 6, 2024

Conversation

miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Aug 20, 2024

(cherry picked from commit bffed80)

Co-authored-by: Irit Katriel [email protected]

@iritkatriel iritkatriel enabled auto-merge (squash) August 20, 2024 10:54
@hugovk
Copy link
Member

hugovk commented Sep 6, 2024

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_threading
    if inst.opcode in dis.hasjump:
                      ^^^^^^^^^^^
AttributeError: module 'dis' has no attribute 'hasjump'

@iritkatriel iritkatriel merged commit 919a3e8 into python:3.12 Sep 6, 2024
28 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tests Tests in the Lib/test dir
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants