[issue18769] argparse remove subparser

2019-02-24 Thread Mark Lawrence
Change by Mark Lawrence : -- nosy: -BreamoreBoy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue18769] argparse remove subparser

2015-10-12 Thread paul j3
paul j3 added the comment: There's a partial overlap with this issue http://bugs.python.org/issue22848 which seeks to hide a subparser - both in the help lines and the choices lists. -- ___ Python tracker ___

[issue18769] argparse remove subparser

2015-10-11 Thread paul j3
paul j3 added the comment: Under what circumstances would this be useful? http://bugs.python.org/issue19462 asks for a 'remove_argument' method. That seems to be most useful if the argument is inherited from a parent parser. A subparsers argument could be inherited from a parent (I think), bu

[issue18769] argparse remove subparser

2015-10-11 Thread paul j3
Changes by paul j3 : -- nosy: +paul.j3 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/

[issue18769] argparse remove subparser

2015-10-10 Thread Chris Angelico
Chris Angelico added the comment: Patch applies cleanly to 3.6 and doesn't appear to add any new test failures (3.6 currently has a couple). Needs its own test, though. -- nosy: +Rosuav versions: +Python 3.6 -Python 3.5 ___ Python tracker

[issue18769] argparse remove subparser

2014-08-03 Thread Mark Lawrence
Mark Lawrence added the comment: @Paul it's a simple enough patch, what do you think? -- nosy: +BreamoreBoy versions: +Python 3.5 -Python 3.4 ___ Python tracker ___ _

[issue18769] argparse remove subparser

2013-08-23 Thread Tshepang Lekhonkhobe
Changes by Tshepang Lekhonkhobe : -- nosy: +tshepang ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue18769] argparse remove subparser

2013-08-17 Thread Michael Bikovitsky
New submission from Michael Bikovitsky: It might be useful in some circumstances to be able to remove a subparser, however the module does not provide such functionality. The proposed method takes the same arguments as the add_parser method and removes the matching subparser from the map (incl