[Python-Dev] Re: test_string, test_unicode fail

Guido van Rossum guido@python.org
Thu, 20 Sep 2001 14:38:59 -0400


> > I urge you to reconsider how this change is implemented.  The implied
> > unicode() call for list items in the join() method is probably just
> > scratching the surface -- there are likely other places where now
> > suddenly everything is auto-converted to a unicode string.
> 
> Hmm, perhaps you are right and we should use a slightly extended
> version of PyObject_Unicode() for unicode() and leave 
> PyUnicode_FromObject() as it was (it only converted strings,
> buffers and instances implementing __str__ to Unicode).

This sounds like a much better idea to me.

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