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 MrJean1
Recipients MrJean1
Date 2008-05-07.19:45:36
SpamBayes Score 0.0029266812
Marked as misclassified No
Message-id <1210189539.52.0.670446684288.issue2784@psf.upfronthosting.co.za>
In-reply-to
Content
The new, fast builtin sum implementation may cause a memory leak in the 
float loop.  Both lines

    PyFPE_START_PROTECT("add", return 0)

should be changed to

    PyFPE_START_PROTECT("add", Py_DECREF(item); Py_DECREF(iter); return 
0)

The attached file bltinmodule1.c.diff contain a patch to that extent.

/Jean Brouwers
History
Date User Action Args
2008-05-07 19:45:40MrJean1setspambayes_score: 0.00292668 -> 0.0029266812
recipients: + MrJean1
2008-05-07 19:45:39MrJean1setspambayes_score: 0.00292668 -> 0.00292668
messageid: <1210189539.52.0.670446684288.issue2784@psf.upfronthosting.co.za>
2008-05-07 19:45:38MrJean1linkissue2784 messages
2008-05-07 19:45:37MrJean1create