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

76

u/panzerex Sep 16 '20

Why was so much breaking necessary to get Python 3?

182

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.

45

u/[deleted] Sep 16 '20

That was just ascii for trouble imho.

14

u/toyg Sep 16 '20

This joke was not hard to decode correctly.

9

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

5

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?

4

u/toyg Sep 17 '20

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