Handle error correctly in `PyFloat_GetInfo` · Issue #116714 · python/cpython · GitHub
Skip to content

Handle error correctly in PyFloat_GetInfo #116714

Description

@sobolevn

Bug report

floatobject contains this code:

It only shows the last error and swallows any others.

I propose to change the error handling with the smallest possible diff.

Linked PRs

Metadata

Metadata

Assignees

Labels

interpreter-core(Objects, Python, Grammar, and Parser dirs)type-bugAn unexpected behavior, bug, or error

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions