[Python-Dev] unicode and __str__
"Martin v. Löwis"
martin at v.loewis.de
Tue Aug 31 06:56:26 CEST 2004
Skip Montanaro wrote:
> Neil> Shouldn't we be heading to a world where __str__ always returns
> Neil> unicode objects?
>
> Which reminds me... Didn't someone (MAL?) add an experimental configure
> flag or something similar to allow building Python with PyString* ==
> PyUnicode* (or something like that)? I think the idea was to see what needs
> to be fixed before Python can become 100% Unicode. Last I recall it was
> lots.
The option is -U, and it causes string literals to be treated as Unicode
objects. Currently, it gets so far as to start the interactive
interpreter.
Regards,
Martin
More information about the Python-Dev
mailing list