En Sun, 18 Jan 2009 22:18:59 -0200, Floris Bruynooghe
escribió:
I've been trying to figure out how to override methods of a class in
the C API. For Python code you can just redefine the method in your
subclass, but setting tp_methods on the type object does not seem to
have any influcence.
On Jun 30, 5:23 am, Carl Banks <[EMAIL PROTECTED]> wrote:
> Now that I've suggested that, I highly recommend you be sure you're
> very acquainted with new-style objects and method resolution order
> before attempting this. You need extra care when using MI, even
> though this use of it is rather
On Jun 29, 7:36 pm, alf <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I want to develop a following lib:
>
> lib space user space
>
> A -> B -> | -> user_class
>
> however A and B are abstrac enough to have following:
>
> user_super_base_class -> | -> A -> B -> | -> user_class
>
> user space