[issue1275] bsddb closing a DB object before all DBCursors using it are closed crashes

Gregory P. Smith report at bugs.python.org
Mon Jan 21 04:16:38 CET 2008


Gregory P. Smith added the comment:

a code snipped using a database d that demonstrates this:

    c = d.cursor()
    d.close()
    print >>sys.stderr, "database closed before cursor"
    del c
    print >>sys.stderr, "cursor deleted and we didn't crash!"

----------
priority:  -> normal
versions: +Python 2.4, Python 2.5, Python 2.6, Python 3.0

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1275>
__________________________________


More information about the Python-bugs-list mailing list