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


Groups > comp.lang.python > #70369

Re: Why Python 3?

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.albasani.net!rt.uk.eu.org!newsfeed.xs4all.nl!newsfeed4a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <aberg010@my.HennepinTech.edu>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.013
X-Spam-Evidence '*H*': 0.97; '*S*': 0.00; 'third-party': 0.04; 'yet.': 0.04; 'cpython': 0.05; 'subject:Python': 0.06; 'remaining': 0.07; 'twisted,': 0.07; 'benefits,': 0.09; 'must,': 0.09; 'subject:Why': 0.09; 'python': 0.11; 'windows': 0.15; 'public,': 0.16; 'received:10.255': 0.16; 'true:': 0.16; 'url:appspot': 0.16; 'wrote:': 0.18; 'library': 0.18; 'any,': 0.19; 'small,': 0.19; 'header:User-Agent:1': 0.23; 'exists': 0.24; 'library,': 0.24; 'developing': 0.27; 'header:In-Reply-To:1': 0.27; 'scale': 0.29; "doesn't": 0.30; '(like': 0.30; "i'm": 0.30; 'getting': 0.31; 'received:10.0.0': 0.31; 'easy,': 0.31; 'libraries': 0.31; 'yourself.': 0.31; 'there.': 0.32; "i'd": 0.34; "can't": 0.35; 'but': 0.35; 'there': 0.35; '(e.g.,': 0.36; 'done': 0.36; 'subject:?': 0.36; 'received:10.0': 0.36; 'should': 0.36; 'received:10': 0.37; 'to:addr:python-list': 0.38; 'aside': 0.39; 'supporting': 0.39; 'to:addr:python.org': 0.39; 'either': 0.39; 'major': 0.40; 'eventually': 0.60; 'new': 0.61; "you're": 0.61; 'back': 0.62; 'such': 0.63; 'more': 0.64; 'needing': 0.65; 'audience': 0.74; 'present.': 0.74; 'heavy': 0.81; '3.4': 0.84; 'freebsd': 0.84; 'lean': 0.84; 'positively': 0.84; 'absolutely': 0.87; 'factors': 0.97
Date Fri, 18 Apr 2014 23:49:22 -0500
From Andrew Berg <aberg010@my.hennepintech.edu>
User-Agent Mozilla/5.0 (Windows NT 6.2; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0
MIME-Version 1.0
To <python-list@python.org>
Subject Re: Why Python 3?
References <CAJUMiQsdjw4oXVVthrOPTjzr19cpc8qw-vfPd3O8L-ShH6mc2g@mail.gmail.com>
In-Reply-To <CAJUMiQsdjw4oXVVthrOPTjzr19cpc8qw-vfPd3O8L-ShH6mc2g@mail.gmail.com>
Content-Type text/plain; charset="UTF-8"
Content-Transfer-Encoding 7bit
X-Originating-IP [98.240.141.71]
X-Forefront-PRVS 018632C080
X-Forefront-Antispam-Report SFV:NSPM; SFS:(10009001)(6009001)(428001)(199002)(189002)(24454002)(83322001)(65956001)(65806001)(77982001)(59896001)(66066001)(77096999)(87266999)(76176999)(79102001)(50986999)(65816999)(54356999)(20776003)(47776003)(80976001)(81342001)(87936001)(19580395003)(86362001)(99396002)(99136001)(46102001)(83506001)(92566001)(92726001)(76482001)(50466002)(75432001)(15202345003)(4396001)(15975445006)(64126003)(23676002)(31966008)(81542001)(74662001)(74502001)(83072002)(85852003); DIR:OUT; SFP:1101; SCL:1; SRVR:BL2PR03MB450; H:BY2PRD0310HT002.namprd03.prod.outlook.com; FPR:F617F087.9F345528.38E4936C.46EDFA22.202EF; MLV:sfv; PTR:InfoNoRecords; A:0; MX:1; LANG:en;
Received-SPF None (: my.HennepinTech.edu does not designate permitted sender hosts)
X-OriginatorOrg my.hennepintech.edu
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 <https://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 <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.9346.1397882978.18130.python-list@python.org> (permalink)
Lines 18
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1397882978 news.xs4all.nl 2931 [2001:888:2000:d::a6]:37703
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:70369

Show key headers only | View raw


On 2014.04.18 22:28, Anthony Papillion wrote:
> What is the general feel of /this/ community? I'm about to start a
> large scale Python project. Should it be done in 2 or 3? What are the
> benefits, aside from the 'it's the future' argument?
Python 3 is not the future; it is the present. If you're developing an application, just use Python 3.4 and don't look back unless you
absolutely positively *need* one of the big libraries that doesn't fully support Python 3 yet. The smaller ones either support it or have
been replaced, and the few remaining (e.g., Twisted, Django) are getting there. Python 2 still exists because there are very large existing
projects (some public, some private) that are not able to use Python 3 for some reason (like heavy dependence on a third-party that doesn't
support Python 3). If you are developing a new library, the decision is not likely going to be easy, but in general, I'd say the larger it
is, the more you should lean toward not having Python 2 support. Of course, there are going to be other factors such as your audience and
what, if any, third-party libraries you will need yourself. It's an awkward time to write a new library since supporting both 2 and 3 is a
major pain, and Python 2 is eventually going away, but you will still have a significant amount of people who will want to use the library
with things that can't support Python 3.

Use Python 2 if you must, but know that you will end up needing to migrate to Python 3 eventually.
It used to be that support for Python 3 among third-party libraries was small, but that is no longer true: http://python3wos.appspot.com/
-- 
CPython 3.4.0 | Windows NT 6.2.9200 / FreeBSD 10.0

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


Thread

Re: Why Python 3? Andrew Berg <aberg010@my.hennepintech.edu> - 2014-04-18 23:49 -0500

csiph-web