[Python-bugs-list] [ python-Bugs-410146 ] python 2.1b shelve is broken

noreply@sourceforge.net noreply@sourceforge.net
Wed, 21 Mar 2001 16:20:16 -0800


Bugs item #410146, was updated on 2001-03-20 12:27
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=410146&group_id=5470

>Category: Extension Modules
Group: None
>Status: Closed
Priority: 5
Submitted By: Robert Drach (drach)
>Assigned to: Guido van Rossum (gvanrossum)
Summary: python 2.1b shelve is broken

Initial Comment:
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 

----------------------------------------------------------------------

>Comment By: Guido van Rossum (gvanrossum)
Date: 2001-03-21 16:20

Message:
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.


----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=410146&group_id=5470