Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace optparse with argparse #19

Open
mbrukman opened this issue Jul 2, 2020 · 0 comments
Open

Replace optparse with argparse #19

mbrukman opened this issue Jul 2, 2020 · 0 comments
Assignees

Comments

@mbrukman
Copy link
Owner

mbrukman commented Jul 2, 2020

According to https://docs.python.org/2/library/optparse.html:

Deprecated since version 2.7: The optparse module is deprecated and will not be developed further; development will continue with the argparse module.

Since argparse is also available starting in Python 2.7, we aren't losing any compatibility with Python 2.x by switching to it, and we'll become forward-compatible with Python 3.x and beyond as optparse will likely be removed from Python stdlib at some point.

@mbrukman mbrukman self-assigned this Jul 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant