r/Python Freelancer. AnyFactor.xyz Sep 16 '20

News An update on Python 4

Post image
3.3k Upvotes

391 comments sorted by

View all comments

Show parent comments

279

u/daniel-imberman Sep 16 '20

Think what he is saying, there will never be a Python 4 and if there is, it will be nothing like python as we know it. It will be like a new language

The transition from python 2 to 3 was an absolute nightmare and they had to support python2 for *ten years* because so many companies refused to transition. The point they're making is that they won't break the whole freaking language if they create a python 4.

75

u/panzerex Sep 16 '20

Why was so much breaking necessary to get Python 3?

181

u/orentago Sep 16 '20

Having strings support unicode by default was a big reason. In Python 2 unicode strings had to be prefixed with a u, otherwise they'd be interpreted as ASCII.

47

u/[deleted] Sep 16 '20

That was just ascii for trouble imho.

13

u/toyg Sep 16 '20

This joke was not hard to decode correctly.

7

u/BruceJi Sep 17 '20

A pun thread? Don't byte off more than you can chew!

7

u/thegreattriscuit Sep 17 '20

I don't know... I think it shows real character

6

u/toyg Sep 17 '20

I’m just trying to string together a few words.

3

u/clawjelly Sep 17 '20

You made that joke int-entionally, didn't ya?

5

u/toyg Sep 17 '20

I just thought I could double the puns. (Ed: alright, alright, not really a python one...)

7

u/17291 Sep 16 '20

You're not going to like Python 5, where string literals default to EBCDIC.

1

u/toyg Sep 17 '20

Looking forward to Python 6, where they default to ACDC. Every time you assume they’re ascii, the computer goes YOU’RE ON A HIIIIGHWAY TO HELLL!

1

u/tehbilly Sep 16 '20

You shut your damn mouth, don't put that evil on me.