Path: csiph.com!goblin2!goblin.stu.neva.ru!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.005 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'source,': 0.04; 'subject:skip:c 10': 0.07; 'cc:addr:python-list': 0.09; 'received:openend.se': 0.09; 'received:theraft.openend.se': 0.09; 'python': 0.10; '2.7': 0.13; 'wed,': 0.15; 'from:addr:lac': 0.16; 'from:addr:openend.se': 0.16; 'from:name:laura creighton': 0.16; 'message-id:@fido.openend.se': 0.16; 'received:89.233': 0.16; 'received:89.233.217': 0.16; 'received:89.233.217.133': 0.16; 'received:fido': 0.16; 'received:fido.openend.se': 0.16; 'say)': 0.16; 'utterly': 0.16; 'laura': 0.18; 'working.': 0.18; '2015': 0.20; 'cc:2**0': 0.20; 'cc:addr:python.org': 0.20; 'aug': 0.20; "aren't": 0.22; 'dependent': 0.23; 'header:In-Reply-To:1': 0.24; 'install': 0.25; 'subject:list': 0.26; 'chris': 0.26; 'packaging': 0.27; 'least': 0.27; 'values': 0.28; 'received:se': 0.29; 'that.': 0.30; 'branch': 0.30; "can't": 0.32; 'problem': 0.33; '(for': 0.34; 'running': 0.34; 'done': 0.35; 'skip:> 10': 0.35; 'subject:: ': 0.37; 'there,': 0.37; 'release': 0.37; 'charset:us-ascii': 0.37; 'version': 0.38; 'why': 0.39; 'subject:with': 0.40; 'some': 0.40; 'skip:u 10': 0.61; 'header:Message-Id:1': 0.61; 'back': 0.62; 'improved': 0.63; 'more': 0.63; 'grab': 0.64; 'restore': 0.70; 'yourself': 0.73; 'received:89': 0.80; '+1000,': 0.84; '2.7.': 0.84; 'upgrade,': 0.84; 'careful': 0.91 To: Chris Angelico cc: "python-list@python.org" From: Laura Creighton Subject: Re: GOTCHA with list comprehension In-Reply-To: Message from Chris Angelico of "Wed, 05 Aug 2015 17:05:49 +1000." References: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <32344.1438835983.1@fido> Date: Thu, 06 Aug 2015 06:39:43 +0200 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.3.9 (theraft.openend.se [89.233.217.130]); Thu, 06 Aug 2015 06:39:45 +0200 (CEST) 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: 21 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1438835990 news.xs4all.nl 2908 [2001:888:2000:d::a6]:37756 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:95063 In a message of Wed, 05 Aug 2015 17:05:49 +1000, Chris Angelico writes: >Incidentally, why Python 2.6? Python 2.7 has been out for a pretty >long time now, and if you can't move to version 3.x, I would at least >recommend using 2.7. Since the release of 2.6.9 back before Frozen >came out, that branch has been completely unmaintained. Grab yourself >a 2.7 and take advantage of some neat new features (for old values of >"new"), and improved compatibility with 3.x. > >ChrisA Be careful suggesting that people upgrade, at least until you have found out that they aren't running CentOS enterprise edition. The CentOS packaging system is utterly dependent on having the Python version it expects, and if you install a more recent version (from source, say) the whole packaging system will stop working. Recovering from this problem is also very, very difficult (unless you just restore from a recent full backup). Been there, done that. :( Laura