Dan Sugalski <[EMAIL PROTECTED]> wrote: > What I'm thinking of instead is to put properties on the class > namespace PMC that indicate which method, if any, in the namespace is > the proper method. And because initialization and finalization are... > interesting (don't ask, we'll go there later) we actually have two of > each.
WRT properties: that's fine for the general case, and if the class really installs special handlers. But - and if I get it right - we could map: BUILD -> __init CLEANUP -> __destroy to delegate PMC's vtables. The dispatch to __init is in CVS, albeit it's lacking the calls to parent classes first. Especially object construction and destruction should't get another penalty, if that isn't really needed. Finally we still have the problem of destruction ordering during DOD - or not yet - but we'll have it with objects. > So, what we're going to do is introduce six properties: > FALLBACK > CONSTRUCT > BUILD > FINALIZE > DELETE > CLEANUP which are optional? leo