~mdw
/
mLib-python
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
utils.pyx (_getfd): Hack around Pyrex exception-handling bugs.
[mLib-python]
/
defs.pxi
diff --git
a/defs.pxi
b/defs.pxi
index
cec2d86
..
b14b855
100644
(file)
--- a/
defs.pxi
+++ b/
defs.pxi
@@
-102,6
+102,7
@@
cdef extern from 'Python.h':
object PyLong_FromUnsignedLong(unsigned long i)
char *PyString_AS_STRING(string)
int _PyString_Resize(PyObject **string, int size) except -1
+ void PyErr_Clear()
void Py_INCREF(PyObject *obj)
void Py_DECREF(PyObject *obj)