FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

gh-54732: Make argparse error caused by empty rows in option files explicit by jdunter · Pull Request #136795 · python/cpython · GitHub

/ cpython Public

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

Merged
AA-Turner merged 6 commits into
python:mainfrom
jdunter:doc_argparse_empty_rows
Jul 19, 2025
Merged

gh-54732: Make argparse error caused by empty rows in option files explicit#136795
AA-Turner merged 6 commits into
python:mainfrom
jdunter:doc_argparse_empty_rows

Conversation

jdunter commented Jul 19, 2025
edited by bedevere-app Bot
Loading

Copy link
Copy Markdown
Contributor

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 Bot commented Jul 19, 2025
edited
Loading

Copy link
Copy Markdown

All commit authors signed the Contributor License Agreement.

bedevere-app Bot added awaiting review docs Documentation in the Doc dir skip news labels Jul 19, 2025
github-project-automation Bot moved this to Todo in Docs PRs Jul 19, 2025
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

Copy link
Copy Markdown
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 force-pushed the doc_argparse_empty_rows branch from d2dd1e9 to 1cfa51b Compare July 19, 2025 11:53
Comment thread Doc/library/argparse.rst Outdated
Comment thread Doc/library/argparse.rst Outdated
Comment thread Doc/library/argparse.rst Outdated

StanFromIreland commented Jul 19, 2025
edited
Loading

Copy link
Copy Markdown
Member

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 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 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.
Comment thread Doc/library/argparse.rst Outdated
AA-Turner enabled auto-merge (squash) July 19, 2025 14:03
AA-Turner merged commit 8ffc3ef into python:main Jul 19, 2025
31 of 32 checks passed
github-project-automation Bot moved this from Todo to Done in Docs PRs Jul 19, 2025

Copy link
Copy Markdown

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 8ffc3ef)

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 8ffc3ef)

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

bedevere-app Bot commented Jul 19, 2025

Copy link
Copy Markdown

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

bedevere-app Bot removed the needs backport to 3.14 bugs and security fixes label Jul 19, 2025

bedevere-app Bot commented Jul 19, 2025

Copy link
Copy Markdown

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

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>
taegyunkim pushed a commit to taegyunkim/cpython that referenced this pull request Aug 4, 2025
…les explicit (python#136795)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Agent-Hellboy pushed a commit to Agent-Hellboy/cpython that referenced this pull request Aug 19, 2025
…les explicit (python#136795)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
kumaraditya303 pushed a commit to miss-islington/cpython that referenced this pull request Sep 9, 2025
…tion files explicit (pythonGH-136795) (python#136818)

pythongh-54732: Make argparse error caused by empty rows in option files explicit (pythonGH-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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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


Back | FazBrowse Home | New Git URL