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-140196: Added constructor behavior changes in ast.rst for python 3.13#140243

Merged
ambv merged 4 commits intopython:mainfrom
MannXo:gh-140196-doc-ast-3.13
Mar 24, 2026
Merged

gh-140196: Added constructor behavior changes in ast.rst for python 3.13#140243
ambv merged 4 commits intopython:mainfrom
MannXo:gh-140196-doc-ast-3.13

Conversation

@MannXo
Copy link
Contributor

@MannXoMannXo commentedOct 17, 2025
edited by github-actionsbot
Loading

Summary


This adds a.. versionchanged:: 3.13 note toast.rst documenting that AST node constructors now provide sensible defaults for omitted fields in Python 3.13: optional fields default toNone, list fields default to an empty list, and fields of type :class:ast.expr_context default to :class:Load() <ast.Load>

Issue


#140196


📚 Documentation preview 📚:https://cpython-previews--140243.org.readthedocs.build/

@bedevere-appbedevere-appbot added docsDocumentation in the Doc dir skip news labelsOct 17, 2025
@python-cla-bot
Copy link

python-cla-botbot commentedOct 17, 2025
edited
Loading

All commit authors signed the Contributor License Agreement.

CLA signed

@ambvambv merged commitfae5761 intopython:mainMar 24, 2026
29 checks passed
@github-project-automationgithub-project-automationbot moved this fromTodo toDone inDocs PRsMar 24, 2026
@miss-islington-app
Copy link

Thanks@MannXo for the PR, and@ambv for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14.
🐍🍒⛏🤖

@miss-islington-app
Copy link

Sorry,@MannXo and@ambv, I could not cleanly backport this to3.13 due to a conflict.
Please backport usingcherry_picker on command line.

cherry_picker fae5761a762a587b48430cbcd6e1886034ae8130 3.13

miss-islington pushed a commit to miss-islington/cpython that referenced this pull requestMar 24, 2026
…thon 3.13 (pythonGH-140243)(cherry picked from commitfae5761)Co-authored-by: Parman Mohammadalizadeh <prmma23@gmail.com>Co-authored-by: Łukasz Langa <lukasz@langa.pl>
@bedevere-app
Copy link

GH-146351 is a backport of this pull request to the3.14 branch.

@bedevere-appbedevere-appbot removed the needs backport to 3.14bugs and security fixes labelMar 24, 2026
ambv added a commit that referenced this pull requestMar 24, 2026
…ython 3.13 (GH-140243) (GH-146351)(cherry picked from commitfae5761)Co-authored-by: Parman Mohammadalizadeh <prmma23@gmail.com>Co-authored-by: Łukasz Langa <lukasz@langa.pl>
ambv added a commit to ambv/cpython that referenced this pull requestMar 24, 2026
… for python 3.13 (pythonGH-140243)(cherry picked from commitfae5761)Co-authored-by: Parman Mohammadalizadeh <prmma23@gmail.com>Co-authored-by: Łukasz Langa <lukasz@langa.pl>
@bedevere-app
Copy link

GH-146354 is a backport of this pull request to the3.13 branch.

@bedevere-appbedevere-appbot removed the needs backport to 3.13bugs and security fixes labelMar 24, 2026
ambv added a commit that referenced this pull requestMar 24, 2026
…hon 3.13 (GH-140243) (GH-146354)(cherry picked from commitfae5761)Co-authored-by: Parman Mohammadalizadeh <prmma23@gmail.com>
CuriousLearner added a commit to CuriousLearner/cpython that referenced this pull requestMar 24, 2026
…8577* 'main' of github.com:python/cpython:  Remove inactive CODEOWNERS (python#145930)pythongh-140196: Added constructor behavior changes in ast.rst for python 3.13 (pythonGH-140243)
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@ambvambvambv left review comments

Assignees

@ambvambv

Labels

docsDocumentation in the Doc dirskip news

Projects

Status: Done

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@MannXo@ambv@nazeerali4325-commits

[8]ページ先頭

©2009-2026 Movatter.jp