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 eric.smith
Recipients eric.smith, mark.dickinson, scientist47
Date 2009-09-28.08:55:18
SpamBayes Score 1.558198e-12
Marked as misclassified No
Message-id <1254128120.64.0.435158960742.issue7010@psf.upfronthosting.co.za>
In-reply-to
Content
What OS, processor, and Python version are you running this code on?

From your example, it's Python 3.x. 3.1 has a completely rewritten
float->decimal conversion system, and I get different results.

>>> print(.1)
0.1
>>> print((.1,))
(0.1,)
>>> 

For 2.6 and 3.0, you'll get the old behavior, and this won't change. Are
you really using Python 3.0 (which is marked in the versions)? If so,
switch to 3.1 and see what you get.
History
Date User Action Args
2009-09-28 08:55:21eric.smithsetrecipients: + eric.smith, mark.dickinson, scientist47
2009-09-28 08:55:20eric.smithsetmessageid: <1254128120.64.0.435158960742.issue7010@psf.upfronthosting.co.za>
2009-09-28 08:55:19eric.smithlinkissue7010 messages
2009-09-28 08:55:18eric.smithcreate