Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Switch command line parser to argparse #583
Comments
|
@FiloSottile @phihag If I implement this (obviously quite a bit of work, but worth it in my mind), will it be merged? What about Python 2.6, where By the way, how long do we plan to support 2.6 since it has reached end of life and is receiving fixes, security or otherwise, as of October 2013:
|
|
We will support Python 2.6 for quite some time (basically, until RHEL drops support). Since I do not see a pressing need to switch to argparse anyways (there are no security implications, and virtually no differences for our users). I'm therefore closing this issue, to be reopened after we have dropped 2.6 support, or a new 3.x version drops optparse. |
|
No argparse! Docopt is the best: https://github.com/docopt/docopt |
From http://docs.python.org/2/library/optparse.html
Follow http://docs.python.org/2/library/argparse.html#upgrading-optparse-code