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 xtreak
Recipients eric.smith, mark.dickinson, seperman, skrah, xtreak
Date 2019-04-14.05:55:09
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1555221310.14.0.566743167038.issue36622@roundup.psfhosted.org>
In-reply-to
Content
Seems this has tests at https://github.com/python/cpython/blob/830b43d03cc47a27a22a50d777f23c8e60820867/Lib/test/test_decimal.py#L941 . I also noticed the below. Considering this is the behavior from 2.7 is it a conscious design decision?

>>> '{:.5e}'.format(1.23457e+8)
'1.23457e+08'
>>> '{:.5e}'.format(decimal.Decimal(1.23457e+8))
'1.23457e+8'
History
Date User Action Args
2019-04-14 05:55:10xtreaksetrecipients: + xtreak, mark.dickinson, eric.smith, skrah, seperman
2019-04-14 05:55:10xtreaksetmessageid: <1555221310.14.0.566743167038.issue36622@roundup.psfhosted.org>
2019-04-14 05:55:10xtreaklinkissue36622 messages
2019-04-14 05:55:10xtreakcreate