[issue23058] argparse silently ignores arguments

2015-04-28 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: > Wouldn't it be safer all around if the subparsers took different arguments, > or at least different namespace 'dest', than the main parser? IMHO, yes. I agree that the semantics of what the original code is trying to do is quite ambiguous. Since the docum

[issue23058] argparse silently ignores arguments

2015-04-28 Thread Barry A. Warsaw
Changes by Barry A. Warsaw : -- nosy: +barry ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue23058] argparse silently ignores arguments

2015-03-27 Thread paul j3
paul j3 added the comment: Without actually running this case I think it is caused by the http://bugs.python.org/issue9351 patch. You can check the __call__ method for class _SubParsersAction and how it handles invocation of the subparser. Does it get the existing namespace, or a new one (

[issue23058] argparse silently ignores arguments

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

[issue23058] argparse silently ignores arguments

2015-03-23 Thread Gregory P. Smith
Changes by Gregory P. Smith : -- nosy: +nailor, r.david.murray versions: +Python 3.4, Python 3.5 ___ Python tracker ___ ___ Python-bug

[issue23058] argparse silently ignores arguments

2015-03-23 Thread Gregory P. Smith
Changes by Gregory P. Smith : -- nosy: +gregory.p.smith ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue23058] argparse silently ignores arguments

2015-01-02 Thread Rémi Rampin
Rémi Rampin added the comment: I might use your workaround in ReproZip (https://github.com/ViDA-NYU/reprozip/issues/89), thanks. I agree that it doesn't look pretty... -- ___ Python tracker __

[issue23058] argparse silently ignores arguments

2014-12-23 Thread Changaco
Changaco added the comment: honcho has been affected by this: https://github.com/nickstenning/honcho/issues/122 Working around the problem is possible but not very pretty: https://github.com/nickstenning/honcho/pull/121 -- nosy: +Changaco ___ Pytho

[issue23058] argparse silently ignores arguments

2014-12-15 Thread Rémi Rampin
Rémi Rampin added the comment: Interestingly, this worked before my upgrade 2.7.8 -> 2.7.9. -- ___ Python tracker ___ ___ Python-bugs-

[issue23058] argparse silently ignores arguments

2014-12-15 Thread Rémi Rampin
New submission from Rémi Rampin: This works correctly on Python 3.4. On Python 2.7, argparse seems to completely and silently ignore arguments in some conditions, for instance this setup will cause --verbose to be ignored on the main parser: options = argparse.ArgumentParser(add_help=Fals