SWIG extension crashes

Brian Quinlan brian at sweetapp.com
Thu Mar 6 19:22:38 CET 2003


> PyObject* MyClass::Mysend()
>  {
>     return Py_None;
>  };

You aren't incrementing the reference count of Py_None.

Cheers,
Brian






More information about the Python-list mailing list