Visitar URL original
[2.7] bpo-25750: fix refcounts in type_getattro() (GH-6118) by vstinner · Pull Request #9091 · python/cpython · GitHub
The Wayback Machine - https://web.archive.org/web/20260508024719/https://github.com/python/cpython/pull/9091
Skip to content
/ cpython Public

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

Merged
vstinner merged 1 commit intopython: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 intopython: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