A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2014-August/135728.html below:

[Python-Dev] python2.7 infinite recursion when loading pickled object

[Python-Dev] python2.7 infinite recursion when loading pickled object [Python-Dev] python2.7 infinite recursion when loading pickled objectPeter Otten __peter__ at web.de
Mon Aug 11 14:25:01 CEST 2014
Chris Angelico wrote:

> 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.

You are right. Sorry for the confusion.


More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4