Changes by Raymond Hettinger [EMAIL PROTECTED]:
--
priority: - high
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2784
__
___
Python-bugs-list mailing list
New submission from Jean Brouwers [EMAIL PROTECTED]:
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
Jean Brouwers [EMAIL PROTECTED] added the comment:
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
Changes by Raymond Hettinger [EMAIL PROTECTED]:
--
assignee: - rhettinger
nosy: +rhettinger
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2784
__
___
Python-bugs-list