This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: python 2.1b shelve is broken
Type: Stage:
Components: Extension Modules Versions:
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: gvanrossum Nosy List: drach, gvanrossum
Priority: normal Keywords:

Created on 2001-03-20 20:27 by drach, last changed 2022-04-10 16:03 by admin. This issue is now closed.

Messages (2)
msg3973 - (view) Author: Robert Drach (drach) Date: 2001-03-20 20:27
python 2.1b shelve module is broken, on Redhat Linux
6.2:

% python
Python 2.1b1 (#1, Mar 19 2001, 15:18:14)
[GCC 2.95.2 19991024 (release)] on linux2
Type "copyright", "credits" or "license" for more
information.
>>> import shelve
>>> f = shelve.open('testshelve')
>>> f.keys()
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File "/usr/local/cdat/alpha/lib/python2.1/shelve.py",
line 56, in keys
    return self.dict.keys()
MemoryError 
msg3974 - (view) Author: Guido van Rossum (gvanrossum) * (Python committer) Date: 2001-03-22 00:20
Logged In: YES 
user_id=6380

This was actually a bug introduced recently in the bsddb
module.  Thanks for reporting this!  It's now fixed in the
CVS tree, just in time for the 2.1b2 release.
History
Date User Action Args
2022-04-10 16:03:53adminsetgithub: 34199
2001-03-20 20:27:38drachcreate