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.12] gh-126105: Fix crash inast module, when._fields is delet…#126132

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
Eclips4 merged 1 commit intopython:3.12fromEclips4:backport-b2eaa75-3.12
Oct 29, 2024

Conversation

@Eclips4
Copy link
Member

@Eclips4Eclips4 commentedOct 29, 2024
edited by bedevere-appbot
Loading

…ed (GH-126115)

Previously, if theast.AST._fields attribute was deleted, attempts to create a newast node would crash due to the assumption that_fields always had a non-NULL value. Now it has been fixed by adding an extra check to ensure that_fields does not have a NULL value (this can happen when you manually remove_fields attribute). (cherry picked from commitb2eaa75)

… deleted (pythonGH-126115)Previously, if the `ast.AST._fields` attribute was deleted, attempts to create a new `as`t node would crash due to the assumption that `_fields` always had a non-NULL value. Now it has been fixed by adding an extra check to ensure that `_fields` does not have a NULL value (this can happen when you manually remove `_fields` attribute).(cherry picked from commitb2eaa75)Co-authored-by: sobolevn <mail@sobolevn.me>
@Eclips4Eclips4 merged commit515a5d3 intopython:3.12Oct 29, 2024
32 checks passed
@Eclips4Eclips4 deleted the backport-b2eaa75-3.12 branchOctober 29, 2024 18:20
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@sobolevnsobolevnsobolevn approved these changes

@JelleZijlstraJelleZijlstraAwaiting requested review from JelleZijlstra

@isidenticalisidenticalAwaiting requested review from isidenticalisidentical is a code owner

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@Eclips4@sobolevn

[8]ページ先頭

©2009-2025 Movatter.jp