Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!news.stack.nl!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=python.org; s=200901; t=1418329059; bh=Nccv+rcPaMqRrU6cWyoAI+IFGqC0kX9qqqjf5Cl7i08=; h=References:From:Date:Subject:To:Cc:From; b=PeSu6a2kjFBcpi+51iLvX5fsjgfKwxfY82KLj81Vp1kPxsMqw7t9yARsB3IvRcAWY /IV4CBau/TNM7xAhRnMxJ8W2+Vu+ol66KXuxD1XIL8UrU55UFjCWWfRJ61YpmSPC8h hmsQ1joUumnzElIM8epr8KwfieKp+ZeBvfi9Szr4= X-Spam-Status: OK 0.000 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'subject:: [': 0.04; 'interpreter': 0.05; 'subject:Python': 0.06; '(using': 0.07; 'see:': 0.07; 'dan': 0.09; 'from:addr:brett': 0.09; 'from:name:brett cannon': 0.09; 'migration': 0.09; 'thu': 0.09; 'cc:addr:python-list': 0.11; 'python': 0.11; "wouldn't": 0.14; 'cc:name:python list': 0.16; 'interpreter,': 0.16; 'route,': 0.16; 'skip:~ 20': 0.16; 'subject:Dev': 0.16; 'subject:edition': 0.16; 'url:appspot': 0.16; 'url:svn': 0.16; 'ignore': 0.16; 'from:addr:python.org': 0.16; 'wrote:': 0.18; 'thu,': 0.19; 'subject:] ': 0.20; 'written': 0.21; 'cc:addr:gmail.com': 0.22; 'email addr:gmail.com>': 0.22; 'saying': 0.22; 'cc:addr:python.org': 0.22; '2.x': 0.24; "aren't": 0.24; 'url:moin': 0.24; "i've": 0.25; '>': 0.26; 'to:2**1': 0.27; 'am,': 0.29; 'related': 0.29; "doesn't": 0.30; 'cc:2**2': 0.30; 'change,': 0.30; 'dec': 0.30; 'important.': 0.30; 'message- id:@mail.gmail.com': 0.30; 'code': 0.31; 'url:wiki': 0.31; 'usually': 0.31; '1.4': 0.31; '3.x': 0.31; 'bad.': 0.31; 'gather': 0.31; 'libraries': 0.31; 'perl': 0.31; 'option': 0.32; 'run': 0.32; 'url:python': 0.33; 'running': 0.33; 'received:209.85': 0.35; 'received:209.85.220': 0.35; 'skip:s 30': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'url:org': 0.36; 'received:209': 0.37; 'checks': 0.38; 'anything': 0.39; 'either': 0.39; 'to:addr:gmail.com': 0.65; 'world': 0.66; 'believe': 0.68; 'alone.': 0.84; 'subject:survey': 0.84; 'migrating': 0.91; 'incredibly': 0.96; 'wholesale': 0.96 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=mime-version:references:from:date:message-id:subject:to:cc :content-type; bh=t8KEO8RndHgcyDAi6AZTViJHJ99LaJQmeTJvLNYbpLU=; b=YVTAKgk+iOQvvZFnF6Zlm+PktW6ft1T9bU/572FZvKZ62qMuVhWcGTPyB3zUcRRg/j K65gtsygUsgVOy7L2TC1w6RUoT2jmle6iSTIIrRd83uUa7UDtKgf4t3WiQC5ZJEydQ3O gTlyxSqMVtGb/Qu1zhwtXg+WtjwDQhzogxtV6t9a/yqn0uhFYu+7tddoLTN2PhRZRCyr TouPEbD/VT40XVUU3kYkFVbWzvUqjywb9ERlPkS2n4S6Kzkhg48m5X3E73U4KmzcRaPF 2MsceiYJy1L6qVBEArXfVglpHf6zRuNOhtR6GLjvpU4Y2NRmH5+Xndm9VjQBlJPtWOIq LOPg== X-Received: by 10.220.237.134 with SMTP id ko6mr8558201vcb.57.1418329052687; Thu, 11 Dec 2014 12:17:32 -0800 (PST) MIME-Version: 1.0 References: From: Brett Cannon Date: Thu, 11 Dec 2014 20:17:31 +0000 Subject: Re: [Python-Dev] Python 2.x and 3.x use survey, 2014 edition To: Dan Stromberg , Mark Roberts Content-Type: multipart/alternative; boundary=047d7b3433285c37440509f677bf Cc: Python List , Dan Stromberg , python-dev X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 90 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1418329061 news.xs4all.nl 2886 [2001:888:2000:d::a6]:35200 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:82381 --047d7b3433285c37440509f677bf Content-Type: text/plain; charset=UTF-8 On Thu Dec 11 2014 at 3:14:42 PM Dan Stromberg wrote: > On Thu, Dec 11, 2014 at 11:35 AM, Mark Roberts wrote: > > I disagree. I know there's a huge focus on The Big Libraries (and > wholesale > > migration is all but impossible without them), but the long tail of > > libraries is still incredibly important. It's like saying that migrating > the > > top 10 Perl libraries to Perl 6 would allow people to completely ignore > all > > of CPAN. It just doesn't make sense. > > Things in the Python 2.x vs 3.x world aren't that bad. > > See: > https://python3wos.appspot.com/ and > https://wiki.python.org/moin/PortingPythonToPy3k > http://stromberg.dnsalias.org/~strombrg/Intro-to-Python/ (writing code > to run on 2.x and 3.x) > > I believe just about everything I've written over the last few years > either ran on 2.x and 3.x unmodified, or ran on 3.x alone. If you go > the former route, you don't need to wait for your libraries to be > updated. > > I usually run pylint twice for my projects (after each change, prior > to checkin), once with a 2.x interpreter, and once with a 3.x > interpreter (using > http://stromberg.dnsalias.org/svn/this-pylint/trunk/this-pylint) , but > I gather pylint has the option of running on a 2.x interpreter and > warning about anything that wouldn't work on 3.x. > Pylint 1.4 has a --py3k flag to run only checks related to Python 3 compatibility under Python 2. --047d7b3433285c37440509f677bf Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

