bpo-39453: Fix contains method of list to hold strong references#18181
Conversation
|
@pablogsal @serhiy-storchaka @vstinner |
corona10
left a comment
There was a problem hiding this comment.
@rhettinger I've updated the PR Please take a look :)
| @@ -0,0 +1,2 @@ | |||
| Fix contains method of list to hold strong references of elements while | |||
There was a problem hiding this comment.
It describes the implementation, but says nothing to an average Python user. I would formulate the entry in terms of Python: "Fixed possible crash in ``list.contains` when a list is changed during comparing items."
serhiy-storchaka
left a comment
There was a problem hiding this comment.
LGTM with changes proposed by @pablogsal. 👍
corona10
left a comment
There was a problem hiding this comment.
@pablogsal @serhiy-storchaka
Thanks for the review :)
I 've updated them
|
Thanks @corona10 for the PR, and @pablogsal for merging it 🌮🎉.. I'm working now to backport this PR to: 3.6, 3.7, 3.8. |
|
Sorry, @corona10 and @pablogsal, I could not cleanly backport this to |
|
Sorry @corona10 and @pablogsal, I had trouble checking out the |
|
Sorry, @corona10 and @pablogsal, I could not cleanly backport this to |
|
@corona10 Could you make the backports with |
https://bugs.python.org/issue39453