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 r.david.murray
Recipients pitrou, r.david.murray
Date 2009-11-14.18:43:07
SpamBayes Score 0.00020621302
Marked as misclassified No
Message-id <1258224191.28.0.763058552728.issue7324@psf.upfronthosting.co.za>
In-reply-to
Content
In forward porting a patch to py3k I noticed that there is a 'g' option
in the optparse argument list in regrtest in 2.x that is not present in
3.x.  But the surprising thing was that there are no docs for this
option, nor any option handler in the 2.x regrtest.

I propose to add an 'else' case to the option parsing loop that asks the
user to report a bug if it is handed an unknown option.  Patch attached.

My one question is whether this might have been intentional for backward
compatibility reasons: let -g be passed and ignore it silently.  I'm
guessing it was just a deletion oversight, though.
History
Date User Action Args
2009-11-14 18:43:11r.david.murraysetrecipients: + r.david.murray, pitrou
2009-11-14 18:43:11r.david.murraysetmessageid: <1258224191.28.0.763058552728.issue7324@psf.upfronthosting.co.za>
2009-11-14 18:43:09r.david.murraylinkissue7324 messages
2009-11-14 18:43:09r.david.murraycreate