Skip to content

[mypyc] Fix reference leak on invalid byteorder in int.to_bytes - #22236

Merged
p-sawicki merged 2 commits into
python:masterfrom
p-sawicki:int_ops-invalid-byteorder-cleanup
Oct 20, 2026
Merged

p-sawicki merged 2 commits into
python:masterfrom
p-sawicki:int_ops-invalid-byteorder-cleanup

Conversation

@p-sawicki

Copy link
Copy Markdown
Collaborator

Add missing decref in specialization of int.to_bytes.

@p-sawicki
p-sawicki merged commit 97523aa into python:master Oct 20, 2026
18 checks passed
@p-sawicki
p-sawicki deleted the int_ops-invalid-byteorder-cleanup branch October 20, 2026 15:55
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