[Python-ideas] Re: Add extend_const action to argparse

2021-02-07 Thread Tony Lykke
I finally got around to submitting a PR for this. Linking here to close the loop should anyone stumble across this thread in future. https://bugs.python.org/issue43160 ___ Python-ideas mailing list -- python-ideas@python.org To unsubscribe send an email

[Python-ideas] Re: Add extend_const action to argparse

2020-04-22 Thread Andrew Barnert via Python-ideas
On Apr 22, 2020, at 15:04, pyt...@roganartu.com wrote: > > The natural extension to this filtering idea are convenience args that set > two const values (eg: `--filter x --filter y` being equivalent to > `--filter-x-y`), but there is no `extend_const` action to enable this. > > While this is po