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
There is one other, similar issue in the Modules/imgfile.c file. Line 327 is PyFPE_START_PROTECT("readscaled", return 0) and should probably be PyFPE_START_PROTECT("readscaled", iclose(image); return 0) /Jean Brouwers