Cult-like behaviour [was Re: Kindness]
jlee54 at gmail.com
Sun Jul 15 20:39:55 EDT 2018
On 07/15/18 17:18, Steven D'Aprano wrote:
> On Sun, 15 Jul 2018 16:08:15 -0700, Jim Lee wrote:
>> Python3 is intrinsically tied to Unicode for string handling. Therefore,
>> the Python programmer is forced to deal with it (in all but trivial
>> cases), rather than given a choice. So I don't understand how I can
>> illustrate my point with Python code since Python won't let me deal with
>> strings without also dealing with Unicode.
> b"Look ma, a Python 2 style ASCII string."
As I said, all but trivial cases.
Do you consider separating Unicode strings from byte strings, having to
decode and encode from one to the other, and knowing which
functions/methods accept one, the other, or both as arguments, as "not
dealing with Unicode"? I don't.
More information about the Python-list