This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author doerwalter
Recipients
Date 2002-03-28.13:26:29
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
This patch makes the function string.zfill work with 
unicode instances (and instances of str and unicode 
subclasses). Currently string.zfill(u"123", 10) 
results in "0000u'123'". With this patch the result is 
u'0000000123'.

Should zfill be made a real str und unicode method? I 
noticed that a zfill implementation is available in 
unicodeobject.c, but commented out.
History
Date User Action Args
2007-08-23 15:11:51adminlinkissue536241 messages
2007-08-23 15:11:51admincreate