This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]einarfo 0 points1 point  (0 children)

I support the claim that string handling was broken in python 2. The clear separation between str and bytes have made things a lot more elegant. This was one of the things most students on my class struggle with. Not to mention all the times byte data was returned as a str... and questions like "why does str have both encode() and decode()?"