added. Let me know if anything breaks. On Wednesday, 18 July 2012 09:09:12 UTC-5, marius.v.niekerk wrote: > > When using pickle with protocol 2 pickling a Storage object fails > > This is caused by the __getattr__ getting called to find the > __getinitargs__ and __getnewargs__ methods. They dont exist in the > dictionary so consequently they return None. Pickle then calls the None > and consequently dies. > > Implementing these methods in gluon.storage.Storage makes things all better > > def __getinitargs__(self): > return () > > def __getnewargs__(self): > return () >
--