]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bugfix: do not double-close DB cursor during deallocation when the
authorGregory P. Smith <greg@mad-scientist.com>
Fri, 17 Jan 2003 08:42:50 +0000 (08:42 +0000)
committerGregory P. Smith <greg@mad-scientist.com>
Fri, 17 Jan 2003 08:42:50 +0000 (08:42 +0000)
commitb6c9f780741711750c326418a7b4578543b2aa65
tree3d1138e3f04763a5c00b2f7af53c63e58a4f9195
parentaa71f5f2b4a295065fe3c96889e7ff902991ec07
bugfix: do not double-close DB cursor during deallocation when the
        underlying DB has already been closed (and thus all of its cursors).
        This fixes a potential segfault.
        SF pybsddb bug id 667343
bugfix: close the DB object when raising an exception due to an error
        during DB.open.  This prevents an exception when closing the
        environment about not all databases being closed.
        SF pybsddb bug id 667340
Lib/bsddb/test/test_basics.py
Modules/_bsddb.c