Code review?

Chris Angelico rosuav at gmail.com
Mon Jan 13 18:34:15 EST 2014


On Tue, Jan 14, 2014 at 7:43 AM, Steven D'Aprano <steve at pearwood.info> wrote:
> On Tue, 14 Jan 2014 03:40:25 +1100, Chris Angelico wrote:
>
>> Incidentally, is there a reason you're using Python 2.6? You should be
>> able to upgrade at least to 2.7, and Flask ought to work fine on 3.3
>> (the current stable Python). If it's the beginning of your project, and
>> you have nothing binding you to Python 2, go with Python 3. Converting a
>> small project now will save you the job of converting a big project in
>> ten years' time
>
> Everything you say is correct, but remember that there is a rather large
> ecosystem of people writing code to run on servers where the supported
> version of Python is 2.6, 2.5, 2.4 and even 2.3. RedHat, for example,
> still has at least one version of RHEL still under commercial support
> where the system Python is 2.3, at least that was the case a few months
> back, it may have reached end-of-life by now. But 2.4 will definitely
> still be under support.

Pledging that your app will run on the system Python of RHEL is
something that binds you to a particular set of versions of Python.
It's not just library support that does that.

ChrisA



More information about the Python-list mailing list