Documentation for "str()" could use some adjustment - Unicode issue
John Nagle
nagle at animats.com
Tue Mar 20 15:45:15 EDT 2007
Alex Martelli wrote:
> John Nagle <nagle at animats.com> wrote:
> ...
>
>> The real problem is the published books on Python:
>>
>>"Learning Python", by Lutz and Ascher:
>> "str(string) -- returns the string representation of any object."
>>
>>"Python in a Nutshell", by Martelli
>> Doesn't really address the issue, but says that "print" calls
>>"str" for conversions.
>>
>>Neither of these mentions that "str" is ASCII-only.
>
>
> Are you looking at p. 109 of the 2nd edition of the Nutshell?
No, I'm looking at the original edition from 2003. That
was what Borders had in stock late last year.
John Nagle
More information about the Python-list
mailing list