[issue7808] test_bsddb3 leaks references

Jesús Cea Avión report at bugs.python.org
Sun Mar 14 08:15:30 CET 2010


Jesús Cea Avión <jcea at jcea.es> added the comment:

I have spend a few hours trying to understand the issue deeply, and I have an easier to understand version. It is bigger, but explain the issue good enough to use in a production program.

Please, Florent, review. It pass the leak test.

I rather prefer this patch because the weak references were sort of magic, and this new code actually shows what you should use in production.

If you think the patch is OK, it will be integrated in pybsddb 4.8.4 and then backported for python 2.7.

I also solved an undesired coupling between Replication Manager and Base Replication testsuites.

----------
Added file: http://bugs.python.org/file16537/issue7808_bsddb3_refleak_v2TOv3.diff

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7808>
_______________________________________


More information about the Python-bugs-list mailing list