Closed xowenx closed 9 years ago
Thanks a lot for this fix. It's in master in https://github.com/ionelmc/python-lazy-object-proxy/commit/22a85449a85ed2e06d035210828d72cebed7cabf - GitHub doesn't seem to detect the rebase.
thanks! based on preliminary testing this seems to fix the memory leak I reported a while back https://github.com/ionelmc/python-lazy-object-proxy/issues/6
remove Py_INCREF(wrapped) cause PyObject_CallFunctionObjArgs had created a new reference to wrapped
also remove some useless code and make some more pythonic