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 jjt009
Recipients Rhamphoryncus, jjt009, jnoller, roudkerk
Date 2008-06-13.01:05:56
SpamBayes Score 0.0151403
Marked as misclassified No
Message-id <1213319158.24.0.847160489745.issue3095@psf.upfronthosting.co.za>
In-reply-to
Content
I believe this patch solves the problem. 
I added the line
Py_DECREF(temp)
after the code block shown above. 
I also changed the line
if (PyDict_SetItemString(temp, #name, Py_BuildValue("i", name)) < 0) return
to
if (PyDict_SetItemString(PyObject_GetAttrString(module, "flags"), #name,
Py_BuildValue("i", name)) < 0) return
History
Date User Action Args
2008-06-13 01:05:58jjt009setspambayes_score: 0.0151403 -> 0.0151403
recipients: + jjt009, Rhamphoryncus, roudkerk, jnoller
2008-06-13 01:05:58jjt009setspambayes_score: 0.0151403 -> 0.0151403
messageid: <1213319158.24.0.847160489745.issue3095@psf.upfronthosting.co.za>
2008-06-13 01:05:57jjt009linkissue3095 messages
2008-06-13 01:05:56jjt009create