[IronPython] Django, __unicode__, and #20366

Jeff Hardy jdhardy at gmail.com
Mon Feb 1 22:16:14 CET 2010

On Mon, Feb 1, 2010 at 1:19 PM, Dino Viehland <dinov at microsoft.com> wrote:
> My initial test job didn't include support for __unicode__ on old-style classes or have the fix for exceptions.  I'm sending it through again to make sure those two changes didn't break anything else.  But I'm inclined to say that this change is for the better.  Thoughts?

How does the implementation work? Does always it prefer __unicode__ to
__str__, or does it only call __unicode__ if it is present and __str__
is missing?

- Jeff

More information about the Ironpython-users mailing list