Skip to content

Conversation

@ZackerySpytz
Copy link
Contributor

@ZackerySpytz ZackerySpytz commented Oct 31, 2019

Hold strong references to list elements while calling
PyObject_RichCompareBool().

https://bugs.python.org/issue38610

Hold strong references to list elements while calling
PyObject_RichCompareBool().
Copy link
Member

@pablogsal pablogsal left a comment

Choose a reason for hiding this comment

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

LGTM

@pablogsal pablogsal merged commit d9e561d into python:master Dec 30, 2019
@miss-islington
Copy link
Contributor

Thanks @ZackerySpytz for the PR, and @pablogsal for merging it 🌮🎉.. I'm working now to backport this PR to: 3.7, 3.8.
🐍🍒⛏🤖

@pablogsal
Copy link
Member

Thanks @ZackerySpytz for the quick fix!

@bedevere-bot
Copy link

GH-17758 is a backport of this pull request to the 3.8 branch.

@miss-islington
Copy link
Contributor

Sorry, @ZackerySpytz and @pablogsal, I could not cleanly backport this to 3.7 due to a conflict.
Please backport using cherry_picker on command line.
cherry_picker d9e561d23d994e3ed15f4fcbd7ee5c8fe50f190b 3.7

pablogsal pushed a commit to pablogsal/cpython that referenced this pull request Dec 30, 2019
…GH-17022)

Hold strong references to list elements while calling PyObject_RichCompareBool()..
(cherry picked from commit d9e561d)

Co-authored-by: Zackery Spytz <[email protected]>
@bedevere-bot
Copy link

GH-17759 is a backport of this pull request to the 3.7 branch.

miss-islington added a commit that referenced this pull request Dec 30, 2019
Hold strong references to list elements while calling PyObject_RichCompareBool().
(cherry picked from commit d9e561d)

Co-authored-by: Zackery Spytz <[email protected]>
pablogsal added a commit that referenced this pull request Dec 30, 2019
…) (GH-17759)

Hold strong references to list elements while calling PyObject_RichCompareBool()..
(cherry picked from commit d9e561d)

Co-authored-by: Zackery Spytz <[email protected]>

Co-authored-by: Zackery Spytz <[email protected]>
corona10 pushed a commit to corona10/cpython that referenced this pull request Jan 27, 2020
Hold strong references to list elements while calling PyObject_RichCompareBool().
shihai1991 pushed a commit to shihai1991/cpython that referenced this pull request Jan 31, 2020
Hold strong references to list elements while calling PyObject_RichCompareBool().
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.

6 participants