-
There's a lot of argparse functionality we aren't using right now, which might accomplish error checking we do or need to do
eg: https://docs.python.org/3/library/argparse.html#choices
for limitin…
-
I strongly encourage you to use the argparse module to handle command-line options in your various python tools rather than writing your own code to do it... i also didn't start using argparse until …
-
BPO | [11695](https://bugs.python.org/issue11695)
--- | :---
Nosy | @cjerdonek, @akheron, @berkerpeksag
Files | [issue11695_1.patch](https://bugs.python.org/file35713/issue11695_1.patch "Uploaded as t…
-
**Bug report**
When using an optional argument with `nargs=argparse.REMAINDER`, the argument appears within the list of optional arguments and before any positional arguments. I expected it to be p…
-
Hello,
I hope you are well. I really like Pydantic, and I've found it makes it much easier and also neater to work with classes in python.
Today, I tried to use it to put the arguments parsed from …
-
# Feature or enhancement
### Proposal:
At the moment, `argparse.BooleanOptionalAction` gives e.g. `--foo` vs `--no-foo`, whose prefix is hardcoded:
https://github.com/python/cpython/blob/cd516cd1f5…
-
Fix or address the following warnings in CI.
```
Warning: /home/runner/miniconda3/lib/python3.12/argparse.py:2006: FutureWarning: `remote_definition` is deprecated and will be removed in 25.9. Use…
-
Add `config` subcommand to generate a kernel config from a set of fragments like the ones in [here](https://github.com/metaspace/kernel-fragments).
The generated config should include configuration…
-
## Current Behavior
```
@ xonsh --version
xonsh/0.18.4
♅ 15:42:06 rrs@xps ~/NoBac/Commun/xonsh master↑·4|✓
@ xonsh --no-rc
rrs@xps ~/NoBac/Commun/xonsh master @ xontrib list
['list']
Exc…
-
# Bug report
When the `ArgumentParser.parse_known_args()` method is used to parse a parameter with `action='append'` set, the parameter will be parsed in the whole argument list, including argument…