On Thu Dec 11 2014 at 3:14:42 PM Dan Str= omberg <drsalists@gmail.com&g= t; wrote:
On Thu, Dec 11, 2014 at 11:35 A= M, Mark Roberts <w= izzat@gmail.com> wrote:
> I disagree. I know there's a huge focus on The Big Libraries (and = wholesale
> migration is all but impossible without them), but the long tail of > libraries is still incredibly important. It's like saying that mig= rating the
> top 10 Perl libraries to Perl 6 would allow people to completely ignor= e all
> of CPAN. It just doesn't make sense.

Things in the Python 2.x vs 3.x world aren't that bad.

See:
https://pytho= n3wos.appspot.com/ and
https://wiki.python.org/moin/PortingPythonToPy3k
http://stromberg.dnsalias.org/~strombrg/Intro-to-Python/= (writing code
to run on 2.x and 3.x)

I believe just about everything I've written over the last few years either ran on 2.x and 3.x unmodified, or ran on 3.x alone.=C2=A0 If you go<= br> the former route, you don't need to wait for your libraries to be
updated.

I usually run pylint twice for my projects (after each change, prior
to checkin), once with a 2.x interpreter, and once with a 3.x
interpreter (using
http://stromberg.dnsalias.org/svn/this-pylint/tru= nk/this-pylint) , but
I gather pylint has the option of running on a 2.x interpreter and
warning about anything that wouldn't work on 3.x.
=
Pylint 1.4 has a --py3k flag to run only checks related to P= ython 3 compatibility under Python 2.=C2=A0
--047d7b3433285c37440509f677bf--