[3.6] bpo-25750: fix refcounts in type_getattro() (GH-6118) by miss-islington · Pull Request #9088 · python/cpython · GitHub
Skip to content

[3.6] bpo-25750: fix refcounts in type_getattro() (GH-6118) - #9088

Merged
vstinner merged 1 commit into
python:3.6from
miss-islington:backport-8f73548-3.6
Sep 7, 2018
Merged

vstinner merged 1 commit into
python:3.6from
miss-islington:backport-8f73548-3.6

Conversation

@miss-islington

@miss-islington miss-islington commented Sep 7, 2018

Copy link
Copy Markdown
Contributor

When calling tp_descr_get(self, obj, type), make sure that
we own a strong reference to "self".
(cherry picked from commit 8f73548)

Co-authored-by: jdemeyer jdemeyer@cage.ugent.be

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)

Co-authored-by: jdemeyer <jdemeyer@cage.ugent.be>

@vstinner vstinner left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, good bot 🤖!

@vstinner
vstinner merged commit 3ee0743 into python:3.6 Sep 7, 2018
@miss-islington
miss-islington deleted the backport-8f73548-3.6 branch September 7, 2018 07:57
@miss-islington

Copy link
Copy Markdown
Contributor Author

1 similar comment
@miss-islington

Copy link
Copy Markdown
Contributor Author

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.

5 participants