Ignore:
Timestamp:
Apr 18, 2016, 10:53:24 PM (8 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/autosink, feature/cnn, feature/cnn_org, feature/constantq, feature/crepe, feature/crepe_org, feature/pitchshift, feature/pydocstrings, feature/timestretch, fix/ffmpeg5, master, pitchshift, sampler, timestretch, yinfft+
Children:
0e59ae0
Parents:
2e4ae1d
Message:

python/ext: continue preparing for python 3

File:
1 edited

Legend:

Unmodified
Added
Removed
  • python/ext/py-fft.c

    r2e4ae1d r5c1200a  
    5151    char_t errstr[30];
    5252    sprintf(errstr, "error creating fft with win_s=%d", self->win_s);
    53     PyErr_SetString (PyExc_StandardError, errstr);
     53    PyErr_SetString (PyExc_Exception, errstr);
    5454    return -1;
    5555  }
     
    6666  del_cvec(self->out);
    6767  del_fvec(self->rout);
    68   self->ob_type->tp_free((PyObject *) self);
     68  Py_TYPE(self)->tp_free((PyObject *) self);
    6969}
    7070
Note: See TracChangeset for help on using the changeset viewer.