Reference leak around sipPyTypeDict() on 3.12
Ryo Miyamoto
ryomiya at protonmail.com
Thu Oct 5 14:40:12 BST 2023
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
Regards,
Ryo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20231005/377d2b9c/attachment.htm>
More information about the PyQt
mailing list