Skip to content

Conversation

miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Jul 18, 2020

Walk down the MRO backwards to find the type that originally defined the final tp_setattro, then make sure we are not jumping over intermediate C-level bases with the Python-level call.

Automerge-Triggered-By: @gvanrossum
(cherry picked from commit c53b310)

Co-authored-by: scoder stefan_ml@behnel.de

https://bugs.python.org/issue41295

Walk down the MRO backwards to find the type that originally defined the final `tp_setattro`, then make sure we are not jumping over intermediate C-level bases with the Python-level call.

Automerge-Triggered-By: @gvanrossum
(cherry picked from commit c53b310)

Co-authored-by: scoder <stefan_ml@behnel.de>
@miss-islington
Copy link
Contributor Author

@scoder: Status check is done, and it's a success ✅ .

@miss-islington miss-islington merged commit 01ab963 into python:3.9 Jul 18, 2020
@miss-islington miss-islington deleted the backport-c53b310-3.9 branch July 18, 2020 21:39
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