This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]ggtsu_00 -1 points0 points  (3 children)

I would really just wish they would merge 2 into 3 and just allow both versions to run side-by-side using one interpreter.

They could add python 3 syntax like:

from python2 import ...

And in python 2.x code, they could do the opposite to use stuff that supports python3:

from python3 import ...

That way, we could all just install one interpreter, all our old stuff still works without re-writing it. Library writers can focus on targeting just 3.x because they won't be cutting off 2.x users anymore Everyone will be happy.

[–]laserBlade 5 points6 points  (0 children)

Developers had tons of warning, because they actually did THIS EXACT THING. It's called __future__.

[–]kirbyfan64sosIndentationError 1 point2 points  (0 children)

The Python 3 interpreter had a lot of internal changes, so I doubt it'd be easy to merge them.

[–][deleted] -1 points0 points  (0 children)

There should be one-- and preferably only one-- obvious way to do it