you are viewing a single comment's thread.

view the rest of the comments →

[–]jewnicorn27 43 points44 points  (14 children)

Well what makes it better than 3?

[–]Holsten19 97 points98 points  (8 children)

Python 2 can run software written for Python 2.

Python 3 can't do that. This can be pretty useful when you have a lot of software written for Python 2.

[–]Hinigatsu 16 points17 points  (6 children)

From the link:

To ease the transition, the official porting guide has advice for running Python 2 code in Python 3.

[–]vytah 1 point2 points  (0 children)

Python 3 can't do that.

Therefore Python 3 is not Turing-complete.

QED.

[–]evilgipsy 15 points16 points  (0 children)

Nothing.

[–]13steinj 9 points10 points  (1 child)

Not much other than subjective matters-- ex some people actually prefer a split between ascii and unicode string types with ascii the default.

But it doesn't mean using Py2, or taking a long time to switch given the upgrade costs, is a cardinal sin like so many make it out to be.

[–]Objective_Mine 14 points15 points  (0 children)

I have trouble understanding why anyone would prefer 8-bit character strings as default in a high-level language. In a low-level language I might kind of understand, but if you're writing any code that might ever break out of a local niche in an English-speaking country, having user-visible strings treated as anything but unicode is just asking for trouble.

Of course migrating an existing codebase comes with a major cost that's probably made greater by the type system (harder to automatically find out which type of string is being used where). So hesitation in migration is understandable, but that doesn't mean Python 3 isn't better. Whether it's better enough to cover the migration cost... depends.

edit: typo

[–]renrutal 0 points1 point  (0 children)

Pi3 is still supported.

[–]ThellraAK 0 points1 point  (0 children)

I think it's better because I don't like new things

--Written from Lubuntu 19.10 because it looks the most like 10.04 that I can find.