[issue23783] Leak in PyObject_ClearWeakRefs

2015-03-30 Thread Roundup Robot
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

[issue23783] Leak in PyObject_ClearWeakRefs

2015-03-30 Thread Serhiy Storchaka
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

[issue23783] Leak in PyObject_ClearWeakRefs

2015-03-26 Thread Serhiy Storchaka
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:

[issue23783] Leak in PyObject_ClearWeakRefs

2015-03-26 Thread Serhiy Storchaka
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