Xiang Zhang added the comment: Sorry, wrong patch. Attach the right one. ---------- Added file: http://bugs.python.org/file42795/make_function_reference_leak.patch _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue26991> _______________________________________