Skip to content

Conversation

@miss-islington
Copy link
Contributor

@miss-islington miss-islington 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)

Co-authored-by: jdemeyer [email protected]

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 <[email protected]>
Copy link
Member

@vstinner vstinner left a comment

Choose a reason for hiding this comment

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

LGTM, good bot 🤖!

@miss-islington
Copy link
Contributor Author

@jdemeyer and @vstinner: Backport status check is done, and it's a failure ❌ .

@vstinner
Copy link
Member

vstinner commented Sep 7, 2018

ISO C89 forbids mixed declaration and code. I wrote PR #9091 to move the "descrgetfunc local_get;" declaration.

@vstinner vstinner closed this Sep 7, 2018
@miss-islington miss-islington deleted the backport-8f73548-2.7 branch September 7, 2018 07:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants