Re: cvs commit: parrot/t/pmc object-meths.t

2005-02-01 Thread Leopold Toetsch
Sam Ruby <[EMAIL PROTECTED]> wrote: > But then you effectively morph the resulting bound method into a NCI > instead of a PyNCI with the following line of code: > bound_meth->vtable = Parrot_base_vtables[enum_class_Bound_NCI]; Yes. That's a general problem in all places, where the Parrot core cr

Re: cvs commit: parrot/t/pmc object-meths.t

2005-02-01 Thread Sam Ruby
Leopold Toetsch wrote: Sam Ruby <[EMAIL PROTECTED]> wrote: [EMAIL PROTECTED] wrote: +else if (p->vtable->base_type == enum_class_NCI) { It was requested[1] that I not add any Python specific methods to the NCI method... accordingly, the majority of Python methods are morphed to a PyNCI c

Re: cvs commit: parrot/t/pmc object-meths.t

2005-02-01 Thread Leopold Toetsch
Sam Ruby <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] wrote: >> +else if (p->vtable->base_type == enum_class_NCI) { > It was requested[1] that I not add any Python specific methods to the > NCI method... accordingly, the majority of Python methods are morphed to > a PyNCI class which

Re: cvs commit: parrot/t/pmc object-meths.t

2005-02-01 Thread Sam Ruby
[EMAIL PROTECTED] wrote: +else if (p->vtable->base_type == enum_class_NCI) { It was requested[1] that I not add any Python specific methods to the NCI method... accordingly, the majority of Python methods are morphed to a PyNCI class which subclasses the base NCI class. - Sam Ruby [1]

[PATCH] Re: cvs commit: parrot/t/pmc object-meths.t

2004-11-22 Thread Luke Palmer
Leopold Toetsch writes: > +if (arg->vtable->base_type == enum_class_Key) { > +while (arg) { > +UINTVAL flags = PObj_get_FLAGS(arg); > +if (flags & KEY_register_FLAG) { > +INTVAL