List of methods affected by 'Special method lookup'

2019-01-28 Thread Roberto Martínez
Hi, the documentation about Special method lookup claims: "For custom classes, implicit invocations of special methods are only guaranteed to work correctly if defined on an object’s type, not in the object’s instance dicti

Re: [Python-Dev] Dinamically set __call__ method

2014-11-04 Thread Roberto Martínez
On Tue, Nov 4, 2014 at 8:06 PM, Skip Montanaro wrote: > > On Tue, Nov 4, 2014 at 1:01 PM, Roberto Martínez < > robertomartin...@gmail.com> wrote: > >> The workaround of calling a different method inside __call__ is not valid >> for my case because I want to change t

Re: [Python-Dev] Dinamically set __call__ method

2014-11-04 Thread Roberto Martínez
Ethan Furman wrote: > This list is for the development _of_ Python, not development _with_ > Python. > > Try asking on Python List. > > (forwarding...) > > > On 11/04/2014 08:52 AM, Roberto Martínez wrote: > >> >> I am trying to replace dinamically th