[IronPython] String Replacement

Dino Viehland dinov at exchange.microsoft.com
Tue Mar 28 18:32:00 CEST 2006


Definitely a bug, I don't think we've seen this one before...   Thanks for the report.

I've got it filed in our bug database...  I'm not sure if this will be in beta 5 or not as we're quickly nearing the time for another release but if the fix is simple we'll try and get it in.


Do you want to help develop Dynamic languages on CLR? (http://members.microsoft.com/careers/search/details.aspx?JobID=6D4754DE-11F0-45DF-8B78-DC1B43134038)

-----Original Message-----
From: users-bounces at lists.ironpython.com [mailto:users-bounces at lists.ironpython.com] On Behalf Of Lewis Franklin
Sent: Tuesday, March 28, 2006 8:09 AM
To: users at lists.ironpython.com
Subject: [IronPython] String Replacement

I encountered a problem working with IronPython the other day and wanted
to post to see if anyone else has experienced this problem and if it may
be a bug:

 >>> '%02d' % 1
'01'
 >>> '%02d' % 12
'012'

Expected Result:
 >>> '%02d' % 12
'12'

Lewis Franklin
_______________________________________________
users mailing list
users at lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com



More information about the Ironpython-users mailing list