Jeff Clites <[EMAIL PROTECTED]> wrote: > Python's method call semantics allows you to look up a method of an > object as an attribute, store it in a variable, and later invoke it > like a regular function.
Random note: this sounds very much like a Df^H^HC# delegate. > This works similarly if you do the lookup on > the class object, but when you invoke the "function" you need to pass > in an instance as an argument. Consider: And this sounds very much like a Perl 5 method. In light of that, the first part sounds like a Perl 6 curried sub. I suspect that Python will just need slightly fancy vtables for method and attribute lookup--nothing Parrot can't handle. It might not even need a separate vtable for the two of them, although it should implement both for interop. -- Brent 'Dax' Royal-Gordon <[EMAIL PROTECTED]> Perl and Parrot hacker There is no cabal. [I currently have a couple Gmail invites--contact me if you're interested.]