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

[3.13] gh-119821: Support non-dict globals in LOAD_FROM_DICT_OR_GLOBALS (#119822)#119889

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged

Conversation

@JelleZijlstra
Copy link
Member

@JelleZijlstraJelleZijlstra commentedJun 1, 2024
edited by bedevere-appbot
Loading

Support non-dict globals in LOAD_FROM_DICT_OR_GLOBALS

The implementation basically copies LOAD_GLOBAL. Possibly it could be deduplicated, but that seems like it may get hairy since the two operations have different operands.

This is important to fix in 3.14 for PEP 649, but it's a bug in earlier versions too, and we should backport to 3.13 and 3.12 if possible.

(cherry picked from commit80a4e38)

python#119822)Support non-dict globals in LOAD_FROM_DICT_OR_GLOBALSThe implementation basically copies LOAD_GLOBAL. Possibly it could be deduplicated,but that seems like it may get hairy since the two operations have different operands.This is important to fix in 3.14 for PEP 649, but it's a bug in earlier versions too,and we should backport to 3.13 and 3.12 if possible.(cherry picked from commit80a4e38)
@JelleZijlstraJelleZijlstra self-assigned thisJun 1, 2024
@JelleZijlstraJelleZijlstra changed the titlegh-119821: Support non-dict globals in LOAD_FROM_DICT_OR_GLOBALS (#119822)[3.13] gh-119821: Support non-dict globals in LOAD_FROM_DICT_OR_GLOBALS (#119822)Jun 1, 2024
@JelleZijlstraJelleZijlstra merged commita055984 intopython:3.13Jun 1, 2024
@JelleZijlstraJelleZijlstra deleted the backport-80a4e38-3.13 branchJune 1, 2024 04:56
@JelleZijlstraJelleZijlstra restored the backport-80a4e38-3.13 branchSeptember 10, 2024 23:37
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@markshannonmarkshannonAwaiting requested review from markshannonmarkshannon is a code owner

@gvanrossumgvanrossumAwaiting requested review from gvanrossum

Assignees

@JelleZijlstraJelleZijlstra

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

@JelleZijlstra

[8]ページ先頭

©2009-2025 Movatter.jp