News for hackers. Stuff that matters.
Re:Extend Python 2.7 life till 2020 by berberous on Sunday April 13, 2014 @01:49PM (#7582095)
I chose to learn Ruby in part because of the confusing Python 2/3 issue. I recognize that this is a largely stupid reason to choose a language, but when lots of people suggest that either language is great to pick-up, well, it was another easy reason to lean Ruby over Python.
Re:Extend Python 2.7 life till 2020 by eropple on Sunday April 13, 2014 @02:23PM (#7582264)
I don't agree at all that it's stupid (and I'm someone who'd generally pick Python over Ruby). Fragmentation sucks. Really bad fragmentation sucks more. Python's fragmentation is pretty bad.
Re:Extend Python 2.7 life till 2020 by diminish on Monday April 14, 2014 @08:15AM (#7585658)
It's funny reading this from the Zen of Python "There should be one-- and preferably only one --obvious way to do it." [1] while seeing that there are nearly two independent language/ecosystems with the name Python (namely version 2/3).

[1] http://legacy.python.org/dev/peps/pep-0020/

Re:Extend Python 2.7 life till 2020 by pornel on Sunday April 13, 2014 @04:26PM (#7582847)
Having a split like that in a language is terrible. You find libraries that work with not-your-version and you envy features that would make your code cleaner/faster/better, but you can't use them.

- "Ugh, that thing is lacking/stupid/messy."

- "Oh, no problem, that wart has been fixed in Python 3"

- "Can we use it?"

- "No."

Re:Extend Python 2.7 life till 2020 by meowface on Sunday April 13, 2014 @09:20PM (#7584016)
As a Python developer, usually this isn't a major problem for me when going out and finding libraries. Almost every library you find will support 2.7, so I pretty much stick to 2.7 when using or writing any code. I miss some of Python 3's good features but the library ecosystem is more important to me.

It's a real pain in the ass when I try to publish my own, though. The generally accepted rule is that all libraries must support 2.6 through 3.4, and this can be a major hassle.

Re:Extend Python 2.7 life till 2020 by pekk on Sunday April 13, 2014 @11:04PM (#7584311)
But you can use Python 3, it is your business if you decide you don't want to.
Re:Extend Python 2.7 life till 2020 by zgoat on Sunday April 13, 2014 @11:18PM (#7584341)
Not stupid at all. The same concerns and some bad experiences with 2/3 conflicts and deployment issues drove me to Go after investing quite a bit of time with Python, and I've not regretted it yet.

I'm not sure if it was something I did but I also occasionally found that when pip'ing Python 3 libraries with a lot of dependencies, occasionally some of them would actually be Python 2 libraries and things would break.

Re:Extend Python 2.7 life till 2020 by endemic on Sunday April 13, 2014 @02:28PM (#7582292)
Hear, hear.