[issue7808] test_bsddb3 leaks references
Florent Xicluna
report at bugs.python.org
Sun Mar 14 20:14:36 CET 2010
Florent Xicluna <florent.xicluna at gmail.com> added the comment:
Jesús, your patch looks good. I prefer your approach.
My use of the weakrefs was an ugly workaround, I admit.
Maybe the "close()" method in the C module should be in charge of DECREFing the handlers and freeing memory. I did not look further in this direction.
Attached patch is quite the same as yours. I just simplified the "dummy()" handler.
----------
Added file: http://bugs.python.org/file16546/issue7808_bsddb3_refleak_v2TOv3_mod.diff
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7808>
_______________________________________
More information about the Python-bugs-list
mailing list