Control: forwarded -1
https://gitlab.freedesktop.org/dbus/dbus-python/-/work_items/59
On Sun, 16 Aug 2026 at 15:25:57 +0200, Maximiliano Curia wrote:
The problem seems to be caused by the fact that the Connection is a
GenericAlloc that's missing the PyGC_Head header header, this is now detected in
Python 3.15 (see: https://github.com/python/cpython/issues/134786).
The weakref was introduced by ebecd174 but the previous mechanism still
works, so I'm reverting ebecd174 and adding a regression test that
should fail in python 3.12 to 3.14.
I'd prefer to address this upstream rather than as a Debian-specific
patch (see also: the forwarded report above).
Would this revert be considered (by Python upstream) to be a correct
solution, or a workaround, or what? Is there a porting guide available
that would clarify what the most appropriate change is?
ebecd174 was an attempt to follow what, at the time, I believed was
upstream best-practice. Perhaps I was wrong about that, or perhaps
best-practice has changed - but I'd prefer to know which is applicable.
Thanks,
smcv
_______________________________________________
Pkg-utopia-maintainers mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-utopia-maintainers