Issue #1717: rename tp_compare to tp_reserved. I'll change the
type of tp_compare in a separate commit, for ease of reversion
should things go wrong.
diff --git a/Python/Python-ast.c b/Python/Python-ast.c
index cf79b37..1e85b2f 100644
--- a/Python/Python-ast.c
+++ b/Python/Python-ast.c
@@ -479,7 +479,7 @@
0, /* tp_print */
0, /* tp_getattr */
0, /* tp_setattr */
- 0, /* tp_compare */
+ 0, /* tp_reserved */
0, /* tp_repr */
0, /* tp_as_number */
0, /* tp_as_sequence */
diff --git a/Python/bltinmodule.c b/Python/bltinmodule.c
index 8cb66c5..9805697 100644
--- a/Python/bltinmodule.c
+++ b/Python/bltinmodule.c
@@ -416,7 +416,7 @@
0, /* tp_print */
0, /* tp_getattr */
0, /* tp_setattr */
- 0, /* tp_compare */
+ 0, /* tp_reserved */
0, /* tp_repr */
0, /* tp_as_number */
0, /* tp_as_sequence */
@@ -1017,7 +1017,7 @@
0, /* tp_print */
0, /* tp_getattr */
0, /* tp_setattr */
- 0, /* tp_compare */
+ 0, /* tp_reserved */
0, /* tp_repr */
0, /* tp_as_number */
0, /* tp_as_sequence */
@@ -2166,7 +2166,7 @@
0, /* tp_print */
0, /* tp_getattr */
0, /* tp_setattr */
- 0, /* tp_compare */
+ 0, /* tp_reserved */
0, /* tp_repr */
0, /* tp_as_number */
0, /* tp_as_sequence */
diff --git a/Python/import.c b/Python/import.c
index d741aca..5a2c3cb 100644
--- a/Python/import.c
+++ b/Python/import.c
@@ -3295,7 +3295,7 @@
0, /*tp_print*/
0, /*tp_getattr*/
0, /*tp_setattr*/
- 0, /*tp_compare*/
+ 0, /*tp_reserved*/
0, /*tp_repr*/
0, /*tp_as_number*/
0, /*tp_as_sequence*/
diff --git a/Python/symtable.c b/Python/symtable.c
index e3bb270..17876ea 100644
--- a/Python/symtable.c
+++ b/Python/symtable.c
@@ -130,7 +130,7 @@
0, /* tp_print */
0, /* tp_getattr */
0, /* tp_setattr */
- 0, /* tp_compare */
+ 0, /* tp_reserved */
(reprfunc)ste_repr, /* tp_repr */
0, /* tp_as_number */
0, /* tp_as_sequence */
diff --git a/Python/traceback.c b/Python/traceback.c
index 42bbd53..e77b1b2 100644
--- a/Python/traceback.c
+++ b/Python/traceback.c
@@ -72,7 +72,7 @@
0, /*tp_print*/
0, /*tp_getattr*/
0, /*tp_setattr*/
- 0, /*tp_compare*/
+ 0, /*tp_reserved*/
0, /*tp_repr*/
0, /*tp_as_number*/
0, /*tp_as_sequence*/