Uploaded image for project: 'Qpid Dispatch'
  1. Qpid Dispatch
  2. DISPATCH-1441

optparse python library deprecated, migrate to argparse

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.10.0
    • Component/s: None
    • Labels:
      None

      Description

      from: https://docs.python.org/2/library/optparse.html

      Deprecated since version 2.7: The optparse module is deprecated and will not be developed further; development will continue with the argparse module.

      A lot of the manual parsing that is being done manually is able to be done automatically by the argparse library. (like mutually exclusive options, etc).

      Automatic help and error messages may be better also just migrating the library.

       

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                nicob87 Nicolas
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: