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


Groups > comp.lang.python > #28916

Re: Which Version of Python?

Path csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!feeder2.ecngs.de!ecngs!feeder.ecngs.de!xlned.com!feeder1.xlned.com!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <bahamutzero8825@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.000
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'broken': 0.03; 'received:209.85.223': 0.03; 'true,': 0.04; 'subject:Python': 0.05; 'cpython': 0.05; '(especially': 0.07; '(so': 0.07; 'python': 0.09; 'looked': 0.10; 'django': 0.10; 'programmer': 0.11; '2.7': 0.13; 'library': 0.15; '(like': 0.15; "hasn't": 0.15; 'properly': 0.15; "(i'm": 0.16; 'backward': 0.16; 'compatible.': 0.16; 'expert,': 0.16; "module's": 0.16; 'ported': 0.16; 'twisted': 0.16; 'wrote:': 0.17; 'unicode': 0.17; 'saying': 0.18; 'windows': 0.19; 'changes': 0.20; 'otherwise,': 0.20; '2.x': 0.22; '3.x': 0.22; 'planned': 0.22; 'stick': 0.22; 'branch': 0.23; 'nearly': 0.23; 'idea': 0.24; 'specifically': 0.24; 'header:In-Reply-To:1': 0.25; 'header:User-Agent:1': 0.26; '(which': 0.26; 'guess': 0.27; 'handling': 0.27; 'older': 0.27; '3.0': 0.27; 'i.e.': 0.27; 'strongly': 0.27; 'decide': 0.28; 'encouraged': 0.29; 'learn,': 0.29; 'case,': 0.29; "i'm": 0.29; 'version,': 0.30; 'compatible': 0.30; 'point': 0.31; '(and': 0.32; 'could': 0.32; 'getting': 0.33; 'certain': 0.33; "aren't": 0.33; 'correctly.': 0.33; 'limitations': 0.33; 'to:addr:python-list': 0.33; 'likely': 0.33; 'received:google.com': 0.34; 'replaced': 0.35; 'especially': 0.35; 'doing': 0.35; 'subject:?': 0.35; "won't": 0.35; 'received:209.85': 0.35; 'there': 0.35; 'really': 0.36; 'but': 0.36; 'message-id:@gmail.com': 0.36; 'anything': 0.36; 'should': 0.36; 'does': 0.37; 'being': 0.37; 'rather': 0.37; 'received:209': 0.37; 'subject:: ': 0.38; 'things': 0.38; 'page': 0.38; 'to:addr:python.org': 0.39; 'apply': 0.39; 'received:192': 0.39; 'easily': 0.39; 'received:192.168': 0.40; 'header:Received:5': 0.40; 'think': 0.40; 'your': 0.60; 'skip:u 10': 0.60; 'you.': 0.61; 'stay': 0.61; 'necessarily': 0.63; 'skip:6 10': 0.63; 'frustrated': 0.65; 'overall': 0.66; 'transferred': 0.71; 'flame': 0.84; 'me!': 0.84; 'reasoning': 0.91
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; bh=mggfTKnCwQTuQT1ZH4GlsmMfOIVBJos8a+piLQdcfIQ=; b=xX2Ozpgb+syV9iIoFJvx0WTRIpWC45Y3ZuXVWPxrA+P5CB9g+lu8ZixMkuxQ3KfUsw X3YHl5LYut2D8huNEM1ZUtK8Nh1Bm+x0C303DWLUjda0wJ0TimAOBAjttdSmaj7GtBAK uo25UoM+OB5X3c/ZrbilZ1vaVRloz+Rjfxg+3wq8YuB4lDlvBpPM5+POefZA/orGW/m8 lQmQCKdMtt5xCZQxvSSb4PD7U16YVoqp58sqSC0wuJtPTbmYgMl6iK2lMLmL32AsE2+V xmS4wKEMN5+asMhuyWlvI0ThFnXZ1T0qXBxtkz6bI0wC6dzGg9zAbuUQxfAau7z3cJUj xS6g==
Date Tue, 11 Sep 2012 20:07:46 -0500
From Andrew Berg <bahamutzero8825@gmail.com>
User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/20120824 Thunderbird/15.0
MIME-Version 1.0
To "comp.lang.python" <python-list@python.org>
Subject Re: Which Version of Python?
References <BcmdnbBsB7Ee9tLNnZ2dnUVZ_q2dnZ2d@earthlink.com> <87r4q8p12c.fsf@benfinney.id.au> <858be08d-c3bd-48e7-920d-b27901e13af7@googlegroups.com>
In-Reply-To <858be08d-c3bd-48e7-920d-b27901e13af7@googlegroups.com>
X-Enigmail-Version 1.4.4
Content-Type text/plain; charset=UTF-8
Content-Transfer-Encoding 7bit
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.529.1347412075.27098.python-list@python.org> (permalink)
Lines 40
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1347412075 news.xs4all.nl 6972 [2001:888:2000:d::a6]:53032
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:28916

