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 mallyvai
Recipients georg.brandl, mallyvai
Date 2009-05-13.05:01:02
SpamBayes Score 4.7078815e-06
Marked as misclassified No
Message-id <1242190926.0.0.968913791867.issue6009@psf.upfronthosting.co.za>
In-reply-to
Content
The first example, and several subsequent examples later on in the
optparse docs, use 'default' as an argument, even though it's apparently
deprecated in favor of set_defaults. At the risk of overstating the
obvious, this seems to be inconsistent. Even the section on defaults
http://docs.python.org/library/optparse.html#default-values uses the
'default' keyword without stressing its deprecation. It might make more
sense to leave it out of all of the examples altogether, replacing it
with the appropriate set_defaults invocations.
History
Date User Action Args
2009-05-13 05:02:13mallyvaisetrecipients: + mallyvai, georg.brandl
2009-05-13 05:02:06mallyvaisetmessageid: <1242190926.0.0.968913791867.issue6009@psf.upfronthosting.co.za>
2009-05-13 05:01:56mallyvailinkissue6009 messages
2009-05-13 05:01:48mallyvaicreate