Author: Ronan Lamy <[email protected]>
Branch: py3.5
Changeset: r92497:c88a0030175d
Date: 2017-09-29 00:34 +0200
http://bitbucket.org/pypy/pypy/changeset/c88a0030175d/

Log:    Match CPython3.5's descrobject.h

diff --git a/pypy/module/cpyext/parse/cpyext_descrobject.h 
b/pypy/module/cpyext/parse/cpyext_descrobject.h
--- a/pypy/module/cpyext/parse/cpyext_descrobject.h
+++ b/pypy/module/cpyext/parse/cpyext_descrobject.h
@@ -1,11 +1,11 @@
-#define PyDescr_COMMON \
-    PyObject_HEAD \
-    PyTypeObject *d_type; \
-    PyObject *d_name
+typedef struct {
+    PyObject_HEAD
+    PyTypeObject *d_type;
+    PyObject *d_name;
+    PyObject *d_qualname;
+} PyDescrObject;
 
-typedef struct {
-    PyDescr_COMMON;
-} PyDescrObject;
+#define PyDescr_COMMON PyDescrObject d_common
 
 typedef struct {
     PyDescr_COMMON;
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to