Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Strings should be byte strings. Not ASCII, not Unicode. Bytes.

Strings don't represent Text lest I decide they do. For this a UnicodeString object should exist, and it should _not_ be the default.

In my latest project I've made myself use Python 3.4 over 2.7, for its new great features. So many steps forward, except this one thing.

What a stupid decision are these default Unicode strings...



Wouldn't people be complaining if "the unicode problem" hadn't been solved in Python rather than leaving it an undefined mess? Now it is a solved problem even if the solution is seen as a problem by some.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: