[pypy-commit] pypy py3k: disable testcapimodule's instancemethod for now so it at least compiles
pjenvey
noreply at buildbot.pypy.org
Sat Dec 1 20:36:36 CET 2012
Author: Philip Jenvey <pjenvey at underboss.org>
Branch: py3k
Changeset: r59181:a86380295839
Date: 2012-12-01 11:33 -0800
http://bitbucket.org/pypy/pypy/changeset/a86380295839/
Log: disable testcapimodule's instancemethod for now so it at least
compiles
diff --git a/lib_pypy/_testcapimodule.c b/lib_pypy/_testcapimodule.c
--- a/lib_pypy/_testcapimodule.c
+++ b/lib_pypy/_testcapimodule.c
@@ -1,4 +1,5 @@
-/* Verbatim copy of Modules/_testcapimodule.c from CPython 3.2 */
+/* Verbatim copy of Modules/_testcapimodule.c from CPython 3.2 w/ use
+ of PyInstanceMethod disabled */
/*
* C Extension module to test Python interpreter C APIs.
*
@@ -2625,8 +2626,10 @@
PyModule_AddObject(m, "PY_SSIZE_T_MAX", PyLong_FromSsize_t(PY_SSIZE_T_MAX));
PyModule_AddObject(m, "PY_SSIZE_T_MIN", PyLong_FromSsize_t(PY_SSIZE_T_MIN));
PyModule_AddObject(m, "SIZEOF_PYGC_HEAD", PyLong_FromSsize_t(sizeof(PyGC_Head)));
+#if 0 /* XXX: disabled for PyPy (for now) */
Py_INCREF(&PyInstanceMethod_Type);
PyModule_AddObject(m, "instancemethod", (PyObject *)&PyInstanceMethod_Type);
+#endif
TestError = PyErr_NewException("_testcapi.error", NULL, NULL);
Py_INCREF(TestError);
More information about the pypy-commit
mailing list