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 — Add new Python 3.14 `argparse.ArgumentParser` constructor parameters by edgarrmondragon · Pull Request #13947 · python/typeshed Conversation
|
|
Our policy is generally to not add features for new Python versions until the first beta, but that's tomorrow so I think it's fine to get this in. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| suggest_on_error: bool = ..., | ||
| color: bool = ..., |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
| suggest_on_error: bool = ..., | |
| color: bool = ..., | |
| suggest_on_error: bool = False, | |
| color: bool = False, |
I think we didn't fill in defaults here because at runtime they go through **kwargs. Let's add defaults for the new parameters at least, and if you like we can add defaults for the rest at some point too.
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.
Would you prefer if I add the missing defaults in this PR or in a separate one?
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.
Let's do it in another PR, I'll merge this one
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Co-authored-by: Jelle Zijlstra <[email protected]>
|
According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
…ython#13947) These are - `suggest_on_error`, added by python/cpython#124456, made keyword-only by python/cpython#133302 - `color`, added by python/cpython#132323 Co-authored-by: Sebastian Rittau <[email protected]> Co-authored-by: Jelle Zijlstra <[email protected]>
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.