Skip to content

gh-133367: Add missing options to ast CLI - #133369

Merged
sobolevn merged 13 commits into
python:mainfrom
donbarbos:issue-133367
May 5, 2025
Merged

gh-133367: Add missing options to ast CLI#133369
sobolevn merged 13 commits into
python:mainfrom
donbarbos:issue-133367

Conversation

@donbarbos

@donbarbosdonbarbos commented May 4, 2025

Copy link
Copy Markdown
Contributor

I wasn't sure about adding whatsnew entry but I added it so we can remote it

*Headings were corrected according to the devguide

cc @sobolevn


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

@skirpichev
skirpichev requested a review from sobolevnMay 4, 2025 10:37

@sobolevnsobolevn left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Please, don't forget to add tests in your other PR

Comment threadDoc/library/ast.rst Outdated
Comment threadLib/ast.py Outdated
Comment threadDoc/library/ast.rst Outdated
Comment threadDoc/library/ast.rst Outdated
@skirpichev

Copy link
Copy Markdown
Member

Please, don't forget to add tests in your other PR

Probably, that one (i.e. #133329) should be merged first.

@StanFromIrelandStanFromIreland left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Some docs notes

Comment threadDoc/library/ast.rst Outdated
Comment threadDoc/library/ast.rst Outdated
Comment threadDoc/library/ast.rst
Comment threadDoc/library/ast.rst
donbarbosand others added 2 commits May 4, 2025 16:46
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
Comment threadDoc/whatsnew/3.14.rst
Comment threadLib/ast.py Outdated

@sobolevnsobolevn left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Now please rebase this PR and add tests :)

Comment threadMisc/NEWS.d/next/Library/2025-05-04-13-40-05.gh-issue-133367.E5nl2u.rst Outdated
donbarbosand others added 2 commits May 5, 2025 02:26
…5nl2u.rst
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
@sobolevn
sobolevn requested a review from hugovkMay 4, 2025 22:47
Comment threadDoc/library/ast.rst Outdated
Comment threadLib/ast.py Outdated
Comment threadLib/ast.py Outdated
Comment threadDoc/library/ast.rst

@sobolevnsobolevn left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM

@sobolevnsobolevn left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

One more suggestion: let's add defaults to the docs.

Comment threadDoc/library/ast.rst Outdated
Comment threadDoc/library/ast.rst Outdated
Comment threadDoc/library/ast.rst Outdated

@sobolevnsobolevn left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thank you! 🎉

Comment threadDoc/library/ast.rst Outdated
@sobolevn
sobolevn enabled auto-merge (squash) May 5, 2025 16:55
@sobolevn
sobolevn merged commit 2b4e2b7 into python:mainMay 5, 2025
Pranjal095 pushed a commit to Pranjal095/cpython that referenced this pull request Jul 12, 2025
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
Co-authored-by: sobolevn <mail@sobolevn.me>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants

@donbarbos@skirpichev@JelleZijlstra@hugovk@sobolevn@tomasr8@picnixz@StanFromIreland