[Python-Dev] C-API status of Python 3?
Greg Ewing
greg.ewing at canterbury.ac.nz
Sun Mar 2 23:11:08 CET 2008
M.-A. Lemburg wrote:
> Why not also make unicode() the default type constructor and only
> keep str() as alias to simplify porting (perhaps with a warning) ?
-1 on making us type 7 characters instead of
3 all over the place.
> The term "string" is just too overloaded with all kinds of
> misinterpretations. The term "string" just refers to a string of
> bytes - a variable length array so to speak.
I disagree -- "string" has come to mean "string of
characters" unless otherwise qualified. Using one
to hold non-characters is just an aberration that
was necessary in Python 2 because there wasn't much
alternative.
--
Greg
More information about the Python-Dev
mailing list