Author: Ronan Lamy <[email protected]>
Branch: py3k
Changeset: r87574:e58c283dec9e
Date: 2016-10-04 18:40 +0100
http://bitbucket.org/pypy/pypy/changeset/e58c283dec9e/

Log:    Add missing CmpType.tp_new

diff --git a/pypy/module/cpyext/test/comparisons.c 
b/pypy/module/cpyext/test/comparisons.c
--- a/pypy/module/cpyext/test/comparisons.c
+++ b/pypy/module/cpyext/test/comparisons.c
@@ -87,6 +87,7 @@
 {
     PyObject *m, *d;
 
+    CmpType.tp_new = PyType_GenericNew;
     if (PyType_Ready(&CmpType) < 0)
         return NULL;
     m = PyModule_Create(&moduledef);
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to