]> granicus.if.org Git - python/commit
Don't raise MemoryError in keys() when the database is empty.
authorGuido van Rossum <guido@python.org>
Thu, 22 Mar 2001 00:19:22 +0000 (00:19 +0000)
committerGuido van Rossum <guido@python.org>
Thu, 22 Mar 2001 00:19:22 +0000 (00:19 +0000)
commitec24c1bc32d06a8c9af5cacfbbca28e6175d6ed4
treecbaedfe2d2caf413d11903d3dde1d4b22cab9dbc
parent24a41911602bf98e853278ef4bb8b4fb41c0ac8c
Don't raise MemoryError in keys() when the database is empty.

This fixes SF bug #410146 (python 2.1b shelve is broken).
Modules/bsddbmodule.c