Python was designed (was Re: Multi-threading in Python vs Java)

wxjmfauth at gmail.com wxjmfauth at gmail.com
Tue Oct 15 16:11:17 EDT 2013


Le lundi 14 octobre 2013 21:18:59 UTC+2, John Nagle a écrit :

----

[...]
> 
>     No, Python went through the usual design screwups.  Look at how
> 
> painful the slow transition to Unicode was, from just "str" to
> 
> Unicode strings, ASCII strings, byte strings, byte arrays,
> 
> 16 and 31 bit character builds, and finally automatic switching
> 
> between rune widths. [...]


Yes, a real disaster.

This "poor" Python is spending its time in reencoding
when necessary, without counting the fact it's necessary to
check if reencoding is needed.

Where is Unicode? Away.

jmf




More information about the Python-list mailing list