Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

gh-143820: Fix assertion failure that occurred when insertingENTER_EXECUTOR afterBINARY_OP_INPLACE_ADD_UNICODE#146324

Open
cocolato wants to merge 2 commits intopython:mainfrom
cocolato:gh-143820
Open

gh-143820: Fix assertion failure that occurred when insertingENTER_EXECUTOR afterBINARY_OP_INPLACE_ADD_UNICODE#146324
cocolato wants to merge 2 commits intopython:mainfrom
cocolato:gh-143820

Conversation

@cocolato
Copy link
Contributor

@cocolatococolato commentedMar 23, 2026
edited by bedevere-appbot
Loading

This PR calculate the targetSTORE_FAST local variable index during the Specialization phase and store it in the instruction's own inline cache.

So that:

  1. The instruction becomes entirely self-contained at runtime. It no longer cares if the JIT subsequently overwrites the next instruction withENTER_EXECUTOR.
  2. It correctly handles cases where theSTORE_FAST has an index > 255 (which usesEXTENDED_ARG prefixes).

Copy link
Member

@Fidget-SpinnerFidget-Spinner left a comment

Choose a reason for hiding this comment

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

Wow, this is incredibly smart! I like this solution! Thanks!

cocolato reacted with heart emoji
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@Fidget-SpinnerFidget-SpinnerFidget-Spinner approved these changes

@markshannonmarkshannonAwaiting requested review from markshannonmarkshannon is a code owner

@tomasr8tomasr8Awaiting requested review from tomasr8tomasr8 is a code owner

@savannahostrowskisavannahostrowskiAwaiting requested review from savannahostrowskisavannahostrowski is a code owner

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@cocolato@Fidget-Spinner

[8]ページ先頭

©2009-2026 Movatter.jp