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

Walter Dörwald walter at livinglogic.de
Thu Jul 12 14:16:33 CEST 2007


Guido van Rossum wrote:

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).

I've dropped unicode from tkinter. The only remaining unicode use is in the email package (besides the tests, where IMHO unicode should stay as long as its handled by PyObject_Unicode()). email.Header.Header defines a unicode which is different from the str method. I guess Barry will know how to fix this.

Servus, Walter



More information about the Python-3000 mailing list