[IronPython] Django, __unicode__, and #20366

Jeff Hardy jdhardy at gmail.com
Tue Feb 2 00:58:12 CET 2010

On Mon, Feb 1, 2010 at 2:46 PM, Dino Viehland <dinov at microsoft.com> wrote:
> I could see is making unicode(foo) do something different.  If you aliased
> unicode then you'd get str's behavior though but that might be perfectly
> acceptable.  It's definitely a solution I had not considered and it'd
> probably fix multiple issues.

Presumably then str and unicode would no longer be equal? Or are you
thinking of something fancier?

Also, in what cases would anyone *want* to alias unicode?

- Jeff

More information about the Ironpython-users mailing list