Maybe, but there was no real rush. You could be perfectly fine using 2.7 for brand new enterprise applications. It's still being maintained.
I'd argue that the continual maintenance of each major version is what would qualify or disqualify a product for enterprise usage. If a product goes from 1.x > 2.x, breaks backwards compatibility, and drops 1.x immediately then yeah... that's risky. But if they went from 1.x > 2.x, break backwards compatibility, BUT still continued to maintain 1.x, it's fine.
Innovation is painstakingly slow if you have to worry about BC at every step.
Innovation is painstakingly slow if you have to worry about BC at every step.
Indeed, that's why Java is only just now getting lambdas, haha.
But that's also why Java is #1 on the TIOBE Index - companies whose main business is not technology have different priorities than those whose main business is technology.
If you don't want the new features, or only want a few, or other bits depend on you using this version, wait until you need enough of them for it to be worth the hassle, or until the other bits are upgraded.
If upgrading isn't a hassle, or you have no other bits, you aren't working on a big enough project :P
There are certain (big) flaws in Python 2 that have been fixed in Python 3. If you already know how to deal with those problems in 2 (like unicode, for example), you don't really have a rush to upgrade.
Of course, Python 3 has some nice new features (async, statistics module, matrix multiplicator operator, etc.) in the standard library, but usually there is a Python 2.7 third-party equivalent or it is only needed in very specific fields.
Because for a lot of people there's no real benefit. For the most part, you can do anything you need in 2.7. And 2.7 support ends in 2020, if I remember correctly, so there's not a big rush to get things switched over.
I always say that Python is the lone exception to the rule of "There are two kinds of programming languages: The kind everybody hates, and the kind nobody uses."
I... don't exactly know how it happened, but a lot of people use Python, and nobody seems to hate it that much.
13
u/halifaxdatageek May 27 '15
It took Django a couple weeks short of five years to transition to Python 3.
So yeah, that's what I mean.