[New-bugs-announce] [issue25475] use argparse instead of getopt

Stéphane Wirtel report at bugs.python.org
Sun Oct 25 13:16:29 EDT 2015


New submission from Stéphane Wirtel:

not sure, but in the documentation, there is a note
"Module argparse: Alternative command line option and argument parsing library."

may be it's time to move from getopt to argparse and mark getopt as deprecated.

We have to modify 45 files, but I can submit a separated patch for each file.

ack "import getopt" -l | wc -l
      45

----------
components: Library (Lib)
messages: 253429
nosy: matrixise
priority: normal
severity: normal
status: open
title: use argparse instead of getopt
versions: Python 3.6

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue25475>
_______________________________________


More information about the New-bugs-announce mailing list