----- Original Message ----- From: "Sean O'Rourke" <[EMAIL PROTECTED]> To: "Michal Wallace" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Monday, August 11, 2003 6:43 AM Subject: Re: pirate status / need help with instances
> Michal Wallace <[EMAIL PROTECTED]> writes: > > Py-pirate can now handle: > > Cool... > > > * make parrotclass handle "invoke" > > this strikes me as the most efficient, > > but I'm not really confident with C > > so I'm hesitant to try it > > This seems to me like the way to go, except you might > subclass parrotclass to pythonclass (since this lack- > of-"new" seems to be the "Pythonic way"). The C should > pretty much just turn around and call pmc_new, then > return the original return address that was passed in. > I may be wrong, but where should the class be stored? The newclass op has an out-parameter where the newly created class is stored. Invoke doesn't have that. (right?) Klaas-Jan > /s > >