__getattr__ and pickle

Sean Mc Grath sean at digitome.com
Sun Jul 2 07:55:03 EDT 2000


Sheesh! I really need a holiday! Yet another typo fixed. Sorry
about this...

I have a reproduceable GPF on NT when pickling objects of a class
that has a __getattr__ implementation. Take out the __getattr__ and
the pickle works fine.

Are there ways to implement __getattr__ and yet preserve the ability
to pickle?

regards,






More information about the Python-list mailing list