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


Groups > comp.lang.python > #95065

Re: GOTCHA with list comprehension

References <ebf0a31e-1021-41d2-affb-8318838a464b@googlegroups.com> <rosuav@gmail.com> <CAPTjJmr2KAJRSsD49+WnEmbGXdKvXB-v6eMdgv1HrBTSGJaeRQ@mail.gmail.com> <201508060439.t764dhdh032346@fido.openend.se>
Date 2015-08-06 14:44 +1000
Subject Re: GOTCHA with list comprehension
From Chris Angelico <rosuav@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.1267.1438836265.3674.python-list@python.org> (permalink)

Show all headers | View raw


On Thu, Aug 6, 2015 at 2:39 PM, Laura Creighton <lac@openend.se> wrote:
> 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. :(

Yeah. Fortunately there are ways to leave the system Python untouched
while adding in another Python for some other purpose... and, if
you're desperate enough, you can even leave the Apache-Python bridge
using an older build of Python while running key parts of your web
application in a newer version,  but that requires a certain measure
of insanity!

There will come a time, though, when every supported Linux distro is
shipping either 2.7 or 3.x. And it isn't far off. When that happens,
advising the upgrade will be simple.

ChrisA

Back to comp.lang.python | Previous | NextPrevious 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