[issue32752] no information about accessing typing.Generic type arguments

2018-07-23 Thread Jared Deckard
Jared Deckard added the comment: typing_inspect is now filled with python version checks for 3.7. The implementation got significantly more complex when differentiating generics at runtime. 3.6 was undocumented, but the OO API was intuitive: >>> T = typing.Union[int, float] >

[issue22401] argparse: 'resolve' conflict handler damages the actions of the parent parser

2016-03-23 Thread Jared Deckard
Jared Deckard added the comment: This behavior is preventing me from using more than one parent parser. My use case is a convenience subcommand that performs two existing subcommands, therefore logically its subparser is required to support the arguments of both subparsers. The only conflict

[issue22401] argparse: 'resolve' conflict handler damages the actions of the parent parser

2016-03-24 Thread Jared Deckard
Jared Deckard added the comment: Adding back components and version data I unintentionally removed in http://bugs.python.org/msg262314 -- components: +Documentation, Tests versions: +Python 3.5 ___ Python tracker <http://bugs.python.org/issue22

[issue22401] argparse: 'resolve' conflict handler damages the actions of the parent parser

2016-03-24 Thread Jared Deckard
Jared Deckard added the comment: That is correct. (Thank you for whipping up a repro script from my description). I appreciate the work around, but it is nearly as verbose as manually duplicating the parameters on the child and I would have to type up a large comment block to educate future