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.smith, mark.dickinson, rhettinger
Date 2009-03-19.17:46:05
SpamBayes Score 5.8685616e-09
Marked as misclassified No
Message-id <1237484769.49.0.933878331653.issue5515@psf.upfronthosting.co.za>
In-reply-to
Content
I agree that Decimal should be consistent with int and float.

I'm not sure I'd classify the current behaviour as a bug, though:
presumably this behaviour was intentional at the time it was
originally coded?  I guess backporting *probably* won't do any
harm, since it seems likely that format(x, 'n') hasn't gained
wide adoption yet.

+1 for changing this in 2.7 and 3.1;  -0 for backporting the change.

Eric, did you mean to assign this to me?  I'm not sure I have
time for this at the moment, though I'd be happy to review
and test when the time comes.
History
Date User Action Args
2009-03-19 17:46:09mark.dickinsonsetrecipients: + mark.dickinson, rhettinger, eric.smith
2009-03-19 17:46:09mark.dickinsonsetmessageid: <1237484769.49.0.933878331653.issue5515@psf.upfronthosting.co.za>
2009-03-19 17:46:06mark.dickinsonlinkissue5515 messages
2009-03-19 17:46:05mark.dickinsoncreate