Author: Matti Picus <[email protected]>
Branch: call-via-pyobj
Changeset: r85637:a06b2c93707b
Date: 2016-07-08 21:44 -0400
http://bitbucket.org/pypy/pypy/changeset/a06b2c93707b/

Log:    tp_as_sequence provides a __mul__ method, was making descriptor
        inheritance test fail

diff --git a/pypy/module/cpyext/test/array.c b/pypy/module/cpyext/test/array.c
--- a/pypy/module/cpyext/test/array.c
+++ b/pypy/module/cpyext/test/array.c
@@ -2267,7 +2267,7 @@
     0,                                          /* tp_compare */
     (reprfunc)array_repr,                       /* tp_repr */
     0,                                          /* tp_as_number*/
-    &array_as_sequence,                         /* tp_as_sequence*/
+    0,                                          /* tp_as_sequence*/
     &array_as_mapping,                          /* tp_as_mapping*/
     0,                                          /* tp_hash */
     0,                                          /* tp_call */
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to