Skip to content

[3.8] bpo-37169: Rewrite _PyObject_IsFreed() unit tests (GH-13888) #13895

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
Jun 7, 2019
Merged

[3.8] bpo-37169: Rewrite _PyObject_IsFreed() unit tests (GH-13888) #13895

merged 1 commit into from
Jun 7, 2019

Conversation

vstinner
Copy link
Member

@vstinner vstinner commented Jun 7, 2019

Replace two Python function calls with a single one to ensure that no
memory allocation is done between the invalid object is created and
when _PyObject_IsFreed() is called.

(cherry picked from commit 3bf0f3a)

https://bugs.python.org/issue37169

Replace two Python function calls with a single one to ensure that no
memory allocation is done between the invalid object is created and
when _PyObject_IsFreed() is called.

(cherry picked from commit 3bf0f3a)
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.

3 participants