Re: [Tutor] Python C API - Defining New Classes with Multiple Inheritance

2010-12-25 Thread Stefan Behnel
Logan McGrath, 24.12.2010 03:14: Hi, I've just started using the Python C API for version 2.7.1, and I've got a question! How do you define a new type which inherits from multiple types? You can do this for Python classes, but not for C implemented types (which are single inheritance by desig

[Tutor] Python C API - Defining New Classes with Multiple Inheritance

2010-12-23 Thread Logan McGrath
Hi, I've just started using the Python C API for version 2.7.1, and I've got a question! How do you define a new type which inherits from multiple types? I've been browsing the source code for Python 2.7.1 but I'm having a tough time finding examples. I see that MySQLdb defines low-level class