Closed tych0 closed 8 months ago
PyType_Ready() expects subclasses to be initialized after base classes. Since ScriptSurface inherits from Surface, Surface must be initialized first.
This causes a segfault in pypy3.10, and the fix was suggested here:
https://foss.heptapod.net/pypy/pypy/-/issues/4017#note_332375
This fixes the seg fault for me.
Thank you! I can confirm that this fixes the segfault we've been experiencing on Gentoo.
Thanks!
a new release is out on pypi
Thanks for the fast release.
PyType_Ready() expects subclasses to be initialized after base classes. Since ScriptSurface inherits from Surface, Surface must be initialized first.
This causes a segfault in pypy3.10, and the fix was suggested here:
https://foss.heptapod.net/pypy/pypy/-/issues/4017#note_332375
This fixes the seg fault for me.