cPickle error when caching data

Benedict Verheyen benedict.verheyen at gmail.com
Tue Aug 3 17:37:22 CEST 2010

On 3/08/2010 17:01, Peter Otten wrote:
> You can only pickle instances of classes that are reachable by the import 
> system as only the qualified name of the class is stored, not the bytecode 
> to generate it. Move your class out of the function into the global module 
> scope and you should be OK.
> Peter

Thanks Peter,

that solved the problem !


More information about the Python-list mailing list