This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author irmen
Recipients
Date 2003-06-09.11:13:47
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
I have this object that causes a recursive call in the
__getattr__ method.

When I unpicke it using pickle, I get a runtimeerror
recursiondepth exceeded. When I unpickle it using
cPickle, everything appears to work -- no error is raised.
(tested on python 2.2.3 and 2.3b1)

The output of the attached python test file is:

***pickle***
Creating t...
Thing.__init__ name= myname
Pickle t...
Restore t...
FAIL!!!  <exceptions.RuntimeError instance at
0x00951C68> maximum recursion depth exceeded
***cPickle***
Creating t...
Thing.__init__ name= myname
Pickle t...
Restore t...
SUCCESS!!! name= myname
History
Date User Action Args
2007-08-23 14:13:46adminlinkissue751276 messages
2007-08-23 14:13:46admincreate