]> granicus.if.org Git - python/commit
Plug the last 657 referenceleaks in test_bsddb3: a circular reference
authorThomas Wouters <thomas@python.org>
Sun, 12 Mar 2006 00:13:09 +0000 (00:13 +0000)
committerThomas Wouters <thomas@python.org>
Sun, 12 Mar 2006 00:13:09 +0000 (00:13 +0000)
commit318af47512176fed74a3d7e0e51cdb1347418a98
treec2ab6bf2b9675582754522d7b5fd9445b9b333d4
parentb2820ae35546c20b04d3bfa64c7895f97dcf584e
Plug the last 657 referenceleaks in test_bsddb3: a circular reference
between a TestCase instance, the database it opened (or a cursor to a
database) and a bound method as a registered database callback, and a lack
of GC-handling in bsddb caused the TestCases to linger. Fix the test, for
now, as backward compatibility makes adding GC to bsddb annoying.
Lib/bsddb/test/test_associate.py