Skip to content

[2.7] bpo-25750: fix refcounts in type_getattro() (GH-6118)#9091

Merged
vstinner merged 1 commit into
python:2.7from
vstinner:2.7
Sep 7, 2018
Merged

[2.7] bpo-25750: fix refcounts in type_getattro() (GH-6118)#9091
vstinner merged 1 commit into
python:2.7from
vstinner:2.7

Conversation

@vstinner
Copy link
Copy Markdown
Member

@vstinner vstinner commented Sep 7, 2018

When calling tp_descr_get(self, obj, type), make sure that
we own a strong reference to "self".

(cherry picked from commit 8f73548)

https://bugs.python.org/issue25750

When calling tp_descr_get(self, obj, type), make sure that
we own a strong reference to "self".

(cherry picked from commit 8f73548)
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.

4 participants