survey: is shelve broken? should it be fixed?
Oleg Broytmann
phd at phd.pp.ru
Tue May 7 04:50:17 EDT 2002
On Tue, May 07, 2002 at 08:36:20AM +0000, Alex Martelli wrote:
> >>> s=shelve.open('ciao','c',smart=1)
> >>> s['ciao']
> [0, 1, 2, 3]
> >>> s['ciao'].append(23)
> >>> s['ciao']
> [0, 1, 2, 3, 23]
> >>> s.close()
> >>> s=shelve.open('ciao','c')
> >>> s['ciao']
> [0, 1, 2, 3, 23]
+0
Oleg.
--
Oleg Broytmann http://phd.pp.ru/ phd at phd.pp.ru
Programmers don't die, they just GOSUB without RETURN.
More information about the Python-list
mailing list