creating a subclassable extension type
Paul Miller
paul at fxtech.com
Mon Feb 24 17:59:22 EST 2003
More information about the Python-list mailing list
Mon Feb 24 17:59:22 EST 2003
- Previous message (by thread): creating a subclassable extension type - need example
- Next message (by thread): creating a subclassable extension type - need example
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I am trying to make an extension type that can be subclassed with Python code, using the new 2.2.2 type system. I have used the fileobject.c Type definition as an example, but do not know how to get a Python type to actually subclass from it. Is there a recent example of how to create a properly-subclassable C extension type? Something I can define base methods in, and allow them to be overriden by a Python subclass - then I intend to call the methods from within C, and (hopefully) get the subclassed method behavior. Thanks!
- Previous message (by thread): creating a subclassable extension type - need example
- Next message (by thread): creating a subclassable extension type - need example
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list