Roundup Robot added the comment:
New changeset 74d766d819a6 by Serhiy Storchaka in branch '3.4':
Issue #23783: Fixed memory leak in PyObject_ClearWeakRefs() in case of
https://hg.python.org/cpython/rev/74d766d819a6
New changeset 6a4b83c56b86 by Serhiy Storchaka in branch 'default':
Issue
Changes by Serhiy Storchaka storch...@gmail.com:
--
assignee: - serhiy.storchaka
resolution: - fixed
stage: patch review - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23783
New submission from Serhiy Storchaka:
If restore_error == 1 in PyObject_ClearWeakRefs() (Objects/weakrefobject.c:883)
and PyTuple_New() fails in Objects/weakrefobject.c:923, PyErr_Fetch is called
twice and both exceptions leak.
--
components: Extension Modules
messages: 239320
nosy:
Serhiy Storchaka added the comment:
Proposed patch should fix the issue.
--
keywords: +patch
stage: - patch review
versions: +Python 2.7, Python 3.4, Python 3.5
Added file: http://bugs.python.org/file38700/issue23783.patch
___
Python tracker