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 Aaron.Meurer, facundobatista, mark.dickinson, rhettinger, skrah
Date 2017-10-04.06:23:47
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1507098228.05.0.213398074469.issue31684@psf.upfronthosting.co.za>
In-reply-to
Content
The aim here is to capture the original Decimal value where possible, including the exponent information. (Unlike floats, trailing zeros in a `Decimal` instance are significant.)

>>> from decimal import Decimal
>>> Decimal('+0.0000000000000000000e+19')
Decimal('0')
>>> Decimal('+0.0000000000000000000e+00')
Decimal('0E-19')
History
Date User Action Args
2017-10-04 06:23:48mark.dickinsonsetrecipients: + mark.dickinson, rhettinger, facundobatista, skrah, Aaron.Meurer
2017-10-04 06:23:48mark.dickinsonsetmessageid: <1507098228.05.0.213398074469.issue31684@psf.upfronthosting.co.za>
2017-10-04 06:23:48mark.dickinsonlinkissue31684 messages
2017-10-04 06:23:47mark.dickinsoncreate