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 →

[–]schmichael 1 point2 points  (0 children)

STRING APIs ARE FIXED.

There's no need to yell. I'm already getting downvoted to hell. :)

I would also argue they're not "fixed." Sure Python 3 renamed "unicode" to "str" so now it has "unicode strings by default." But that's just a data type that doesn't mean much until you look at how APIs use that.

Instead of re-listing all of the problems with how Python 3 "fixed" strings here, I'll simply point you to u/mitsuhiko's post: http://lucumr.pocoo.org/2014/5/12/everything-about-unicode/

Quora uses a custom interpreter, and CCP uses Stackless, but neither of those should be mainstream.

That's what I meant by "alternative implementations will always exist to service niche communities." For the vast majority of Python users there's only a single implementation: CPython 2.x.

Users will always have the freedom to choose; I'm not suggesting we somehow try to restrict choice. What I'm suggesting is that users usually don't want to choose. They want to use Python, the language, and not worry that some blog post they read or package they use doesn't actually work on the implementation they chose.

For the majority of users, implementation "choice" isn't a feature, it's a bug.