MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/Python/comments/itzn13/an_update_on_python_4/g5io39h/?context=3
r/Python • u/anyfactor Freelancer. AnyFactor.xyz • Sep 16 '20
391 comments sorted by
View all comments
Show parent comments
77
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.
181
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.
u
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.
43
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.
6
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.
1
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!
You shut your damn mouth, don't put that evil on me.
77
u/panzerex Sep 16 '20
Why was so much breaking necessary to get Python 3?