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

List:       pykde
Subject:    Re: Reference leak around sipPyTypeDict() on 3.12
From:       Phil Thompson <phil () riverbankcomputing ! com>
Date:       2023-10-07 17:19:39
Message-ID: 98b44cf24f16c7e6e5bfa1304214ccca () riverbankcomputing ! com
[Download RAW message or body]

On 05/10/2023 14:40, Ryo Miyamoto wrote:
> Hello,
> 
> Python v3.12 has added PyType_GetDict() API, which is used in SIP.
> PyQt for 3.12 gets a new reference from sipPyTypeDict(), not borrowed.
> It seems like SIP or PyQt misses a decref for the dictionary.
> 
> https://github.com/python/cpython/commit/a840806d338805fe74a9de01081d30da7605a29f
> https://www.riverbankcomputing.com/hg/sip/rev/d36867e54192

Fix applied to PyQt5 and PyQt6.

Thanks,
Phil
[prev in list] [next in list] [prev in thread] [next in thread] 

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