On Thu, Sep 09, 2004 at 02:00:03PM -0400, Neil Schemenauer wrote: > Sorry, that statement was not quite accurate. Example code is > better. > > class Foo: > def __str__(self): > return u'\u1234' > > u'%s' % Foo() # doesn't work in 2.3 but works in 2.4 Ah, I see. In any case I consider this (returning non-ASCII string from __str__) as a very bad style (yes, I am reading python-dev). Oleg. -- Oleg Broytmann http://phd.pp.ru/ phd@phd.pp.ru Programmers don't die, they just GOSUB without RETURN.