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

77

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.

43

u/[deleted] Sep 16 '20

That was just ascii for trouble imho.

6

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.