3 ms·
Can vouch that as an amateur Python user from a country using "non-ASCII" language, py2 is a pain in ass when I was learning the language. It didn't help that
by fireattack 7y ago
Can vouch that as an amateur Python user from a country using "non-ASCII" language, py2 is a pain in ass when I was learning the language.
It didn't help that Py2's IDLE had (have? I didn't recall they actually resolved this, simply closed the issue) a major bug [1] that even if you explicitly use u-literals (a = u'日本語'), it will still be encoded in your locale (shift_JIS [2] in Japanese case), instead of unicode/utf-8. You can imagine how confused people would get when they were testing unicode support of py2 in IDLE and saw this.
[1] https://bugs.python.org/issue15809 https://bugs.python.org/issue15809
[2] https://en.wikipedia.org/wiki/Shift_JIS https://en.wikipedia.org/wiki/Shift_JIS