Skip to content

gh-54732: Make argparse error caused by empty rows in option files explicit #136795

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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Jul 19, 2025

Conversation

jdunter
Copy link
Contributor

@jdunter jdunter commented Jul 19, 2025

Adds a Note to the documentation, that addresses the error caused by an empty row in an argparse option file.


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

@python-cla-bot
Copy link

python-cla-bot bot commented Jul 19, 2025

All commit authors signed the Contributor License Agreement.

CLA signed

@bedevere-app bedevere-app bot added awaiting review docs Documentation in the Doc dir skip news labels Jul 19, 2025
@github-project-automation github-project-automation bot moved this to Todo in Docs PRs Jul 19, 2025
@StanFromIreland StanFromIreland changed the title Addresses #54732: Make argparse error caused by empty rows in option files explicit. gh-54732: Make argparse error caused by empty rows in option files explicit. Jul 19, 2025
@StanFromIreland
Copy link
Member

Please use the format you have in the issue description for the title, it allows our automation to link it. You also need to sign the CLA.

@jdunter jdunter force-pushed the doc_argparse_empty_rows branch from d2dd1e9 to 1cfa51b Compare July 19, 2025 11:53
@StanFromIreland
Copy link
Member

StanFromIreland commented Jul 19, 2025

Please do not use the Update Branch button unless necessary (e.g. fixing conflicts, jogging the CI, or very old PRs) as it uses valuable resources. For more information see the devguide.

Namely the use of code markup.
Also I fixed a trailing whitespace.
@AA-Turner AA-Turner added needs backport to 3.13 bugs and security fixes needs backport to 3.14 bugs and security fixes labels Jul 19, 2025
@AA-Turner AA-Turner changed the title gh-54732: Make argparse error caused by empty rows in option files explicit. gh-54732: Make argparse error caused by empty rows in option files explicit Jul 19, 2025
Change two of the phrasings to make it more clear.
Use straight quotes.
@AA-Turner AA-Turner enabled auto-merge (squash) July 19, 2025 14:03
@AA-Turner AA-Turner merged commit 8ffc3ef into python:main Jul 19, 2025
31 of 32 checks passed
@github-project-automation github-project-automation bot moved this from Todo to Done in Docs PRs Jul 19, 2025
@miss-islington-app
Copy link

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

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jul 19, 2025
…les explicit (pythonGH-136795)

(cherry picked from commit 8ffc3ef01e83ffe629c6107082677de4d23974d5)

Co-authored-by: jdunter <2ve@mailbox.org>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jul 19, 2025
…les explicit (pythonGH-136795)

(cherry picked from commit 8ffc3ef01e83ffe629c6107082677de4d23974d5)

Co-authored-by: jdunter <2ve@mailbox.org>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
@bedevere-app
Copy link

bedevere-app bot commented Jul 19, 2025

GH-136818 is a backport of this pull request to the 3.14 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.14 bugs and security fixes label Jul 19, 2025
@bedevere-app
Copy link

bedevere-app bot commented Jul 19, 2025

GH-136819 is a backport of this pull request to the 3.13 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.13 bugs and security fixes label Jul 19, 2025
AA-Turner added a commit that referenced this pull request Jul 19, 2025
…iles explicit (GH-136795) (#136818)

gh-54732: Make argparse error caused by empty rows in option files explicit (GH-136795)
(cherry picked from commit 8ffc3ef)

Co-authored-by: jdunter <2ve@mailbox.org>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
AA-Turner added a commit that referenced this pull request Jul 19, 2025
…iles explicit (GH-136795) (#136819)

gh-54732: Make argparse error caused by empty rows in option files explicit (GH-136795)
(cherry picked from commit 8ffc3ef)

Co-authored-by: jdunter <2ve@mailbox.org>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation in the Doc dir skip news sprint
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants