mspieth / rssdler

Automatically exported from code.google.com/p/rssdler
4 stars 0 forks source link

Unpickling UserDict to dict results in null #9

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
pickle a subclassed UserDict object. retool object to be a subclass of
dict. unpickle. witness that no data gets unpickled.

this should work before we release it 0.3.5

Original issue reported on code.google.com by lostnihi...@gmail.com on 17 Jan 2008 at 6:28

GoogleCodeExporter commented 8 years ago
making a __setstate__ method of the UserDict classes that pickled (FailedItem,
SaveInfo) seems to have worked.

Original comment by lostnihi...@gmail.com on 17 Jan 2008 at 3:58

GoogleCodeExporter commented 8 years ago
for rssdler python run script (as opposed to the library module), need to also 
add:
from rssdler import SaveInfo, FailedItem to make sure those are in the correct 
namespace

Original comment by lostnihi...@gmail.com on 26 Jan 2008 at 5:53