Replace uses of optparse with argparse
Python has deprecated the optparse module and replaced it with argparse. The limited number of instances of optparse in the Trac codebase should be fairly easy to replace. optparse is deprecated in Python 2.7/3.2 and later.
Change History
(7)
| Description: |
modified (diff)
|
| Description: |
modified (diff)
|
| Owner: |
set to Ryan J Ollos
|
| Status: |
new → assigned
|
| Release Notes: |
modified (diff)
|
| Resolution: |
→ fixed
|
| Status: |
assigned → closed
|
| Internal Changes: |
modified (diff)
|
| Release Notes: |
modified (diff)
|
Proposed changes in log:rjollos.git:t12148_argparse:
A few of the subtleties with the changes are:
htdigest.py, but I will save that for later, likely as part of #8361.