🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.dist
Article #6417

Bug#1154344: pygame: FTBFS: src_c/cython/pygame/_sprite.pyx:148:12: Illegal use of special attribute __dict__

#6417
From: Simon McVittie
Date: Fri, 27 Nov 2026 10:30
25 lines
2703 bytes
Control: retitle -1 pygame: FTBFS: src_c/cython/pygame/_sprite.pyx:148:12: Illegal use of special attribute __dict__
Control: tags -1 + upstream
Control: forwarded -1 https://github.com/pygame/pygame/pull/4912

On Wed, 18 Nov 2026 at 18:00:44 +0000, Santiago Vila wrote:
>During a rebuild of all packages in unstable, this package failed to build.

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).
Technical Details
Message-ID: <O41nj-erNW-3@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!srl.newsdeef.eu!news.corradoroberto.it!bofh.it!news.nic.it!robomod
References: <O0Sgy-cJsU-47@gated-at.bofh.it> <O0Sgy-cJsU-47@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srl.newsdeef.eu!news.corradoroberto.it!bofh.it!news.nic.it!robomod
From: Simon McVittie <smcv@debian.org>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1154344: pygame: FTBFS: src_c/cython/pygame/_sprite.pyx:148:12: Illegal use of special attribute __dict__
Date: Fri, 27 Nov 2026 11:30:01 +0100
Message-ID: <O41nj-erNW-3@gated-at.bofh.it>
References: <O0Sgy-cJsU-47@gated-at.bofh.it> <O0Sgy-cJsU-47@gated-at.bofh.it>
X-Original-To: 1154344@bugs.debian.org
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Fri Nov 27 10:21:05 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.7
Reply-To: Simon McVittie <smcv@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: forky ftbfs sid
X-Debian-Pr-Source: pygame
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Disposition: inline
X-Debian-User: smcv
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2005367
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 25
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Fri, 27 Nov 2026 10:18:36 +0000
X-Original-Message-ID: <awlY_EBdrdWYDEso@definition.pseudorandom.co.uk>
X-Original-References: <E1xTjxc-001yei-0d@paradis.debian.org> <E1xTjxc-001yei-0d@paradis.debian.org>