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 chris.jerdonek
Recipients chris.jerdonek, ezio.melotti, orsenthil, r.david.murray
Date 2012-07-11.06:30:52
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1341988255.91.0.855085379161.issue15302@psf.upfronthosting.co.za>
In-reply-to
Content
Here is a patch that creates some unit tests for the existing getopt argument parsing code.

In response to the comments, I'm thinking of a less invasive approach that involves wrapping argparse's parse_args() to return getopt-like output (and in particular, to match test expectations).

In this way, we will be able to keep main() mostly unaffected while still being able to use argparse.
History
Date User Action Args
2012-07-11 06:30:56chris.jerdoneksetrecipients: + chris.jerdonek, orsenthil, ezio.melotti, r.david.murray
2012-07-11 06:30:55chris.jerdoneksetmessageid: <1341988255.91.0.855085379161.issue15302@psf.upfronthosting.co.za>
2012-07-11 06:30:55chris.jerdoneklinkissue15302 messages
2012-07-11 06:30:54chris.jerdonekcreate