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 rhettinger
Recipients georg.brandl, holdenweb, rhettinger, skrah
Date 2011-07-17.19:07:50
SpamBayes Score 4.191967e-06
Marked as misclassified No
Message-id <1310929670.72.0.668489756327.issue12580@psf.upfronthosting.co.za>
In-reply-to
Content
The example is correct and runs as expected:

>>> Decimal(3.14)
Decimal('3.140000000000000124344978758017532527446746826171875')

Per the Whatsnew3.2 document:
'''
The decimal.Decimal constructor now accepts float objects directly so there in no longer a need to use the from_float() method (issue 8257).
'''
History
Date User Action Args
2011-07-17 19:07:50rhettingersetrecipients: + rhettinger, georg.brandl, holdenweb, skrah
2011-07-17 19:07:50rhettingersetmessageid: <1310929670.72.0.668489756327.issue12580@psf.upfronthosting.co.za>
2011-07-17 19:07:50rhettingerlinkissue12580 messages
2011-07-17 19:07:50rhettingercreate