Florent Xicluna <florent.xicl...@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 <rep...@bugs.python.org>
<http://bugs.python.org/issue7808>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to