Ignore:
Timestamp:
Nov 26, 2015, 2:48:06 PM (9 years ago)
Author:
Nils Philippsen <nils@tiptoe.de>
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:
b8ed85e
Parents:
770b9e7
git-author:
Nils Philippsen <nils@tiptoe.de> (11/26/15 00:57:19)
git-committer:
Nils Philippsen <nils@tiptoe.de> (11/26/15 14:48:06)
Message:

Python 3: raise RuntimeErrors?, not generic exceptions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • python/ext/aubiowraphell.h

    r770b9e7 rac7e49b  
    1414  self->o = new_aubio_## NAME ( PARAMS ); \
    1515  if (self->o == NULL) { \
    16     PyErr_SetString (PyExc_StandardError, "error creating object"); \
     16    PyErr_SetString (PyExc_RuntimeError, "error creating object"); \
    1717    return -1; \
    1818  } \
Note: See TracChangeset for help on using the changeset viewer.