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


Groups > comp.lang.python > #95063

Re: GOTCHA with list comprehension

From Laura Creighton <lac@openend.se>
Subject Re: GOTCHA with list comprehension
References <ebf0a31e-1021-41d2-affb-8318838a464b@googlegroups.com><CAPTjJmr2KAJRSsD49+WnEmbGXdKvXB-v6eMdgv1HrBTSGJaeRQ@mail.gmail.com>
Date 2015-08-06 06:39 +0200
Newsgroups comp.lang.python
Message-ID <mailman.1266.1438835990.3674.python-list@python.org> (permalink)

Show all headers | View raw


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

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


Thread

GOTCHA with list comprehension Pavel S <pavel@schon.cz> - 2015-08-04 23:48 -0700
  Re: GOTCHA with list comprehension Pavel S <pavel@schon.cz> - 2015-08-05 00:03 -0700
    Re: GOTCHA with list comprehension Chris Angelico <rosuav@gmail.com> - 2015-08-05 17:20 +1000
  Re: GOTCHA with list comprehension Peter Otten <__peter__@web.de> - 2015-08-05 09:04 +0200
  Re: GOTCHA with list comprehension Chris Angelico <rosuav@gmail.com> - 2015-08-05 17:05 +1000
    Re: GOTCHA with list comprehension Pavel S <pavel@schon.cz> - 2015-08-05 00:10 -0700
      Re: GOTCHA with list comprehension Chris Angelico <rosuav@gmail.com> - 2015-08-05 17:21 +1000
        Re: GOTCHA with list comprehension Pavel S <pavel@schon.cz> - 2015-08-05 00:33 -0700
    Re: GOTCHA with list comprehension Marko Rauhamaa <marko@pacujo.net> - 2015-08-05 12:01 +0300
      Re: GOTCHA with list comprehension Chris Angelico <rosuav@gmail.com> - 2015-08-05 19:52 +1000
        Re: GOTCHA with list comprehension Marko Rauhamaa <marko@pacujo.net> - 2015-08-05 14:10 +0300
      Re: GOTCHA with list comprehension Saran Ahluwalia <ahlusar.ahluwalia@gmail.com> - 2015-08-07 09:08 -0400
  Re: GOTCHA with list comprehension Laura Creighton <lac@openend.se> - 2015-08-06 06:39 +0200
  Re: GOTCHA with list comprehension Chris Angelico <rosuav@gmail.com> - 2015-08-06 14:44 +1000

csiph-web