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 andersk
Recipients andersk, bethard, eric.smith, gdb, nelhage, r.david.murray
Date 2010-07-26.23:17:59
SpamBayes Score 0.0023551867
Marked as misclassified No
Message-id <>
>   arguments = *(positional-argument / option) [-- *(positional-argument)]
>   positional-argument = string
>   option = foo-option / bar-option
>   foo-option = "--foo" string
>   bar-option = "--bar"

Er, obviously positional arguments before the first ‘--’ can’t begin with a dash (I don’t think there’s any confusion over how those should work).
  arguments = *(non-dash-positional-argument / option) ["--" *(positional-argument)]
  non-dash-positional-argument = <string not beginning with "-">
  positional-argument = string

The point was just that the grammar unambiguously allows the argument of --foo to be any string.
Date User Action Args
2010-07-26 23:18:01andersksetrecipients: + andersk, bethard, eric.smith, r.david.murray, gdb, nelhage
2010-07-26 23:18:01andersksetmessageid: <>
2010-07-26 23:17:59andersklinkissue9334 messages
2010-07-26 23:17:59anderskcreate