Skip to content

GH-113689: Fix broken handling of invalid executors - #113694

Merged
markshannon merged 1 commit into
python:mainfrom
brandtbucher:fix-invalid-executors
Jan 4, 2024
Merged

markshannon merged 1 commit into
python:mainfrom
brandtbucher:fix-invalid-executors

Conversation

@brandtbucher

@brandtbucher brandtbucher commented Jan 4, 2024 •

Copy link
Copy Markdown
Member

This fixes two issues introduced in GH-113596:

  • The wrong oparg was used to calculate the index of the current executor.
  • next_instr wasn't reset before re-dispatching.

Skipping news since this was broken for less than a day.

@brandtbucher brandtbucher added skip news interpreter-core (Objects, Python, Grammar, and Parser dirs) type-crash A hard crash of the interpreter, possibly with a core dump labels Jan 4, 2024
@brandtbucher brandtbucher self-assigned this Jan 4, 2024

@markshannon markshannon left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks.

@markshannon
markshannon merged commit 35ef8cb into python:main Jan 4, 2024
kulikjak pushed a commit to kulikjak/cpython that referenced this pull request Jan 22, 2024
aisk pushed a commit to aisk/cpython that referenced this pull request Feb 11, 2024
Glyphack pushed a commit to Glyphack/cpython that referenced this pull request Sep 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

interpreter-core (Objects, Python, Grammar, and Parser dirs) skip news type-crash A hard crash of the interpreter, possibly with a core dump

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants