[Python-3000] Recursive str

Greg Ewing greg.ewing at canterbury.ac.nz
Tue Apr 15 03:23:56 CEST 2008


Guido van Rossum wrote:

> A complaint about this would carry more weight when it came from
> someone who actually has to deal with the issue

It's not a complaint, just something I thought of. If
Japanese programmers aren't actually bothered by this,
then I'm not either.

> Another issue is that repr() is supposed to return an 8-bit string.

If that's still true by definition in the new unicode-only
world, then I guess there's no problem.

But what do you mean by an "8-bit string" in py3k? A
unicode string with all char codes <= 255, or a byte
array?

If the former, what's the rationale for making that
8 bits and not 7?

I'm just trying to understand how the old rules and
conventions translate to the new world.

-- 
Greg


More information about the Python-3000 mailing list