Changeset 673d7e3 for python/ext
- Timestamp:
- Jun 29, 2019, 12:42:36 PM (6 years ago)
- Branches:
- feature/autosink, feature/cnn, feature/crepe, feature/crepe_org, feature/timestretch, fix/ffmpeg5, master
- Children:
- 843b22f
- Parents:
- 841ceed
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
python/ext/py-filter.c
r841ceed r673d7e3 164 164 PyObject *type, *value, *traceback; 165 165 PyErr_Fetch(&type, &value, &traceback); 166 PyErr_Restore(PyExc_ValueError, value, traceback); 166 Py_XDECREF(type); 167 type = PyExc_ValueError; 168 Py_XINCREF(type); 169 PyErr_Restore(type, value, traceback); 167 170 } 168 171 return NULL; … … 189 192 PyObject *type, *value, *traceback; 190 193 PyErr_Fetch(&type, &value, &traceback); 191 PyErr_Restore(PyExc_ValueError, value, traceback); 194 Py_XDECREF(type); 195 type = PyExc_ValueError; 196 Py_XINCREF(type); 197 PyErr_Restore(type, value, traceback); 192 198 } 193 199 return NULL; … … 214 220 PyObject *type, *value, *traceback; 215 221 PyErr_Fetch(&type, &value, &traceback); 216 PyErr_Restore(PyExc_ValueError, value, traceback); 222 Py_XDECREF(type); 223 type = PyExc_ValueError; 224 Py_XINCREF(type); 225 PyErr_Restore(type, value, traceback); 217 226 } 218 227 return NULL;
Note: See TracChangeset
for help on using the changeset viewer.