diff options
author | Gregory P. Smith <greg@mad-scientist.com> | 2003-11-03 01:04:41 (GMT) |
---|---|---|
committer | Gregory P. Smith <greg@mad-scientist.com> | 2003-11-03 01:04:41 (GMT) |
commit | a703a21b486b4eb47d9873fb1c7de7008530ae93 (patch) | |
tree | 2a1a6c82902e4a1058595ed53741f51079d60724 /Modules/getnameinfo.c | |
parent | 83c187460ead750da62b5837512492332e3ad75a (diff) | |
download | cpython-a703a21b486b4eb47d9873fb1c7de7008530ae93.zip cpython-a703a21b486b4eb47d9873fb1c7de7008530ae93.tar.gz cpython-a703a21b486b4eb47d9873fb1c7de7008530ae93.tar.bz2 |
* Use weakref's of DBCursor objects for the iterator cursors to avoid a
memory leak that would've occurred for all iterators that were
destroyed before having iterated until they raised StopIteration.
* Simplify some code.
* Add new test cases to check for the memleak and ensure that mixing
iteration with modification of the values for existing keys works.
Diffstat (limited to 'Modules/getnameinfo.c')
0 files changed, 0 insertions, 0 deletions