Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #57415

Re: Will Python 3.x ever become the actual standard?

References <6e0bbc6b-9435-4a4b-8840-8a46cc4e0cc5@googlegroups.com> <0bbec535-dba0-4fc0-960f-f4ac9c79e64c@googlegroups.com>
Date 2013-10-24 17:46 +1100
Subject Re: Will Python 3.x ever become the actual standard?
From Chris Angelico <rosuav@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.1442.1382597201.18130.python-list@python.org> (permalink)

Show all headers | View raw


On Thu, Oct 24, 2013 at 3:57 PM, Peter Cacioppi
<peter.cacioppi@gmail.com> wrote:
> Moreover, you get a lot of the good stuff with 2.7. Along with more library support. So the smart decision is to code your project 2.7, even though the best thing for Pythonistan would be for us all to voluntarily migrate to 3.x.

I won't flame you, but I will disagree with you :)

You may get "a lot of" the good stuff with 2.7, but there are plenty
of things you won't get - and the gap will widen with every Python
release. As of 3.3, you're missing out on, among other things:

* PEP 393 strings - high performance and perfect Unicode handling
* 'yield from'
* Major improvements to 'import'
* High performance 'decimal'

When 3.4 comes out, add to the list:

* enumerations
* asyncio
* Argument Clinic (introspection)

When 3.5 comes out, your 2.7 program will additionally be unable to use:

* Who knows?
* But it'll be exciting.

If you insist on not moving to 3.x, I strongly recommend some future
imports - unicode_literals, division, print_function - to make your
2.7 program behave more like a 3.x one. That'll ease the pain of
transition, though you'll still probably run into problems with
unicode vs bytes in places where your code used to be oblivious...
which means your code will become guaranteed-correct when you move to
3.x, where the 2.7 version was merely accidentally-correct.

