Re: [Python-Dev] in a pickle: method lookup irregularities

2013-02-16 Thread Nick Coghlan
On Sun, Feb 17, 2013 at 1:36 PM, Eric Snow wrote: > (See http://bugs.python.org/issue16251) > > The pickle module looks up special methods on instances rather than > using the behavior described in the language reference (or even just > looking them up on the class). This means that custom > __ge

[Python-Dev] in a pickle: method lookup irregularities

2013-02-16 Thread Eric Snow
(See http://bugs.python.org/issue16251) The pickle module looks up special methods on instances rather than using the behavior described in the language reference (or even just looking them up on the class). This means that custom __getattribute__() and __getattr__() implementations may get trigg