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 Christian.Iversen
Recipients Christian.Iversen, docs@python, eric.araujo, eric.smith, mark.dickinson, terry.reedy
Date 2011-11-26.09:17:00
SpamBayes Score 0.00026992604
Marked as misclassified No
Message-id <1322299021.47.0.79408462963.issue13433@psf.upfronthosting.co.za>
In-reply-to
Content
Terry, the %g format always trims trailing zeroes, so you'd have to try with a number that doesn't end in zero.

I had to make a re-implementation of format for javascript:

http://paste.pocoo.org/show/513078/

If you look at the %g case, you can clearly see how much more complex and different it is, not that that itself indicates a bug. But it is different for sure :)
History
Date User Action Args
2011-11-26 09:17:01Christian.Iversensetrecipients: + Christian.Iversen, terry.reedy, mark.dickinson, eric.smith, eric.araujo, docs@python
2011-11-26 09:17:01Christian.Iversensetmessageid: <1322299021.47.0.79408462963.issue13433@psf.upfronthosting.co.za>
2011-11-26 09:17:00Christian.Iversenlinkissue13433 messages
2011-11-26 09:17:00Christian.Iversencreate