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 paul.j3
Recipients amcnabb, bethard, docs@python, guilherme-pg, martin.panter, paul.j3, r.david.murray, v+python
Date 2014-05-03.01:23:25
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1399080206.09.0.194794393215.issue14191@psf.upfronthosting.co.za>
In-reply-to
Content
I encountered a conflict when merging this patch with http://bugs.python.org/issue15112.  In my first testcase, 'cmd' and 'rest' failed the 'required' test in phase one of 'intermixed'.  That's because 15112 postponed parsing them (with nargs=0/suppressed).  

I got around that by temporarily setting the 'required' attribute to False.

The whole issue of when (or even whether) a positional that is satisfied with 0 arguments, is consumed, is a bit messy.
History
Date User Action Args
2014-05-03 01:23:26paul.j3setrecipients: + paul.j3, amcnabb, bethard, v+python, r.david.murray, docs@python, martin.panter, guilherme-pg
2014-05-03 01:23:26paul.j3setmessageid: <1399080206.09.0.194794393215.issue14191@psf.upfronthosting.co.za>
2014-05-03 01:23:26paul.j3linkissue14191 messages
2014-05-03 01:23:25paul.j3create