On Fri, Nov 03, 2006 at 04:28:41PM -0800, Jonathan Worthington wrote:
> Leopold Toetsch wrote:
> >Class inheritance from PMCs is very static still (like PMC-only cases). I 
> >hope that the :vtable patches will provide the base for a better solution. 
> >For now, you can only implement the mssing _integer_keyed cases in Match 
> >so that default isn't triggered. We could of course remove the defaults 
> >too, but that would need a very complete set of these keyed vtables on all 
> >PMCs.
> >  
> Or how about removing them from default.pmc and having an extra 
> attribute specifiable on PMCs like "auto_keyed" (uh, somebody please 
> think of a less naff name) that generates missing keyed methods for 
> those PMCs that want them.

To me that feels like a hack. The current rather-too-static dispatch (to me)
seems to be the bug, and the thing that needs fixing.

Nicholas Clark

Reply via email to