BUG?: Saving empty array in shelve

iwl Ingo.Wolf at gmx.de
Mon Apr 2 07:14:19 EDT 2007


Hi,

I've tryed to save some data containing empty arrays (array('f')) in a
shelve.
It looks like the shelve has some problems with empty arrays, get
allways:
TypeError: ("'NoneType' object is not iterable", <type 'array.array'>,
('f', None))-
Messages when dealing with the readed back shelve.
Seems like I have to avoid empty arrays in a shelve.




More information about the Python-list mailing list