The SIP extension for

class Double
{
public:
    Double(double v=0): value(v) {}
private:
    double value;
};

class Ball
{
public:
    Ball() {};
    double weight;
    Double radius;
};

crashes when doing

b = Ball()
b.radius = None

because in this case the statement
        sipCpp -> radius = *val;
in var_Ball_radius() dereferences the null pointer

See attachment.

Gerard

Attachment: bug-1.tar.gz
Description: GNU Zip compressed data

_______________________________________________
PyKDE mailing list    [email protected]
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde

Reply via email to