CVS style argument parsing?

Jeff Epler jepler at unpythonic.net
Wed Jul 21 09:43:40 EDT 2004


On Wed, Jul 21, 2004 at 06:37:05AM +0000, Josef Wolf wrote:
> Jeff Epler schrieb im Artikel <mailman.652.1090369306.5135.python-list at python.org>:
> > By using parser.disable_interspersed_args() you can make the parsing of
>                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[...]
> 
> Aaaahhh, this was the bit of information I was missing.  Is it "legal" to
> use this method?  It seems not to be documented in the library reference?

I agree, it doesn't seem to be in the documentation.  It's been in the
module since at least 2002, when it was called Optik, and has been
suggested many times to people who want to implement "cvs-like"
commandline parsers, according to a few google searches I performed.

Jeff
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/python-list/attachments/20040721/334016e7/attachment.sig>


More information about the Python-list mailing list