Article View: linux.debian.bugs.rc
Article #4338Bug#1154344: pygame: FTBFS: src_c/cython/pygame/_sprite.pyx:148:12: Illegal use of special attribute __dict__
From: Santiago Vila
Date: Fri, 27 Nov 2026 11:10
Date: Fri, 27 Nov 2026 11:10
24 lines
2744 bytes
2744 bytes
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.
Technical Details
Message-ID:
<O4202-esbm-1@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomodReferences:
<O0Sgy-cJsU-47@gated-at.bofh.it> <O0Sgy-cJsU-47@gated-at.bofh.it> <O41nj-erNW-3@gated-at.bofh.it> <O0Sgy-cJsU-47@gated-at.bofh.it> <O41nj-erNW-3@gated-at.bofh.it>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod From: Santiago Vila <sanvila@debian.org> Newsgroups: linux.debian.bugs.rc Subject: Bug#1154344: pygame: FTBFS: src_c/cython/pygame/_sprite.pyx:148:12: Illegal use of special attribute __dict__ Date: Fri, 27 Nov 2026 12:10:02 +0100 Message-ID: <O4202-esbm-1@gated-at.bofh.it> References: <O0Sgy-cJsU-47@gated-at.bofh.it> <O0Sgy-cJsU-47@gated-at.bofh.it> <O41nj-erNW-3@gated-at.bofh.it> <O0Sgy-cJsU-47@gated-at.bofh.it> <O41nj-erNW-3@gated-at.bofh.it> X-Original-To: Simon McVittie <smcv@debian.org>, 1154344@bugs.debian.org X-Mailbox-Line: From debian-bugs-rc-request@lists.debian.org Fri Nov 27 11:03:08 2026 Old-Return-Path: <debbugs@buxtehude.debian.org> X-Spam-Flag: NO X-Spam-Score: -1.7 Reply-To: Santiago Vila <sanvila@debian.org>, 1154344@bugs.debian.org Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: team+python@tracker.debian.org X-Debian-Pr-Message: followup 1154344 X-Debian-Pr-Package: src:pygame X-Debian-Pr-Keywords: ftbfs upstream forky sid X-Debian-Pr-Source: pygame MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline X-Debian-User: sanvila X-Debian-Message: from BTS X-Mailing-List: <debian-bugs-rc@lists.debian.org> archive/latest/839819 List-ID: <debian-bugs-rc.lists.debian.org> List-URL: <https://lists.debian.org/debian-bugs-rc/> Approved: robomod@news.nic.it Lines: 24 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Fri, 27 Nov 2026 11:59:32 +0100 X-Original-Message-ID: <awlilMdc72whjNfR@nuc> X-Original-References: <E1xTjxc-001yei-0d@paradis.debian.org> <E1xTjxc-001yei-0d@paradis.debian.org> <awlY_EBdrdWYDEso@definition.pseudorandom.co.uk> <E1xTjxc-001yei-0d@paradis.debian.org> <awlY_EBdrdWYDEso@definition.pseudorandom.co.uk>