Author ntroutman
Recipients ntroutman
Date 2009-03-18.17:38:00
SpamBayes Score 3.40382e-09
Marked as misclassified No
Message-id <>
I believe I've tracked down the problem. When you run a python module
directly (ie "python") any classes defined in the module have
their '__module__' attribute set to '__main__'. Which means the pickle
says the class is in '__main__' of whatever module is trying to load the

I think it would make more sense to actually include the module name,
this means that an external module need simply ensure that the pickled
class's module be imported with the correct name.
Date User Action Args
2009-03-18 17:38:04ntroutmansetrecipients: + ntroutman
2009-03-18 17:38:04ntroutmansetmessageid: <>
2009-03-18 17:38:01ntroutmanlinkissue5509 messages
2009-03-18 17:38:00ntroutmancreate