[issue23058] argparse silently ignores arguments

2015-04-28 Thread Barry A. Warsaw
Changes by Barry A. Warsaw ba...@python.org: -- nosy: +barry ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23058 ___ ___ Python-bugs-list mailing

[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

[issue23058] argparse silently ignores arguments

2015-03-27 Thread paul j3
Changes by paul j3 ajipa...@gmail.com: -- nosy: +paul.j3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23058 ___ ___ Python-bugs-list mailing list

[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-23 Thread Gregory P. Smith
Changes by Gregory P. Smith g...@krypto.org: -- nosy: +gregory.p.smith ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23058 ___ ___

[issue23058] argparse silently ignores arguments

2015-03-23 Thread Gregory P. Smith
Changes by Gregory P. Smith g...@krypto.org: -- nosy: +nailor, r.david.murray versions: +Python 3.4, Python 3.5 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23058 ___

[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 rep...@bugs.python.org http://bugs.python.org/issue23058

[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 ___

[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 =

[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 rep...@bugs.python.org http://bugs.python.org/issue23058 ___