[pypy-commit] pypy cpyext-cleanup: fix

rlamy pypy.commits at gmail.com
Mon Jan 2 11:23:24 EST 2017


Author: Ronan Lamy <ronan.lamy at gmail.com>
Branch: cpyext-cleanup
Changeset: r89305:e2ecb4d3858d
Date: 2017-01-02 16:22 +0000
http://bitbucket.org/pypy/pypy/changeset/e2ecb4d3858d/

Log:	fix

diff --git a/pypy/module/cpyext/api.py b/pypy/module/cpyext/api.py
--- a/pypy/module/cpyext/api.py
+++ b/pypy/module/cpyext/api.py
@@ -526,6 +526,8 @@
     'PyCapsule_SetPointer', 'PyCapsule_SetName', 'PyCapsule_SetDestructor',
     'PyCapsule_SetContext', 'PyCapsule_Import', 'PyCapsule_Type', '_Py_get_capsule_type',
 
+    'PyComplex_AsCComplex', 'PyComplex_FromCComplex',
+
     'PyObject_AsReadBuffer', 'PyObject_AsWriteBuffer', 'PyObject_CheckReadBuffer',
 
     'PyOS_getsig', 'PyOS_setsig',
diff --git a/pypy/module/cpyext/src/complexobject.c b/pypy/module/cpyext/src/complexobject.c
--- a/pypy/module/cpyext/src/complexobject.c
+++ b/pypy/module/cpyext/src/complexobject.c
@@ -4,7 +4,6 @@
 Py_complex
 PyComplex_AsCComplex(PyObject *obj)
 {
-    printf("asdfgg");
     Py_complex result;
     _PyComplex_AsCComplex(obj, &result);
     return result;


More information about the pypy-commit mailing list