You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Ganesh Murthy (Jira)" <ji...@apache.org> on 2019/10/16 14:45:00 UTC

[jira] [Resolved] (DISPATCH-1441) optparse python library deprecated, migrate to argparse

     [ https://issues.apache.org/jira/browse/DISPATCH-1441?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ganesh Murthy resolved DISPATCH-1441.
-------------------------------------
    Fix Version/s: 1.10.0
       Resolution: Fixed

> optparse python library deprecated, migrate to argparse
> -------------------------------------------------------
>
>                 Key: DISPATCH-1441
>                 URL: https://issues.apache.org/jira/browse/DISPATCH-1441
>             Project: Qpid Dispatch
>          Issue Type: New Feature
>            Reporter: Nicolas
>            Priority: Major
>             Fix For: 1.10.0
>
>
> from: https://docs.python.org/2/library/optparse.html
> Deprecated since version 2.7: The [{{optparse}}|https://docs.python.org/2/library/optparse.html#module-optparse] module is deprecated and will not be developed further; development will continue with the [{{argparse}}|https://docs.python.org/2/library/argparse.html#module-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.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org