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

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

kgiusti commented on issue #576: DISPATCH-1441: optparse to argparse migration
URL: https://github.com/apache/qpid-dispatch/pull/576#issuecomment-541071743
 
 
   One other thing:  Can you update the top-level README where it describes 
installing dependencies:
   
   https://github.com/apache/qpid-dispatch/blob/master/README#L24
   
   You need to add a note about installing python-argparse for older versions 
of python, similar to the note about unittest2.  And just like unittest2, users 
can install "python-argparse" from PyPi if their distro does not ship with it.
   
   thanks 
 
----------------------------------------------------------------
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:
[email protected]


> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to