gh-90716: Fix pylong_int_from_string() refleak by vstinner · Pull Request #99094 · python/cpython
Conversation
Member
Fix validated by:
$ ./python -m test -R 3:3 test_int
Tests result: SUCCESS
Fix validated by:
$ ./python -m test -R 3:3 test_int
Tests result: SUCCESS
vstinner
added
the
skip news
label
bedevere-bot
mentioned this pull request
bedevere-bot
added
the
awaiting core review
label
vstinner
commented
Nov 4, 2022
vstinner commented
Member Author
cc @gpshead
kumaraditya303
approved these changes
kumaraditya303
left a comment
kumaraditya303
left a comment
Contributor
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
vstinner
merged commit
387f725
into
python:main
bedevere-bot
removed
the
awaiting core review
label
vstinner
deleted the
int_str
branch
gpshead
commented
Nov 4, 2022
gpshead commented
Member
Heh, thanks!
vstinner
commented
Nov 4, 2022
vstinner commented
Member Author
I wrote an article on this fix :-) https://vstinner.github.io/debug-python-refleak.html
Heh, thanks!
From what I understood, the refleak existed before 4c4b5ce. It's just that thanks to the added test, the Refleaks buildbot spotted the leak.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment