Chris Jerdonek <chris.jerdo...@gmail.com> added the comment:

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.

----------
keywords: +patch
Added file: http://bugs.python.org/file26349/issue-15302-1.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue15302>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to