Roundup Tracker - Issues

Issue 2551195

classification
Replace optparse (deprecated in python 3.2) with argparse
Type: Severity: normal
Components: Versions:
process
Status: new
:
: : rouilj
Priority: : Deprecation, Effort-Low, StarterTicket

Created on 2022-02-06 19:58 by rouilj, last changed 2022-02-06 19:59 by rouilj.

Messages
msg7451 Author: [hidden] (rouilj) Date: 2022-02-06 19:58
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.
History
Date User Action Args
2022-02-06 19:59:42rouiljsetkeywords: + Deprecation
2022-02-06 19:58:34rouiljcreate