GOTCHA with list comprehension

Chris Angelico rosuav at gmail.com
Wed Aug 5 09:21:45 CEST 2015


On Wed, Aug 5, 2015 at 5:10 PM, Pavel S <pavel at schon.cz> 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


More information about the Python-list mailing list