Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
module: reorder cairo script surface initialization
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. Signed-off-by: Tycho Andersen <tycho@tycho.pizza>
- Loading branch information