This will be fixed in beta 5 - it turns out if the number was zero padded we 
would always do the alternate form (ensuring the leading zero was present) 
which is wrong.

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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lewis Franklin
Sent: Tuesday, March 28, 2006 8:36 AM
To: Discussion of IronPython
Subject: Re: [IronPython] String Replacement

Thanks for the quick response. Since I'm new to this list and filing
bugs for IronPython, is there a place I can see the status or should I
just scan the release notes with each beta release to see when this gets
fixed?

Lewis


Dino Viehland wrote:
> 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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lewis Franklin
> Sent: Tuesday, March 28, 2006 8:09 AM
> To: users@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@lists.ironpython.com
> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
> _______________________________________________
> users mailing list
> users@lists.ironpython.com
> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
>
> ______________________________________________________________________
> This e-mail has been scanned by MCI Managed Email Content Service, using 
> Skeptic(tm) technology powered by MessageLabs. For more information on MCI's 
> Managed Email Content Service, visit http://www.mci.com.
> ______________________________________________________________________
>
>
>
_______________________________________________
users mailing list
users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
_______________________________________________
users mailing list
users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Reply via email to