Message165228
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. |
|
Date |
User |
Action |
Args |
2012-07-11 06:30:56 | chris.jerdonek | set | recipients:
+ chris.jerdonek, orsenthil, ezio.melotti, r.david.murray |
2012-07-11 06:30:55 | chris.jerdonek | set | messageid: <1341988255.91.0.855085379161.issue15302@psf.upfronthosting.co.za> |
2012-07-11 06:30:55 | chris.jerdonek | link | issue15302 messages |
2012-07-11 06:30:54 | chris.jerdonek | create | |
|