GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||||||||||||||||||||||||||||||||||
GeezerVison is showing github.com — bpo-29298: Fix crash for required subparsers in argparse by BenSokol · Pull Request #18564 · python/cpython Conversation
| ||||||||||||||||||||||||||||||||||||||||||||||
|
Hello, and thanks for your contribution! I'm a bot set up to make sure that the project can legally accept this contribution by verifying everyone involved has signed the PSF contributor agreement (CLA). Recognized GitHub usernameWe couldn't find a bugs.python.org (b.p.o) account corresponding to the following GitHub usernames: This might be simply due to a missing "GitHub Name" entry in one's b.p.o account settings. This is necessary for legal reasons before we can look at this contribution. Please follow the steps outlined in the CPython devguide to rectify this issue. You can check yourself to see if the CLA has been received. Thanks again for the contribution, we look forward to reviewing it! |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Codecov Report
@@ Coverage Diff @@ ## master #18564 +/- ## =========================================== + Coverage 82.15% 83.13% +0.98% =========================================== Files 1958 1571 -387 Lines 589837 414808 -175029 Branches 44458 44459 +1 =========================================== - Hits 484560 344844 -139716 + Misses 95636 60337 -35299 + Partials 9641 9627 -14
Continue to review full report at Codecov.
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR and welcome @BenSokol!
It looks like another open PR that addresses this issue (or another part of it) in #3680 is currently open and is not inactive (last comment from author 25 days ago). Does this crash still occur with their patch? At a glance, it looks like they address separate parts of the same BPO issue, but I'd like to be certain.
In the meantime, could you also include a new unit test for this in Lib/test/test_argparse.py, to ensure that the fix functions as intended? This is typically needed for most PRs that make code changes in the standard library, particularly for bug fixes or ones that implement some new functionality. It helps to ensure that the fix works in the first place, and in the long term ensure that the issue remains fixed (to avoid regressions as much as possible).
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Co-Authored-By: Kyle Stanley <[email protected]>
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| @@ -0,0 +1,2 @@ | |||
| Fix crash in :mod:`argparse` when using subparsers and its required attribute | |||
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
creash means segfault, not unhandled exception.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
This was fixed in GH-3680, which includes tests. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.