Skip to content

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