[Python-Dev] PEP 460: allowing %d and %f and mojibake (original) (raw)

Greg Ewing greg.ewing at canterbury.ac.nz
Tue Jan 14 23:12:48 CET 2014


Guido van Rossum wrote:

Actually, Nick explained that asciistr() + asciistr() returns str,

That part seems wrong to me, because it means that you can't write polymorphic byte/string functions that are composable.

I would be -1 on that, and prefer that asciistr + asciistr --> asciistr.

-- Greg



More information about the Python-Dev mailing list