ChrisA

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Will Python 3.x ever become the actual standard? dufriz@gmail.com - 2013-10-23 04:57 -0700
  Re: Will Python 3.x ever become the actual standard? David <bouncingcats@gmail.com> - 2013-10-23 23:16 +1100
    Re: Will Python 3.x ever become the actual standard? Neil Cerutti <neilc@norwich.edu> - 2013-10-23 12:36 +0000
      Re: Will Python 3.x ever become the actual standard? Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2013-10-23 19:46 -0400
      Re: Will Python 3.x ever become the actual standard? Gene Heskett <gheskett@wdtv.com> - 2013-10-23 19:54 -0400
  Re: Will Python 3.x ever become the actual standard? Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-10-23 13:35 +0100
    Re: Will Python 3.x ever become the actual standard? "Colin J. Williams" <cjw@ncf.ca> - 2013-10-23 09:05 -0400
      Re: Will Python 3.x ever become the actual standard? Tim Golden <mail@timgolden.me.uk> - 2013-10-23 14:13 +0100
        Re: Will Python 3.x ever become the actual standard? "Colin J. Williams" <cjw@ncf.ca> - 2013-10-24 20:03 -0400
      Re: Will Python 3.x ever become the actual standard? Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-10-23 14:27 +0100
        Re: Will Python 3.x ever become the actual standard? Neil Cerutti <neilc@norwich.edu> - 2013-10-23 15:04 +0000
        Re: Will Python 3.x ever become the actual standard? Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-10-24 00:17 +0000
          Re: Will Python 3.x ever become the actual standard? Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-10-24 09:26 +0100
          Re: Will Python 3.x ever become the actual standard? Chris Angelico <rosuav@gmail.com> - 2013-10-24 19:31 +1100
      Re: Will Python 3.x ever become the actual standard? Skip Montanaro <skip@pobox.com> - 2013-10-23 08:52 -0500
      Re: Will Python 3.x ever become the actual standard? Tim Golden <mail@timgolden.me.uk> - 2013-10-23 15:01 +0100
      Re: Will Python 3.x ever become the actual standard? Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-10-23 15:16 +0100
      Re: Will Python 3.x ever become the actual standard? Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-10-23 15:21 +0100
      Re: Will Python 3.x ever become the actual standard? Skip Montanaro <skip@pobox.com> - 2013-10-23 09:34 -0500
      Re: Will Python 3.x ever become the actual standard? Tim Golden <mail@timgolden.me.uk> - 2013-10-23 15:43 +0100
  Re: Will Python 3.x ever become the actual standard? Chris Angelico <rosuav@gmail.com> - 2013-10-23 23:40 +1100
  Re: Will Python 3.x ever become the actual standard? Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-10-23 13:52 +0100
  Re: Will Python 3.x ever become the actual standard? Roy Smith <roy@panix.com> - 2013-10-23 08:57 -0400
  Re: Will Python 3.x ever become the actual standard? Kevin Walzer <kw@codebykevin.com> - 2013-10-23 11:03 -0400
  Re: Will Python 3.x ever become the actual standard? Dan Stromberg <drsalists@gmail.com> - 2013-10-23 13:15 -0700
  Re: Will Python 3.x ever become the actual standard? Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-10-24 00:18 +0000
    Re: Will Python 3.x ever become the actual standard? Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-10-24 09:18 +0100
  Re: Will Python 3.x ever become the actual standard? Peter Cacioppi <peter.cacioppi@gmail.com> - 2013-10-23 21:57 -0700
    Re: Will Python 3.x ever become the actual standard? Chris Angelico <rosuav@gmail.com> - 2013-10-24 17:46 +1100
    Re: Will Python 3.x ever become the actual standard? Ethan Furman <ethan@stoneleaf.us> - 2013-10-23 23:32 -0700
    Re: Will Python 3.x ever become the actual standard? Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-10-24 09:29 +0100
  Re: Will Python 3.x ever become the actual standard? Peter Cacioppi <peter.cacioppi@gmail.com> - 2013-10-23 22:12 -0700
    Re: Will Python 3.x ever become the actual standard? Steven D'Aprano <steve@pearwood.info> - 2013-10-24 06:45 +0000
  Re: Will Python 3.x ever become the actual standard? Peter Cacioppi <peter.cacioppi@gmail.com> - 2013-10-24 00:01 -0700
    Re: Will Python 3.x ever become the actual standard? Chris Angelico <rosuav@gmail.com> - 2013-10-24 18:09 +1100
  Re: Will Python 3.x ever become the actual standard? Antoine Pitrou <solipsis@pitrou.net> - 2013-10-24 08:30 +0000
  Re: Will Python 3.x ever become the actual standard? Chris Angelico <rosuav@gmail.com> - 2013-10-24 19:37 +1100
  Re: Will Python 3.x ever become the actual standard? Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-10-24 09:43 +0100
    Re: Will Python 3.x ever become the actual standard? Alister <alister.ware@ntlworld.com> - 2013-10-24 10:30 +0000
  Re: Will Python 3.x ever become the actual standard? Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-10-24 09:45 +0100
  Re: Will Python 3.x ever become the actual standard? Peter Cacioppi <peter.cacioppi@gmail.com> - 2013-10-24 01:52 -0700
  Re: Will Python 3.x ever become the actual standard? Damien Wyart <damien.wyart@free.fr> - 2013-10-24 15:29 +0200
    Re: Will Python 3.x ever become the actual standard? ishish <ishish@domhain.de> - 2013-10-24 14:36 +0100
    Re: Will Python 3.x ever become the actual standard? Ned Batchelder <ned@nedbatchelder.com> - 2013-10-24 13:31 -0400
    Re: Will Python 3.x ever become the actual standard? Terry Reedy <tjreedy@udel.edu> - 2013-10-24 17:00 -0400
  Re: Will Python 3.x ever become the actual standard? Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2013-10-24 20:17 -0400

csiph-web