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-117486: Improve behavior for user-defined AST subclasses#118212

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
JelleZijlstra merged 3 commits intopython:mainfromJelleZijlstra:ast2
May 6, 2024

Conversation

JelleZijlstra
Copy link
Member

@JelleZijlstraJelleZijlstra commentedApr 24, 2024
edited by github-actionsbot
Loading

Now, such classes will no longer require changes in Python 3.13 in the normal case.
The test suite for robotframework passes with no DeprecationWarnings under this PR.

I also added a new DeprecationWarning for the case where_field_types exists
but is incomplete, since that seems likely to indicate a user mistake.

Closes#117486


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

Now, such classes will no longer require changes in Python 3.13 in the normal case.The test suite for robotframework passes with no DeprecationWarnings under this PR.I also added a new DeprecationWarning for the case where `_field_types` existsbut is incomplete, since that seems likely to indicate a user mistake.
@bedevere-bot
Copy link

🤖 New build scheduled with the buildbot fleet by@JelleZijlstra for commitff62a21 🤖

If you want to schedule another build, you need to add the🔨 test-with-buildbots label again.

@bedevere-botbedevere-bot removed the 🔨 test-with-buildbotsTest PR w/ buildbots; report in status section labelApr 24, 2024
@JelleZijlstra
Copy link
MemberAuthor

I'm planning to merge this today so we can be in a better place for beta 1.

@JelleZijlstraJelleZijlstra merged commite042219 intopython:mainMay 6, 2024
36 checks passed
@JelleZijlstraJelleZijlstra deleted the ast2 branchMay 6, 2024 22:57
SonicField pushed a commit to SonicField/cpython that referenced this pull requestMay 8, 2024
…thon#118212)Now, such classes will no longer require changes in Python 3.13 in the normal case.The test suite for robotframework passes with no DeprecationWarnings under this PR.I also added a new DeprecationWarning for the case where `_field_types` existsbut is incomplete, since that seems likely to indicate a user mistake.
@JelleZijlstraJelleZijlstra restored the ast2 branchSeptember 10, 2024 23:37
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@encukouencukouAwaiting requested review from encukou

@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.

ast: Improve behavior for user-defined classes
2 participants
@JelleZijlstra@bedevere-bot

[8]ページ先頭

©2009-2025 Movatter.jp