As best as I can decipher from the Swig guide, I should be able to do this....

%module Test

%{
struct A {
    A( ) { }
    virtual void afunction( ) = 0;
    };
%}

struct A {
    A( );
    virtual void afunction( ) = 0;
    };

in my interface file, and then run swig...

swig -v -c++ -python Test.i

all works perfectly, except that I cannot derive from the 'A' class in Python because the
proxy class generated by Swig has an __init__ function which just invokes a RuntimeError
exception. Any ideas anyone?

Rob.