| 13593 | return NULL; |
| 13594 | } |
| 13595 | static void __Pyx_AddTraceback(const char *funcname, int c_line, |
| 13596 | int py_line, const char *filename) { |
| 13597 | PyCodeObject *py_code = 0; |
| 13598 | PyFrameObject *py_frame = 0; |
| 13599 | PyThreadState *tstate = __Pyx_PyThreadState_Current; |
| 13600 | if (c_line) { |
| 13601 | c_line = __Pyx_CLineForTraceback(tstate, c_line); |
| 13602 | } |
| 13603 | py_code = __pyx_find_code_object(c_line ? -c_line : py_line); |
| 13604 | if (!py_code) { |
| 13605 | py_code = __Pyx_CreateCodeObjectForTraceback( |
| 13606 | funcname, c_line, py_line, filename); |
| 13607 | if (!py_code) goto bad; |
| 13608 | __pyx_insert_code_object(c_line ? -c_line : py_line, py_code); |
| 13609 | } |
| 13610 | py_frame = PyFrame_New( |
| 13611 | tstate, /*PyThreadState *tstate,*/ |
| 13612 | py_code, /*PyCodeObject *code,*/ |
| 13613 | __pyx_d, /*PyObject *globals,*/ |
| 13614 | 0 /*PyObject *locals*/ |
| 13615 | ); |
| 13616 | if (!py_frame) goto bad; |
| 13617 | __Pyx_PyFrame_SetLineNumber(py_frame, py_line); |
| 13618 | PyTraceBack_Here(py_frame); |
| 13619 | bad: |
| 13620 | Py_XDECREF(py_code); |
| 13621 | Py_XDECREF(py_frame); |
| 13622 | } |
| 13623 | |
| 13624 | #if PY_MAJOR_VERSION < 3 |
| 13625 | static int __Pyx_GetBuffer(PyObject *obj, Py_buffer *view, int flags) { |
no test coverage detected