Summary: | dev-python/argparse DeprecationWarning | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Helmut Jarausch <jarausch> |
Component: | [OLD] Development | Assignee: | Dirkjan Ochtman (RETIRED) <djc> |
Status: | RESOLVED INVALID | ||
Severity: | normal | CC: | python |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Helmut Jarausch
2010-08-02 16:23:20 UTC
This is not a bug in the argparse module. The deprecation warning is because the software using the module is passing a version= argument to the ArgumentParser() method when it is creating the parser instead of using the parser.add_argument method to create a version option. For more information, see section 15.4.6 of the standard library documentation for python 2.7 [1], which also applies if using argparse with python 2.6. http://docs.python.org/library/argparse.html I agree with comment #1, closing. |