[Python-Dev] RE: [Python-checkins] python/dist/src/Misc NEWS,
1.983, 1.984
Walter Dörwald
walter at livinglogic.de
Thu Jun 3 09:18:47 EDT 2004
Hye-Shik Chang wrote:
> On Thu, Jun 03, 2004 at 12:26:43PM +0200, Walter D?rwald wrote:
>
>>Tony Meyer wrote:
>>
>>>[...]
>>>
>>>>! - Unicode type got two new methods now; iswide() and width(). They
>>>>! manipulate east asian width information from Unicode TR11.
>>
>>Should these methods be added to UserString too?
>
>
> iswide() and width() are for unicode objects only. Please see
> Martin's reply on addition of the methods to string objects:
> http://mail.python.org/pipermail/python-dev/2004-June/045153.html
Yes, but UserString.UserString can be used to wrap both str and
unicode objects.
Bye,
Walter Dörwald
More information about the Python-Dev
mailing list