[Python-bugs-list] [Bug #124367] problem with shelve not handling some db entries.

noreply@sourceforge.net noreply@sourceforge.net
Mon, 4 Dec 2000 04:57:45 -0800


Bug #124367, was updated on 2000-Dec-04 04:57
Here is a current snapshot of the bug.

Project: Python
Category: Modules
Status: Open
Resolution: None
Bug Group: None
Priority: 5
Submitted by: sjordan
Assigned to : Nobody
Summary: problem with shelve not handling some db entries.

Details: I've had a problem with shelve not handling specific database requests.
For example:

>>> import shelve
>>> x = shelve.open('testshelve')
>>> x['test'] = {}
>>> x['test']['foobar'] = 'unf'
>>> x['test']
{}
>>> 

yet it works fine if I do:

>>> x['test'] = {'foobar':'unf'}
>>> x['test']                   
{'foobar': 'unf'}
>>> 

this was using python2.0 on redhat linux 7.0 and also tried on
freebsd4 running python2.0.

For detailed info, follow this link:
http://sourceforge.net/bugs/?func=detailbug&bug_id=124367&group_id=5470