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 John Belmonte, eric.smith, jbelmonte, mark.dickinson, serhiy.storchaka, steven.daprano
Date 2022-01-22.22:17:16
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1642889836.71.0.384351509675.issue45995@roundup.psfhosted.org>
In-reply-to
Content
Wow, thanks, Mark!

I'm generally in favor. The selling points to me are that it needs to happen post-rounding, and the C++ discussion. It would be better if this were already accepted in C++. I'll note that the paper is proposing a 'z' modifier to the sign, so I guess for us that would translate to: [sign[optional-z]] instead of just sign. I'd have to noodle through the differences between that the proposed [sign][~]. I guess this would all be worked out in a PEP.

My only reservation is Mark's comment:  """For Decimal, we'd need to "own" the string formatting, taking that responsibility away from mpdecimal, but there are already other reasons to do that."""

If Mark is okay with that (right back at you, Mark!), then I think a PEP is the next step. It doesn't need to be huge, sort of like PEP 378.
History
Date User Action Args
2022-01-22 22:17:16eric.smithsetrecipients: + eric.smith, mark.dickinson, jbelmonte, steven.daprano, serhiy.storchaka, John Belmonte
2022-01-22 22:17:16eric.smithsetmessageid: <1642889836.71.0.384351509675.issue45995@roundup.psfhosted.org>
2022-01-22 22:17:16eric.smithlinkissue45995 messages
2022-01-22 22:17:16eric.smithcreate