[Python-Dev] python2.7 infinite recursion when loading pickled object
Chris Angelico
rosuav at gmail.com
Mon Aug 11 13:43:00 CEST 2014
More information about the Python-Dev mailing list
Mon Aug 11 13:43:00 CEST 2014
- Previous message: [Python-Dev] python2.7 infinite recursion when loading pickled object
- Next message: [Python-Dev] python2.7 infinite recursion when loading pickled object
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Mon, Aug 11, 2014 at 9:40 PM, Peter Otten <__peter__ at web.de> wrote: > Read again. The OP tries to delegate attribute lookup to an (existing) > attribute. > > IMO the root cause of the problem is that pickle looks up __dunder__ methods > in the instance rather than the class. The recursion comes from the attempted lookup of self.item, when __init__ hasn't been called. ChrisA
- Previous message: [Python-Dev] python2.7 infinite recursion when loading pickled object
- Next message: [Python-Dev] python2.7 infinite recursion when loading pickled object
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list