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>
|
ISO C89 forbids mixed declaration and code. I wrote PR #9091 to move the "descrgetfunc local_get;" declaration. |
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