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

optparse python library deprecated, migrate to argparse

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.10.0
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: