[Python-Dev] RE: [Python-checkins] python/dist/src/Misc NEWS,
1.983, 1.984
Hye-Shik Chang
perky at i18n.org
Thu Jun 3 09:53:15 EDT 2004
On Thu, Jun 03, 2004 at 03:18:47PM +0200, Walter D?rwald wrote:
> 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.
>
Aah. Sorry. I've overlooked extensive use of UserString. :)
Could you review my patch?:
http://people.freebsd.org/~perky/userstring-width.diff
Hye-Shik
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://mail.python.org/pipermail/python-dev/attachments/20040603/a8cffba0/attachment.bin
More information about the Python-Dev
mailing list