Path: csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!feeder.erje.net!eu.feeder.erje.net!news-1.dfn.de!news.dfn.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Bob Martin Newsgroups: comp.lang.python Subject: Re: Code review? Date: Tue, 14 Jan 2014 07:22:01 GMT Lines: 24 Message-ID: References: <13BCC15D-B1E0-4AB2-9641-673D5B1B6FDD@gmail.com> X-Trace: individual.net /NYIkwaiMA/mCUw3iFCc8wL3aROemBVIyADj0tY2Hfp3jo1y5G X-Orig-Path: BERLIN : news.individual.net Cancel-Lock: sha1:v4DNaxLrZvrdsrG+VlmeWIsGkqA= Xref: csiph.com comp.lang.python:63871 in 714500 20140113 233415 Chris Angelico wrote: >On Tue, Jan 14, 2014 at 7:43 AM, Steven D'Aprano 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. Does any Linux distro ship with Python 3? I haven't seen one.