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 vstinner
Recipients ZackerySpytz, espie, petr.viktorin, rhettinger, serhiy.storchaka, skrah, vstinner
Date 2020-12-14.09:56:04
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
> That's not true; at least ALSA's python bindings use PyTuple_SET_ITEM as a lvalue as well.

alsa-python used PyTuple_SET_ITEM(..., obj) to decide if it should call Py_INCREF(obj). This code looks suspicious. PyTuple_SET_ITEM() should not be used to set an item to NULL.

It's already fixed:

IMO it's a good thing that such suspicious code is discovered. The surprising part is that it worked previously :-)

Downstream Fedora issue: (CLOSED)
Date User Action Args
2020-12-14 09:56:04vstinnersetrecipients: + vstinner, rhettinger, petr.viktorin, skrah, serhiy.storchaka, espie, ZackerySpytz
2020-12-14 09:56:04vstinnersetmessageid: <>
2020-12-14 09:56:04vstinnerlinkissue30459 messages
2020-12-14 09:56:04vstinnercreate