Author ntroutman
Recipients ntroutman
Date 2009-03-18.17:08:10
SpamBayes Score 1.1676e-05
Marked as misclassified No
Message-id <>
If I define a class Foo in module A and in module A pickle out a list of
Foo objects to 'foo.pkl', then in module B attempt to unpickle 'foo.pkl'
I recieve the error "AttributeError: 'module' object has no attribute 'Foo'"

Attached are: which defines the class Foo and pickles out a list of objects attempts to load the list of objects pickled by Foo

I'm running Vista with "Python 2.5.1 (r251:54863, Apr 18 2007, 08:51:08)
[MSC v.1310 32 bit (Intel)] on win32"
Date User Action Args
2009-03-18 17:08:13ntroutmansetrecipients: + ntroutman
2009-03-18 17:08:13ntroutmansetmessageid: <>
2009-03-18 17:08:11ntroutmanlinkissue5509 messages
2009-03-18 17:08:10ntroutmancreate