On 9/25/07, Ian Kelly <[EMAIL PROTECTED]> wrote:
>
> On 9/20/07, Leo Soto M. <[EMAIL PROTECTED]> wrote:
> > Oh, yeah. That's Jython's unicode(foo) calling foo.__str__ even when
> > hasattr(foo, '__unicode__') under some circumstances.
>
> In case you missed it, Jython 2.2.1rc1 was made available yesterday,
> and the changelog includes this line:
>     - [ 1799328 ] string formatting doesn't call __unicode__ on %s in
> unicode objects

Heh, that's my patch :)

But that only makes unicode string interpolation works on Jython, but
don't solve the problems caused by object.__unicode__ causing every
object having an __unicode__ attribute.

/me looks at the jython tracker

At least on SVN trunk , object.__unicode__ is gone too. So, #5560 is
no longer needed. Cool (But note that this doesn't come with Jython
2.2.1rc1).

-- 
Leo Soto M.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To post to this group, send email to django-developers@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to