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, py.user, skrah
Date 2012-01-23.08:40:44
SpamBayes Score 8.794844e-05
Marked as misclassified No
Message-id <1327308045.49.0.810858379407.issue13838@psf.upfronthosting.co.za>
In-reply-to
Content
IMO, the behaviour is fine;  it's the docs that are unclear.  The rules for Decimal are different mainly because trailing zeros have meaning for the Decimal type.  (Decimal('1.250') and Decimal('1.25') are two distinct Decimal objects, unlike float('1.250') and float('1.25').)

See also issue #7094.
History
Date User Action Args
2012-01-23 08:40:45mark.dickinsonsetrecipients: + mark.dickinson, eric.smith, skrah, py.user
2012-01-23 08:40:45mark.dickinsonsetmessageid: <1327308045.49.0.810858379407.issue13838@psf.upfronthosting.co.za>
2012-01-23 08:40:44mark.dickinsonlinkissue13838 messages
2012-01-23 08:40:44mark.dickinsoncreate