[Python-Dev] __str__ vs. __unicode__

Brett C. bac at OCF.Berkeley.EDU
Fri Feb 25 03:58:39 CET 2005


Brett C. wrote:
> Walter Dörwald wrote:
> 
>> Brett C. wrote:
>>
>>> Walter Dörwald wrote:
>>>
>>>> M.-A. Lemburg wrote:
>>>>
>>>>> [...]
>>>>> I don't have a clear picture of what the consensus currently
>>>>> looks like :-)
>>>>>
>>>>> If we're going for for a solution that implements the hook
>>>>> awareness for all __<typename>__ hooks, I'd be +1 on that.
>>>>> If we only touch the __unicode__ case, we'd only be created
>>>>> yet another special case. I'd vote -0 on that.
[SNIP]
> Since this is a semantic change probably need Guido to OK this?

... which we now have.  Assigned the patch to myself.  I will get to it eventually.

-Brett


More information about the Python-Dev mailing list