-
-
Notifications
You must be signed in to change notification settings - Fork 30.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bpo-41205: Document Decimal power 0 to the 0 #21386
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. One nitpicky request to remove the extra blank lines introduced in this PR, and one suggested minor wording change.
A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated. Once you have made the requested changes, please leave a comment on this pull request containing the phrase |
Co-authored-by: Mark Dickinson <dickinsm@gmail.com>
@mdickinson ✅ . Thanks. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the updates! LGTM. I'll leave this open for a bit in case @skrah or @rhettinger wants to comment.
Looks good, thanks! |
Doc/library/decimal.rst
Outdated
@@ -1355,7 +1355,9 @@ In addition to the three supplied contexts, new contexts can be created with the | |||
must be integral. The result will be inexact unless ``y`` is integral and | |||
the result is finite and can be expressed exactly in 'precision' digits. | |||
The rounding mode of the context is used. Results are always correctly-rounded | |||
in the Python version. | |||
in the Python version. ``Decimal(0) ** Decimal(0)`` results in |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add a blank line so this gets its own paragraph.
A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated. Once you have made the requested changes, please leave a comment on this pull request containing the phrase |
@rhettinger Done Raymond. Thanks!!! |
@rhettinger's comment has been addressed, so I think we can merge. |
Thanks @srinivasreddy for the PR, and @skrah for merging it 🌮🎉.. I'm working now to backport this PR to: 3.8, 3.9. |
Co-authored-by: Mark Dickinson <dickinsm@gmail.com> (cherry picked from commit 10e4664) Co-authored-by: Srinivas Reddy Thatiparthy (శ్రీనివాస్ రెడ్డి తాటిపర్తి) <thatiparthysreenivas@gmail.com>
GH-21547 is a backport of this pull request to the 3.9 branch. |
GH-21548 is a backport of this pull request to the 3.8 branch. |
Co-authored-by: Mark Dickinson <dickinsm@gmail.com> (cherry picked from commit 10e4664) Co-authored-by: Srinivas Reddy Thatiparthy (శ్రీనివాస్ రెడ్డి తాటిపర్తి) <thatiparthysreenivas@gmail.com>
Co-authored-by: Mark Dickinson <dickinsm@gmail.com>
Co-authored-by: Mark Dickinson <dickinsm@gmail.com>
Co-authored-by: Mark Dickinson <dickinsm@gmail.com>
Co-authored-by: Mark Dickinson <dickinsm@gmail.com>
https://bugs.python.org/issue41205