A 'Python like' language

Paul Rubin http
Tue Mar 30 03:08:51 EST 2004


"Mark Hahn" <mark at prothon.org> writes:
> I need a better understanding of this.  You are suggesting the self stay
> with a function like a closure of sorts?
> 
> In my mind, anytime you say obj.func(), func is called on obj, no ifs ands
> or buts.  How could it be otherwise?  When would you want it otherwise?

Well, that's not how Python does it, though doing it some other way may
not necessarily be "fragile".



More information about the Python-list mailing list