[Python-bugs-list] [ python-Bugs-417030 ] print '%*s' fails for unicode string

noreply@sourceforge.net noreply@sourceforge.net
Wed, 02 May 2001 06:18:00 -0700


Bugs item #417030, was updated on 2001-04-18 05:53
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=417030&group_id=5470

>Category: Unicode
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 6
Submitted By: Barry Alan Scott (barry-scott)
Assigned to: M.-A. Lemburg (lemburg)
Summary: print '%*s' fails for unicode string

Initial Comment:
Python 2.0 (#8, Dec 13 2000, 09:47:07) [MSC 32 bit 
(Intel)] on win32
Type "copyright", "credits" or "license" for more 
information.
>>> print '%*s' % (7,u'fred')
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
TypeError: * wants int
>>>


----------------------------------------------------------------------

>Comment By: M.-A. Lemburg (lemburg)
Date: 2001-05-02 06:18

Message:
Logged In: YES 
user_id=38388

I'll check in a patch for this into CVS later today.

----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=417030&group_id=5470