[issue2551195] Replace optparse (deprecated in python 3.2) with argparse

John Rouillard <[email protected]> Sun, 06 Feb 2022 19:58:34 +0000
Newsgroups gmane.comp.bug-tracking.roundup.devel
Message-ID <[email protected]>
New submission from John Rouillard:

Per PEP594 (https://python.github.io/peps/pep-0594/)
optparse is listed as deprecated as of python 3.2.
It is not scheduled for removal yet, but the following code uses it:

scripts/schema-dump.py:from optparse import OptionParser
scripts/imapServer.py:import optparse

these scripts should use argparse.

----------
keywords: Effort-Low, StarterTicket
messages: 7451
nosy: rouilj
severity: normal
status: new
title: Replace optparse (deprecated in python 3.2) with argparse

_________________________________________________
Roundup tracker <[email protected]>
<https://issues.roundup-tracker.org/issue2551195>
_________________________________________________