[Python-Dev] PEP 389: argparse - new command line parsing module
ubershmekel at gmail.com
Mon Sep 28 05:59:45 CEST 2009
-1 for deprecating getopt. getopt is super-simple and especially useful for
c programmers learning python.
+1 for argparse.+1 for eventual deprecation of optparse - optparse and
argparse have a very similar syntax and having both is just
On Mon, Sep 28, 2009 at 6:46 AM, Steven Bethard <steven.bethard at gmail.com>wrote:
> On Sun, Sep 27, 2009 at 8:41 PM, Benjamin Peterson <benjamin at python.org>
> > 2009/9/27 Steven Bethard <steven.bethard at gmail.com>:
> >> The first release where any real deprecation message would show up is
> >> Python 3.4, more than 3 years away. If you think 3 years isn't long
> >> enough for people to be over the Python 3 transition, let's stick in
> >> another version in there and make it 4.5 years.
> > So, why even bother deprecating it if nobody is going to see the
> I feel like I'm repeating the PEP, but here it is again anyway. There
> will be messages in the docs and pending deprecation warnings (which
> don't show up by default but can be requested) starting in Python 2.7
> and 3.2. Regular deprecation warnings wouldn't show up until Python
> 3.4, 3 years away. This compromise was intended exactly to address the
> issue you brought up about people getting over the Python 3
> Where did you get that preposterous hypothesis?
> Did Steve tell you that?
> --- The Hiphopopotamus
> Python-Dev mailing list
> Python-Dev at python.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Python-Dev