This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author paul.j3
Recipients BreamoreBoy, bethard, paul.j3, serhiy.storchaka
Date 2014-08-08.02:28:58
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1407464938.57.0.967037954459.issue18979@psf.upfronthosting.co.za>
In-reply-to
Content
Reading through, but not testing, it looks like a faithful replacement.  The usage like will be a bit different.

Given optparse:

    usage='usage: %prog [-d] [-t] [input [output]]

automatic argparse:
    
    usage='usage: %prog [-d] [-t] [input] [output]

There is, however, a bugs issue about converting the '[..] [..]' into [..[..]].

Other than simplifying the handling of these positional arguments, this replacement doesn't add much.  

I haven't paid much attention to issues that replace other uses of optparse.  Since that is no longer deprecated, I don't think there's a rush to replace them.
History
Date User Action Args
2014-08-08 02:28:58paul.j3setrecipients: + paul.j3, bethard, BreamoreBoy, serhiy.storchaka
2014-08-08 02:28:58paul.j3setmessageid: <1407464938.57.0.967037954459.issue18979@psf.upfronthosting.co.za>
2014-08-08 02:28:58paul.j3linkissue18979 messages
2014-08-08 02:28:58paul.j3create