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 bethard
Recipients andersk, bethard, davidben, drm, eric.araujo, eric.smith, gdb, nelhage, r.david.murray
Date 2011-02-07.07:58:28
SpamBayes Score 4.0019286e-09
Marked as misclassified No
Message-id <>
@Éric: yes, thanks!

@Anders: The reason the current implementation gives you the behavior you don't want is that the first thing it does is scan the args list for things that look like flags (based on prefix_chars). It assumes that everything that looks like a flag is intended to be one, before it ever looks at how many arguments the flag before it takes or anything like that. This is the source of your problem - argparse assumes "-safe" is a flag, and as a result, there is no argument for "--asciidoc-opts'. So perhaps a better name would be something like dont_assume_everything_that_looks_like_a_flag_is_intended_to_be_one. ;-)
Date User Action Args
2011-02-07 07:58:29bethardsetrecipients: + bethard, eric.smith, eric.araujo, r.david.murray, andersk, gdb, nelhage, drm, davidben
2011-02-07 07:58:29bethardsetmessageid: <>
2011-02-07 07:58:28bethardlinkissue9334 messages
2011-02-07 07:58:28bethardcreate