This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Dennis Sweeney
Recipients Dennis Sweeney, rhettinger, serhiy.storchaka
Date 2022-02-04.03:12:20
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1643944341.01.0.253824066883.issue46615@roundup.psfhosted.org>
In-reply-to
Content
It looks like usages of the PyDict_Next API assume the resulting references are borrowed and so INCREF them.

Usages of set_next do not, but should.

It should hopefully be a straightforward fix of adding INCREF/DECREFs.
History
Date User Action Args
2022-02-04 03:12:21Dennis Sweeneysetrecipients: + Dennis Sweeney, rhettinger, serhiy.storchaka
2022-02-04 03:12:21Dennis Sweeneysetmessageid: <1643944341.01.0.253824066883.issue46615@roundup.psfhosted.org>
2022-02-04 03:12:21Dennis Sweeneylinkissue46615 messages
2022-02-04 03:12:20Dennis Sweeneycreate