qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (Jira)" <j...@apache.org>
Subject [jira] [Commented] (DISPATCH-1441) optparse python library deprecated, migrate to argparse
Date Fri, 11 Oct 2019 13:42:00 GMT

    [ https://issues.apache.org/jira/browse/DISPATCH-1441?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16949457#comment-16949457
] 

ASF GitHub Bot commented on DISPATCH-1441:
------------------------------------------

kgiusti commented on pull request #576: DISPATCH-1441: optparse to argparse migration
URL: https://github.com/apache/qpid-dispatch/pull/576#discussion_r333996867
 
 

 ##########
 File path: tests/CMakeLists.txt
 ##########
 @@ -75,6 +75,7 @@ add_test(unit_tests            ${TEST_WRAP} unit_tests ${CMAKE_CURRENT_SOURCE_DI
 add_test(router_engine_test    ${TEST_WRAP} unit2 -v router_engine_test)
 add_test(management_test       ${TEST_WRAP} unit2 -v management)
 add_test(router_policy_test    ${TEST_WRAP} unit2 -v router_policy_test)
 
 Review comment:
   BTW: this has changed on master: instead of unit2 we've parametrized this.  See master
for latest changes.
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> 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
>
> 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


Mime
View raw message