Path: csiph.com!usenet.pasdenom.info!news.redatomik.org!newsfeed.xs4all.nl!newsfeed8.news.xs4all.nl!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 X-Spam-Status: OK 0.001 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'python,': 0.02; '16,': 0.03; 'heavily': 0.04; 'puts': 0.07; 'repeated': 0.07; 'subject:test': 0.07; 'cc:addr:python-list': 0.09; 'activity.': 0.09; 'metrics': 0.09; 'naturally': 0.09; 'python': 0.10; 'thursday,': 0.13; '(there': 0.16; 'caveats': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'places.': 0.16; 'skewed': 0.16; 'subject:Problem': 0.16; 'subject:case': 0.16; 'subject:simple': 0.16; "where's": 0.16; 'wrote:': 0.16; 'differ': 0.18; 'figures': 0.18; 'version.': 0.18; 'written,': 0.18; '2015': 0.20; 'cc:2**0': 0.20; 'cc:addr:python.org': 0.20; 'am,': 0.23; 'header:In-Reply-To:1': 0.24; 'linux': 0.26; 'van': 0.26; 'chris': 0.26; 'fri,': 0.27; 'message-id:@mail.gmail.com': 0.27; 'tend': 0.27; 'correct': 0.28; 'certainly': 0.30; 'post': 0.31; 'statement': 0.32; 'source': 0.33; 'that,': 0.34; 'received:google.com': 0.35; 'downloads': 0.35; 'exist': 0.35; 'stable': 0.35; 'but': 0.36; 'subject:: ': 0.37; 'agree': 0.37; 'integration': 0.38; 'no,': 0.38; 'several': 0.38; "didn't": 0.39; 'subject:with': 0.40; 'still': 0.40; 'some': 0.40; 'show': 0.62; 'more': 0.63; 'different': 0.63; 'more.': 0.63; 'latest': 0.64; 'continuous': 0.66; 'url:2014': 0.66; 'results': 0.66; 'subject:. ': 0.67; 'jul': 0.72; '3.4': 0.84; 'chrisa': 0.84; 'hardly': 0.84; 'url:03': 0.84; 'to:none': 0.91; 'ratio': 0.91; 'info,': 0.93 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; bh=fCOfN6zROr2m4+067Q9sidWoBvT095IiBs2Li+hb4z4=; b=RSyNWPIeB5fFvBjyK42qWWaj//DhWHA8Vi6dqgFk1dhoqyss6wG/YBBjfjnwBJ70gy 0yxYDif293T60JsOvdjsn2ufv2LzNRh8gKYG5qMsuy7d7BDW9iar2NKfV7T6P+fX5o1c aU6oP3E0NjUs32HZp9TbS/thEEJmYSFbmkrKdT5offAH/53xShzcQkkjAfmsVYFnuptm UAbEM1Pu8jBxlSIlz+BN95GQ520CTvfxzUE1c9LIDkIyL3RjFU8zxZCj9ugZkhQygRvF DLiwTV74jzJU0gu2Kvp+ocQAxB11HSgTdyIASR1OHmOZmKf/cxXWYBVH54RRwDcQtPvT VmoQ== MIME-Version: 1.0 X-Received: by 10.50.134.196 with SMTP id pm4mr6792456igb.6.1437089041138; Thu, 16 Jul 2015 16:24:01 -0700 (PDT) In-Reply-To: References: <0165e508-b3b4-4a95-b1bb-e115893056f8@googlegroups.com> <79mdneVqW9UGgzrInZ2dnUU7-cOdnZ2d@giganews.com> <049ae0f4-96d1-4155-8618-32c8931febb0@googlegroups.com> Date: Fri, 17 Jul 2015 09:24:01 +1000 Subject: Re: Noob in Python. Problem with fairly simple test case From: Chris Angelico Cc: "python-list@python.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.20+ 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: 39 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1437089044 news.xs4all.nl 2883 [2001:888:2000:d::a6]:42623 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:93969 On Fri, Jul 17, 2015 at 7:27 AM, Emile van Sebille wrote: > On Thursday, July 16, 2015 at 3:11:56 PM UTC-5, Chris Angelico wrote: > >> Where's the latest survey results? I think the numbers don't agree >> with you any more. > > > Not that there's a source for that info, but a quick survey of yahoo results > certainly continues to show more v2 activity. > > --anytime-- > python v3 -- 1430000 > python v2 -- 1890000 > > --Past month-- > python v3 -- 386000 > python v2 -- 554000 Yes, and this is skewed somewhat by the Linux distros that ship Python 2 as the system Python, which leads to automatic use of Py2 in various places. Even if you don't correct for that, these figures show *at most* 30-50% more Py2 usage than Py3, which hardly justifies Rick's statement that the "vast majority" of Python is 2.x. Different metrics differ in the exact figures, but none show a 99:1 ratio or even 90:10 for any recent stats. The most skewed I can find puts Py2 at about 90%, of which a significant slab is 2.6, and 3.4 didn't exist yet: https://alexgaynor.net/2014/jan/03/pypi-download-statistics/ (There are some 3.4 downloads in the stats, but they come from beta users; when that blog post was written, 3.4 final was still several months away.) And the post makes several caveats about repeated downloads from eg continuous integration systems, which naturally will tend to be skewed heavily toward the old stable version. No, the "vast majority" of Python is no longer on a single version. ChrisA