Show key headers only | View raw


On 2012.09.11 19:17, Peter wrote:
> If your desire is to "learn" Python then I would stick to 2.7
> 
> My reasoning would be that there are still a significant number of packages that have not been ported to 3.x (and may never be ported).
This is true, but the /potential/ for the need for one of these packages
is not a good reason to learn from a branch that will never get any new
features. If there is indeed a compelling reason to stay with the older
version, then it is a worthwhile tradeoff. Otherwise, it is just silly.

> Not having looked at the changes in 3.x (so don't flame me! :-))
That would be a good reason /to/ flame you. ;)

> , it would seem that anything you "learn" in 2.7 would be easily transferred "up" when and if you feel the need to go to 3.x,
3.x is not a simple superset of 2.7 - there are certain limitations and
ways of doing things in 2.x that don't apply to 3.x. A new programmer
should learn, for example, handling Unicode properly (which is strongly
encouraged in 3.x) and then learn how to deal with less-than-ideal
implementations (like 2.x) rather than learn how to do it sloppily and
then be frustrated when 3.x wants them to do it correctly. Backward
compatibility was not broken for trivial reasons.

> i.e. learning (and using) features of 3.x could make it difficult to go "down"
The official documentation does point out things that have been
added/changed both overall in the "What's New" page and specifically in
each module's documentation.

> when/if you decide you really need to use a library that hasn't (and may never!) be ported to 3.x.
I don't think it's a good idea to encourage people (especially newbies)
to stick with packages that won't get updated. I'm not saying that a
package that isn't planned to be 3.x compatible will necessarily be
unmaintained, but being unmaintained is the reason many packages will
not be made 3.x compatible. In any case, packages that aren't getting
support for 3.x will likely be replaced with better alternatives,
especially once people start flocking en masse to 3.x (I'm no expert,
but my guess is that this will happen once Django and Twisted support 3.x).

If 3.0 had come out a month ago, I would see value in learning 2.x, but
it's been nearly 4 years.
-- 
CPython 3.3.0b1 | Windows NT 6.1.7601.17803

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


Thread

Which Version of Python? "Charles Hottel" <chottel@earthlink.net> - 2012-09-11 12:49 -0400
  Re: Which Version of Python? MRAB <python@mrabarnett.plus.com> - 2012-09-11 18:14 +0100
  Re: Which Version of Python? Ben Finney <ben+python@benfinney.id.au> - 2012-09-12 09:55 +1000
    Re: Which Version of Python? Peter <peter.milliken@gmail.com> - 2012-09-11 17:17 -0700
      Re: Which Version of Python? Andrew Berg <bahamutzero8825@gmail.com> - 2012-09-11 20:07 -0500
      Re: Which Version of Python? Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2012-09-12 02:11 +0000
        Re: Which Version of Python? Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2012-09-12 02:15 +0000
  Re: Which Version of Python? Ramchandra Apte <maniandram01@gmail.com> - 2012-09-11 19:58 -0700
    Re: Which Version of Python? Jamie Paul Griffin <jamie@kode5.net> - 2012-09-12 13:12 +0100
  Re: Which Version of Python? Mark Lawrence <breamoreboy@yahoo.co.uk> - 2012-09-12 07:30 +0100
    Re: Which Version of Python? alex23 <wuwei23@gmail.com> - 2012-09-12 01:34 -0700
      Re: Which Version of Python? Ramchandra Apte <maniandram01@gmail.com> - 2012-09-12 01:41 -0700
        Re: Which Version of Python? Ramchandra Apte <maniandram01@gmail.com> - 2012-09-12 01:42 -0700
          RE: Which Version of Python? "Prasad, Ramit" <ramit.prasad@jpmorgan.com> - 2012-09-13 23:30 +0000

csiph-web