[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: Python 3.12 segfault with mixin classes
From:       Florian Bruhin <me () the-compiler ! org>
Date:       2023-06-25 20:16:19
Message-ID: 168772417919.716135.10712664796592044618 () aragog ! localdomain
[Download RAW message or body]


Hey,

> On 15/06/2023 19:03, Florian Bruhin wrote:
> > [...]
> > 
> > And that indeed seems to be the case: trawl_type does
> > "dict = sipPyTypeDict(pytype);", that is an alias to sip's
> > api_py_type_dict, and that accesses py_type->tp_dict.
> > 
> > See:
> > https://github.com/python/cpython/issues/105227
> > 
> > There is now an open PR to add a PyType_GetDict():
> > https://github.com/python/cpython/pull/105747
> 
> Hopefully fixed in tonight's snapshot - although it needs the next beta 
> release of Python v3.12 to build.

Unfortunately so far, that PR is not merged yet.

This also breaks the current snapshot wheel, so I cannot test if the
fix for the other bug (segfault on exit) works:

    ImportError: .../python3.12/site-packages/PyQt6/sip.cpython-312-x86_64-linux-gnu.so:
    undefined symbol: PyType_GetDict

Florian

[Attachment #3 (application/pgp-signature)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic