On Mon, Feb 1, 2010 at 2:21 PM, Dino Viehland <di...@microsoft.com> wrote: > It always prefers __unicode__ over __str__. We can't really only call > __unicode__ when __str__ isn't there because __str__ is always there.
OK - didn't realize that. Not sure it would really improve the behaviour all that much anyway. Anything that really needs to know the difference and support IronPython can just check `str is unicode` anyway. Random thought: str(x, yes_really=True) to always call __str__? :) - Jeff _______________________________________________ Users mailing list Users@lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com