-
-
Notifications
You must be signed in to change notification settings - Fork 31.9k
Handle error correctly in PyFloat_GetInfo
#116714
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
Labels
interpreter-core
(Objects, Python, Grammar, and Parser dirs)
type-bug
An unexpected behavior, bug, or error
Comments
sobolevn
added a commit
to sobolevn/cpython
that referenced
this issue
Mar 13, 2024
sobolevn
added a commit
that referenced
this issue
Mar 13, 2024
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
Mar 13, 2024
…GH-116715) (cherry picked from commit fcd49b4) Co-authored-by: Nikita Sobolev <mail@sobolevn.me> Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
Mar 13, 2024
…GH-116715) (cherry picked from commit fcd49b4) Co-authored-by: Nikita Sobolev <mail@sobolevn.me> Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
This was referenced Mar 13, 2024
vstinner
pushed a commit
to vstinner/cpython
that referenced
this issue
Mar 20, 2024
…#116715) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
adorilson
pushed a commit
to adorilson/cpython
that referenced
this issue
Mar 25, 2024
…#116715) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
diegorusso
pushed a commit
to diegorusso/cpython
that referenced
this issue
Apr 17, 2024
…#116715) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
interpreter-core
(Objects, Python, Grammar, and Parser dirs)
type-bug
An unexpected behavior, bug, or error
Bug report
floatobject
contains this code:cpython/Objects/floatobject.c
Lines 101 to 123 in ba82a24
It only shows the last error and swallows any others.
I propose to change the error handling with the smallest possible diff.
Linked PRs
PyFloat_GetInfo
#116715PyFloat_GetInfo
(GH-116715) #116722PyFloat_GetInfo
(GH-116715) #116723The text was updated successfully, but these errors were encountered: