[IronPython] Django, __unicode__, and #20366
jdhardy at gmail.com
Mon Feb 1 15:58:12 PST 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?
More information about the Users