On Fri, Nov 27, 2026 at 10:18:36AM +0000, Simon McVittie wrote:
> Let's have a more indicative title. I think the error is this, probably
> triggered by rebuilding with an updated version of cython:
>
> Error compiling Cython file:
> ------------------------------------------------------------
> ...
> cdef public object image
> cdef public Rect rect
> cdef dict __dict__
>
> def __cinit__(self):
> self.__dict__ = {}
> ^
> ------------------------------------------------------------
> src_c/cython/pygame/_sprite.pyx:148:12: Illegal use of special attribute
> __dict__
>
> A fix appears to have been proposed in
> <https://github.com/pygame/pygame/pull/4912> (I have not reviewed this).
Thanks a lot!
I'm going to make a team upload to fix this.