Path: csiph.com!optima2.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!1.eu.feeder.erje.net!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.003 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'skip:/ 10': 0.07; 'subject:skip:c 10': 0.07; 'cc:addr:python-list': 0.09; 'pavel': 0.09; 'yeah,': 0.09; 'python': 0.10; 'wed,': 0.15; '--version': 0.16; 'fixes.': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'longer.': 0.16; 'wrote:': 0.16; '2015': 0.20; 'cc:2**0': 0.20; 'cc:addr:python.org': 0.20; 'aug': 0.20; 'meant': 0.22; 'code,': 0.23; 'header:In-Reply-To:1': 0.24; 'subject:list': 0.26; 'linux': 0.26; 'message-id:@mail.gmail.com': 0.27; '2.6': 0.27; 'cat': 0.29; 'guess': 0.31; 'probably': 0.31; 'possibly': 0.32; 'server': 0.34; 'received:google.com': 0.35; 'so,': 0.35; 'quite': 0.35; 'supports': 0.35; 'pm,': 0.36; 'subject:: ': 0.37; 'support,': 0.37; 'release': 0.37; 'version': 0.38; 'stuff': 0.38; 'why': 0.39; 'subject:with': 0.40; '6.5': 0.84; 'chrisa': 0.84; 'to:none': 0.91 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=Fjgnw6dvAhJzaiob/XjPvtFBlJSFYqH5Y5xW0B8K/nM=; b=Eduvv/wkDzxEoDnFNuD6RJGK17kS0d8NUMl4JkOJgtSTQGGofRMDPs5sTfeV7zMiB6 0Q1WgCzggSGTOps1jrNl2CTZ3Pt51snWWUbybCRlINtGo/sOFWufKILnNte00lTQvSuf +wbD/P8qia7cMCurVY93NxB2TCnh9tGPr6T1L+4sYpW4w5HucrSdBH09xdgqTbb6YmBT 5LCBWJEg4GVspD1Myn4VLKGhO+maLQ4cLojdFpnR6MbzfPM7DcEtVlMAb6OadIMLpMGf 509QnlW3ZallGgi8vA9Tr5tWvUhKTnnyY31EjST+bAklkxW81BnrMLqnwGIcgelLxy8p PMBw== MIME-Version: 1.0 X-Received: by 10.50.221.107 with SMTP id qd11mr8961962igc.13.1438759305285; Wed, 05 Aug 2015 00:21:45 -0700 (PDT) In-Reply-To: <414aa23b-6690-449e-846b-af6278999a94@googlegroups.com> References: <414aa23b-6690-449e-846b-af6278999a94@googlegroups.com> Date: Wed, 5 Aug 2015 17:21:45 +1000 Subject: Re: GOTCHA with list comprehension 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: 20 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1438759313 news.xs4all.nl 2834 [2001:888:2000:d::a6]:39393 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:95002 On Wed, Aug 5, 2015 at 5:10 PM, Pavel S wrote: > $ cat /etc/redhat-release > Red Hat Enterprise Linux Server release 6.5 (Santiago) > $ python --version > Python 2.6.6 > >> Incidentally, why Python 2.6? >> I guess that would be why :) That's probably actually a patched 2.6.6 - from what I understand of how Red Hat works, the version number is the number of the *oldest* part of the code, so that quite possibly has a lot of backported fixes. When I said 2.6 was out of support, I meant from python.org; Red Hat supports stuff for a lot longer. So, yeah, perfectly good reason for sticking with 2.6. For now. :) ChrisA