Merge pull request #40 from nphilipp/develop--py3k-fixes
authorPaul Brossier <piem@piem.org>
Mon, 18 Apr 2016 20:48:53 +0000 (22:48 +0200)
committerPaul Brossier <piem@piem.org>
Mon, 18 Apr 2016 20:48:53 +0000 (22:48 +0200)
Miscellaneous fixes for Python, mostly version 3

1  2 
python/ext/py-filter.c
python/ext/py-source.c
python/lib/gen_pyobject.py

@@@ -55,9 -54,8 +55,9 @@@ Py_filter_init (Py_filter * self, PyObj
  static void
  Py_filter_del (Py_filter * self)
  {
 +  del_fvec(self->out);
    del_aubio_filter (self->o);
-   self->ob_type->tp_free ((PyObject *) self);
+   Py_TYPE(self)->tp_free ((PyObject *) self);
  }
  
  static PyObject * 
Simple merge
Simple merge