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 mark.dickinson
Recipients eric.araujo, eric.smith, ezio.melotti, mark.dickinson, rhettinger, skrah, terry.reedy
Date 2010-11-21.19:26:36
SpamBayes Score 1.7549133e-05
Marked as misclassified No
Message-id <1290367598.2.0.278985291625.issue7094@psf.upfronthosting.co.za>
In-reply-to
Content
I haven't done a full review, but this looks good at first glance.

For '#g' formatting on the Decimal type, I wonder whether the patch gives the right semantics.  E.g., should

   format(Decimal('1.23'), '#.6g')

give '1.23' or '1.23000'?  For the float type, the '#.<precision>g' formatting has the property that <precision> digits are always returned, and I think this may be what we want here.  I'm not sure, though.
History
Date User Action Args
2010-11-21 19:26:38mark.dickinsonsetrecipients: + mark.dickinson, rhettinger, terry.reedy, eric.smith, ezio.melotti, eric.araujo, skrah
2010-11-21 19:26:38mark.dickinsonsetmessageid: <1290367598.2.0.278985291625.issue7094@psf.upfronthosting.co.za>
2010-11-21 19:26:36mark.dickinsonlinkissue7094 messages
2010-11-21 19:26:36mark.dickinsoncreate