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 SilentGhost
Recipients SilentGhost, georg.brandl
Date 2009-09-23.12:08:11
SpamBayes Score 2.4140956e-05
Marked as misclassified No
Message-id <1253707693.16.0.204754165605.issue6977@psf.upfronthosting.co.za>
In-reply-to
Content
the following
>>> getopt.getopt('--testing=dr'.split(), '', ['testing'])[0]

would raise 'option --testing must not have an argument'.

Documentation reads, however: "Long options which require an argument
should be followed by an equal sign ('=')." Which is equivalent to
"options that don't require an argument, should not be followed by the
equal sign". The fact that in my example argument is not required does
not mean that argument cannot be passed.
History
Date User Action Args
2009-09-23 12:08:13SilentGhostsetrecipients: + SilentGhost, georg.brandl
2009-09-23 12:08:13SilentGhostsetmessageid: <1253707693.16.0.204754165605.issue6977@psf.upfronthosting.co.za>
2009-09-23 12:08:11SilentGhostlinkissue6977 messages
2009-09-23 12:08:11SilentGhostcreate