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