This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author SilentGhost
Recipients SilentGhost, bethard, maker, r.david.murray
Date 2013-05-01.14:38:47
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1367419127.75.0.745110638267.issue17889@psf.upfronthosting.co.za>
In-reply-to
Content
If you run attached file w/ 3.2 and 3.3 (and later) versions, you'll notice that the new version of parser doesn't handle empty argument list:

$ python3.2 test.py
usage: test.py [-h] {demo} ...
test.py: error: too few arguments
$ python3.3 test.py
Namespace()

Everything is naturally failing in 3.3 version as the execution continues with the empty Namespace. I suspect this is due to the issue10424 that removed explicit check for positionals.
History
Date User Action Args
2013-05-01 14:38:47SilentGhostsetrecipients: + SilentGhost, bethard, r.david.murray, maker
2013-05-01 14:38:47SilentGhostsetmessageid: <1367419127.75.0.745110638267.issue17889@psf.upfronthosting.co.za>
2013-05-01 14:38:47SilentGhostlinkissue17889 messages
2013-05-01 14:38:47SilentGhostcreate