homepage

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 kszawala
Recipients kszawala
Date 2010年06月21日.16:05:29
SpamBayes Score 0.036910336
Marked as misclassified No
Message-id <1277136331.24.0.0452022727538.issue9044@psf.upfronthosting.co.za>
In-reply-to
Content
Currently optparse library supports the following option definitions:
-e value,
-e=value,
-e:value,
-evalue.
Having said that let's consider the following option definition:
-e <string_value>.
Based on the above syntax the following statement will be correct:
-exclusive
and will be parsed into -e xclusive.
The fact that no caracter is required in between the option itself and its value leads to confusion.
My suggestion is to restrict the syntax to the following:
-e value,
-e=value,
-e:value.
Thanks,
Krzysztof
History
Date User Action Args
2010年06月21日 16:05:31kszawalasetrecipients: + kszawala
2010年06月21日 16:05:31kszawalasetmessageid: <1277136331.24.0.0452022727538.issue9044@psf.upfronthosting.co.za>
2010年06月21日 16:05:29kszawalalinkissue9044 messages
2010年06月21日 16:05:29kszawalacreate

AltStyle によって変換されたページ (->オリジナル) /