Skip to content

[mypyc] Propagate errors and fix reference leaks in integer conversion - #22321

Merged
p-sawicki merged 1 commit into
python:masterfrom
p-sawicki:integer-conversion-error-propagation
Oct 30, 2026
Merged

p-sawicki merged 1 commit into
python:masterfrom
p-sawicki:integer-conversion-error-propagation

Conversation

@p-sawicki

Copy link
Copy Markdown
Collaborator

Propagate error when str-to-int conversion with explicit base fails on very large bases.

Propagate error and fix reference leak when int-to-bytes conversion on large ints fails when converting it to str. Fix similar reference leak during the int-to-str conversion.

@p-sawicki
p-sawicki merged commit 9c626cf into python:master Oct 30, 2026
18 checks passed
@p-sawicki
p-sawicki deleted the integer-conversion-error-propagation branch October 30, 2026 12:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants