News for hackers. Stuff that matters.
Re:Why Are There So Many Pythons? by obblekk on Tuesday January 14, 2014 @10:20PM (#7061454)
Why isn't there a branch of python 2.7.2 which introduces the features from 3.x that don't require syntax changes and fixes known bugs in 2.7.2?

I get that these are the reward for upgrading, but it seems unreasonable to hold back.

Re:Why Are There So Many Pythons? by est on Wednesday January 15, 2014 @12:17AM (#7061790)
> Why isn't there a branch of python 2.7.2 which introduces the features from 3.x

Because 2.7 was born for this exact reason.

People use good enough 2.6 and need a bridge version between 2.6 and py3k. Many py3k features were backported to 2.7 as well.

Now you want bridge over bridge?

Re:Why Are There So Many Pythons? by sitkack on Wednesday January 15, 2014 @11:33AM (#7064248)
That would be bridge-on-bridge technology and I have a patent for that.
Re:Why Are There So Many Pythons? by maxerickson on Tuesday January 14, 2014 @10:30PM (#7061479)
The current release of 2.7 is 2.7.6. New bugfix releases are planned until at least 2015 (this is from the release pep: http://www.python.org/dev/peps/pep-0373/ ).
Re:Why Are There So Many Pythons? by wyager on Tuesday January 14, 2014 @10:26PM (#7061470)
That would be nice.

I don't like 3.x because A) I can't unpack tuples in lambda or function arguments and B) the new "encode"/"decode" scheme sucks. They have the right idea, but it's implemented poorly. I miss being able to do .encode('hex') or .decode('hex'), and I think the reasoning against this is weak. There are a lot of other little issues like this that remove a lot of the expressivity I'm used to from 2.7. Those are just the two that bother me the most.

Re:Why Are There So Many Pythons? by enjo on Tuesday January 14, 2014 @10:26PM (#7061471)
That was the decision made to force 3.x adoption. I wholly support it.
Re:Why Are There So Many Pythons? by Goopplesoft on Tuesday January 14, 2014 @11:33PM (#7061690)
That would be the death of Python 3. Promoting adoption is already hard enough...
Re:Why Are There So Many Pythons? by adharmad on Tuesday January 14, 2014 @10:59PM (#7061584)
Shouldn't it be possible/feasible to form Python 2.7 and backport bugs/performance improvements from the 3.x branch? I am surprised that someone like Redhat has not done this yet.

The Python community will not like it, but if there is enough demand/contributors to make it so, surely they will not refuse patches?

Re:Why Are There So Many Pythons? by briancurtin on Wednesday January 15, 2014 @12:30AM (#7061833)
Bug fixes already get backported. Features will not be added in the 2.7 line.
Re:Why Are There So Many Pythons? by sitkack on Wednesday January 15, 2014 @11:29AM (#7064224)
Someone else mentioned future, http://python-future.org but I thought I would give it another shout out.

> future is the missing compatibility layer between Python 2 > and Python 3. It allows you to use a single, clean > Python 3.x-compatible codebase to support both Python 2 > and Python 3 with minimal overhead.

So in effect, you can run with some Python3 isms on Python2. All your Python is now 3 like and you can start migrating without losing the underlying infrastructure.

Re:Why Are There So Many Pythons? by lonetwin on Wednesday January 15, 2014 @12:18AM (#7061794)
http://python-future.org/index.html was recently launched for this. Is that something that you could use ?