Using Python 2 (was: Design: method in class or general function?)

Chris Angelico rosuav at gmail.com
Fri Sep 8 08:32:03 EDT 2017


On Fri, Sep 8, 2017 at 8:12 PM, Leam Hall <leamhall at gmail.com> wrote:
> However, those millions of servers are running Python 2.6 and a smaller
> number running 2.7. At least in the US market since Red Hat Enterprise Linux
> and its derivatives run 2.6.6 (RHEL 6) or 2.7.5 (RHEL 7). Not sure what
> Python SuSE uses but they seem to have a fairly large European footprint.
> RHEL 7 goes out the active support door (End of Production Phase 3)
> mid-2024.

How many servers are still running RHEL 6 and can't upgrade to RHEL 7
(or later) before 2020? If you absolutely cannot upgrade to Python 3,
at least upgrade to 2.7. But as others have said, upgrading to 3.4+ is
not as hard as many people fear, and your code generally improves as a
result - for example, you often get improvements in
internationalization support from the text/bytes split.

ChrisA



More information about the Python-list mailing list