[Python-3000] Need help fixing failing Py3k Unittests in py3k-struni (original) (raw)

Guido van Rossum guido at python.org
Wed Jul 11 23:03:03 CEST 2007


On 7/11/07, Walter Dörwald <walter at livinglogic.de> wrote:

I guess for the final version of Py3000 typesetname() in typeobject.c will not downgrade unicode strings to str8, but instead upgrade str8 objects to unicode.

Right, Thomas is working on this (but I have some feedback on his fix).

Also now that PyObjectUnicode() tries unicode first and then tpstr should we rename all unicode methods to str, or will unicode stay?

unicode should be renamed to str, or removed (depending on whether the str method already does the right thing).

-- --Guido van Rossum (home page: http://www.python.org/~guido/)



More information about the Python-3000 mailing list