Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork32.3k
gh-133895: provide C99 Annex G return values for cmath's functions#134995
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Open
skirpichev wants to merge16 commits intopython:mainChoose a base branch fromskirpichev:cmath-ValueError/133895
base:main
Could not load branches
Branch not found:{{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline, and old review comments may become outdated.
Uh oh!
There was an error while loading.Please reload this page.
Open
Changes from1 commit
Commits
Show all changes
16 commits Select commitHold shift + click to select a range
a13e463
gh-133895: provide C99 Annex G return values for cmath functions
skirpichevd797cf8
Merge branch 'main' into cmath-ValueError/133895
skirpichevcea09b7
Apply suggestions from code review
skirpichev5a8012b
Apply suggestions from code review
skirpichev19162e1
Apply suggestions from code review
skirpichev21f27f3
+1
skirpichev163f948
Merge branch 'master' into cmath-ValueError/133895
skirpichev0588bb3
use PyErr_WriteUnraisable
skirpichev8fd4fc7
Merge branch 'master' into cmath-ValueError/133895
skirpicheve326374
address review: redo exceptions handling, support OverfowError
skirpichev4ebe14f
enable testing of values for OverflowError's
skirpichev0d7eb63
Correct return values for cosh/sinh in case of overflows
skirpichev6035f81
+ docs
skirpicheve462a53
cleanup
skirpichevecbb8fd
Update Doc/library/cmath.rst
skirpichev881989e
address review: add comment
skirpichevFile filter
Filter by extension
Conversations
Failed to load comments.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Jump to file
Failed to load files.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
Apply suggestions from code review
- Loading branch information
Uh oh!
There was an error while loading.Please reload this page.
commit5a8012b306fd2e337f8531c76a610c5c32144001
There are no files selected for viewing
2 changes: 1 addition & 1 deletionMisc/NEWS.d/next/Library/2025-06-01-10-38-00.gh-issue-133895.0X7c-V.rst
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
Provide C99 Annex G return values for :mod:`cmath`'s functions as the | ||
`value`` attribute of the:exc:`ValueError` exception object. Patch by Sergey B | ||
skirpichev marked this conversation as resolved. Show resolvedHide resolvedUh oh!There was an error while loading.Please reload this page. | ||
Kirpichev. |
Oops, something went wrong.
Uh oh!
There was an error while loading.Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.