andrew.gregory at npl.co.uk (Andrew Gregory) writes: > PyObject* MyClass::Mysend() > { > return Py_None; > }; You have to Py_INCREF Py_None before returning it. Bernhard -- Intevation GmbH http://intevation.de/ Sketch http://sketch.sourceforge.net/ MapIt! http://www.mapit.de/