Skip to content

[3.6] bpo-31217: Fix regrtest -R for small integer (#3260) #3261

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

Merged
merged 1 commit into from
Sep 1, 2017
Merged

[3.6] bpo-31217: Fix regrtest -R for small integer (#3260) #3261

merged 1 commit into from
Sep 1, 2017

Conversation

vstinner
Copy link
Member

@vstinner vstinner commented Sep 1, 2017

Use a pool of integer objects toprevent false alarm when checking for
memory block leaks. Fill the pool with values in -1000..1000 which
are the most common (reference, memory block, file descriptor)
differences.

Co-Authored-By: Antoine Pitrou [email protected]
(cherry picked from commit 6c2feab)

https://bugs.python.org/issue31217

Use a pool of integer objects toprevent false alarm when checking for
memory block leaks. Fill the pool with values in -1000..1000 which
are the most common (reference, memory block, file descriptor)
differences.

Co-Authored-By: Antoine Pitrou <[email protected]>
(cherry picked from commit 6c2feab)
@vstinner vstinner merged commit 98c849a into python:3.6 Sep 1, 2017
@vstinner vstinner deleted the refleak_int_pool36 branch September 1, 2017 13:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants