Skip to content

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

Merged
vstinner merged 1 commit into
python:3.8from
vstinner:test_is_freed38
Jun 7, 2019
Merged

[3.8] bpo-37169: Rewrite _PyObject_IsFreed() unit tests (GH-13888)#13895
vstinner merged 1 commit into
python:3.8from
vstinner:test_is_freed38

Conversation

@vstinner

@vstinner vstinner commented Jun 7, 2019

Copy link
Copy Markdown
Member

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