summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorMark Dickinson <dickinsm@gmail.com>2009-02-02 20:36:42 (GMT)
committerMark Dickinson <dickinsm@gmail.com>2009-02-02 20:36:42 (GMT)
commite94c679df0b632bc929936ca54f0de006e1a6dc2 (patch)
tree79c6f9c819bb350a87917880ce5267394e64db79 /Modules
parent438cecd3de1388075d921a1b84121a33f10844eb (diff)
downloadcpython-e94c679df0b632bc929936ca54f0de006e1a6dc2.zip
cpython-e94c679df0b632bc929936ca54f0de006e1a6dc2.tar.gz
cpython-e94c679df0b632bc929936ca54f0de006e1a6dc2.tar.bz2
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.
Diffstat (limited to 'Modules')
-rw-r--r--Modules/_bytesio.c2
-rw-r--r--Modules/_collectionsmodule.c8
-rw-r--r--Modules/_csv.c6
-rw-r--r--Modules/_ctypes/_ctypes.c30
-rw-r--r--Modules/_ctypes/callbacks.c2
-rw-r--r--Modules/_ctypes/callproc.c2
-rw-r--r--Modules/_ctypes/cfield.c2
-rw-r--r--Modules/_ctypes/stgdict.c2
-rw-r--r--Modules/_curses_panel.c2
-rw-r--r--Modules/_cursesmodule.c2
-rw-r--r--Modules/_dbmmodule.c2
-rw-r--r--Modules/_elementtree.c6
-rw-r--r--Modules/_fileio.c2
-rw-r--r--Modules/_functoolsmodule.c2
-rw-r--r--Modules/_gdbmmodule.c2
-rw-r--r--Modules/_hashopenssl.c2
-rw-r--r--Modules/_lsprof.c2
-rw-r--r--Modules/_multiprocessing/connection.h2
-rw-r--r--Modules/_multiprocessing/semaphore.c2
-rw-r--r--Modules/_pickle.c4
-rw-r--r--Modules/_randommodule.c2
-rw-r--r--Modules/_sqlite/cache.c4
-rw-r--r--Modules/_sqlite/connection.c2
-rw-r--r--Modules/_sqlite/cursor.c2
-rw-r--r--Modules/_sqlite/prepare_protocol.c2
-rw-r--r--Modules/_sqlite/row.c2
-rw-r--r--Modules/_sqlite/statement.c2
-rw-r--r--Modules/_sre.c6
-rw-r--r--Modules/_ssl.c2
-rw-r--r--Modules/_stringio.c2
-rw-r--r--Modules/_struct.c2
-rw-r--r--Modules/_testcapimodule.c4
-rw-r--r--Modules/_threadmodule.c4
-rw-r--r--Modules/_tkinter.c6
-rw-r--r--Modules/arraymodule.c4
-rw-r--r--Modules/bz2module.c6
-rw-r--r--Modules/cjkcodecs/multibytecodec.c10
-rw-r--r--Modules/datetimemodule.c12
-rw-r--r--Modules/itertoolsmodule.c38
-rw-r--r--Modules/md5module.c2
-rw-r--r--Modules/mmapmodule.c2
-rw-r--r--Modules/operator.c6
-rw-r--r--Modules/ossaudiodev.c4
-rw-r--r--Modules/parsermodule.c2
-rw-r--r--Modules/pyexpat.c2
-rw-r--r--Modules/selectmodule.c8
-rw-r--r--Modules/sha1module.c2
-rw-r--r--Modules/sha256module.c4
-rw-r--r--Modules/sha512module.c4
-rw-r--r--Modules/socketmodule.c2
-rw-r--r--Modules/unicodedata.c2
-rw-r--r--Modules/xxmodule.c6
-rw-r--r--Modules/xxsubtype.c4
-rw-r--r--Modules/zipimport.c2
-rw-r--r--Modules/zlibmodule.c4
55 files changed, 126 insertions, 126 deletions
diff --git a/Modules/_bytesio.c b/Modules/_bytesio.c
index 48fe50a..2cea0fc 100644
--- a/Modules/_bytesio.c
+++ b/Modules/_bytesio.c
@@ -698,7 +698,7 @@ static PyTypeObject BytesIO_Type = {
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/Modules/_collectionsmodule.c b/Modules/_collectionsmodule.c
index 1b855e1..20f30f4 100644
--- a/Modules/_collectionsmodule.c
+++ b/Modules/_collectionsmodule.c
@@ -848,7 +848,7 @@ static PyTypeObject deque_type = {
0, /* tp_print */
0, /* tp_getattr */
0, /* tp_setattr */
- 0, /* tp_compare */
+ 0, /* tp_reserved */
deque_repr, /* tp_repr */
0, /* tp_as_number */
&deque_as_sequence, /* tp_as_sequence */
@@ -978,7 +978,7 @@ static PyTypeObject dequeiter_type = {
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 */
@@ -1061,7 +1061,7 @@ static PyTypeObject dequereviter_type = {
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 */
@@ -1318,7 +1318,7 @@ static PyTypeObject defdict_type = {
0, /* tp_print */
0, /* tp_getattr */
0, /* tp_setattr */
- 0, /* tp_compare */
+ 0, /* tp_reserved */
(reprfunc)defdict_repr, /* tp_repr */
0, /* tp_as_number */
0, /* tp_as_sequence */
diff --git a/Modules/_csv.c b/Modules/_csv.c
index 5175e71..1fbba41 100644
--- a/Modules/_csv.c
+++ b/Modules/_csv.c
@@ -443,7 +443,7 @@ static PyTypeObject Dialect_Type = {
(printfunc)0, /* tp_print */
(getattrfunc)0, /* tp_getattr */
(setattrfunc)0, /* tp_setattr */
- 0, /* tp_compare */
+ 0, /* tp_reserved */
(reprfunc)0, /* tp_repr */
0, /* tp_as_number */
0, /* tp_as_sequence */
@@ -864,7 +864,7 @@ static PyTypeObject Reader_Type = {
(printfunc)0, /*tp_print*/
(getattrfunc)0, /*tp_getattr*/
(setattrfunc)0, /*tp_setattr*/
- 0, /*tp_compare*/
+ 0, /*tp_reserved*/
(reprfunc)0, /*tp_repr*/
0, /*tp_as_number*/
0, /*tp_as_sequence*/
@@ -1286,7 +1286,7 @@ static PyTypeObject Writer_Type = {
(printfunc)0, /*tp_print*/
(getattrfunc)0, /*tp_getattr*/
(setattrfunc)0, /*tp_setattr*/
- 0, /*tp_compare*/
+ 0, /*tp_reserved*/
(reprfunc)0, /*tp_repr*/
0, /*tp_as_number*/
0, /*tp_as_sequence*/
diff --git a/Modules/_ctypes/_ctypes.c b/Modules/_ctypes/_ctypes.c
index a003a6c..9eb4975 100644
--- a/Modules/_ctypes/_ctypes.c
+++ b/Modules/_ctypes/_ctypes.c
@@ -179,7 +179,7 @@ static PyTypeObject DictRemover_Type = {
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 */
@@ -713,7 +713,7 @@ PyTypeObject StructType_Type = {
0, /* tp_print */
0, /* tp_getattr */
0, /* tp_setattr */
- 0, /* tp_compare */
+ 0, /* tp_reserved */
0, /* tp_repr */
0, /* tp_as_number */
&CDataType_as_sequence, /* tp_as_sequence */
@@ -755,7 +755,7 @@ static PyTypeObject UnionType_Type = {
0, /* tp_print */
0, /* tp_getattr */
0, /* tp_setattr */
- 0, /* tp_compare */
+ 0, /* tp_reserved */
0, /* tp_repr */
0, /* tp_as_number */
&CDataType_as_sequence, /* tp_as_sequence */
@@ -988,7 +988,7 @@ PyTypeObject PointerType_Type = {
0, /* tp_print */
0, /* tp_getattr */
0, /* tp_setattr */
- 0, /* tp_compare */
+ 0, /* tp_reserved */
0, /* tp_repr */
0, /* tp_as_number */
&CDataType_as_sequence, /* tp_as_sequence */
@@ -1390,7 +1390,7 @@ PyTypeObject ArrayType_Type = {
0, /* tp_print */
0, /* tp_getattr */
0, /* tp_setattr */
- 0, /* tp_compare */
+ 0, /* tp_reserved */
0, /* tp_repr */
0, /* tp_as_number */
&CDataType_as_sequence, /* tp_as_sequence */
@@ -2059,7 +2059,7 @@ PyTypeObject SimpleType_Type = {
0, /* tp_print */
0, /* tp_getattr */
0, /* tp_setattr */
- 0, /* tp_compare */
+ 0, /* tp_reserved */
0, /* tp_repr */
0, /* tp_as_number */
&CDataType_as_sequence, /* tp_as_sequence */
@@ -2277,7 +2277,7 @@ PyTypeObject CFuncPtrType_Type = {
0, /* tp_print */
0, /* tp_getattr */
0, /* tp_setattr */
- 0, /* tp_compare */
+ 0, /* tp_reserved */
0, /* tp_repr */
0, /* tp_as_number */
&CDataType_as_sequence, /* tp_as_sequence */
@@ -2560,7 +2560,7 @@ PyTypeObject CData_Type = {
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 */
@@ -3889,7 +3889,7 @@ PyTypeObject CFuncPtr_Type = {
0, /* tp_print */
0, /* tp_getattr */
0, /* tp_setattr */
- 0, /* tp_compare */
+ 0, /* tp_reserved */
(reprfunc)CFuncPtr_repr, /* tp_repr */
&CFuncPtr_as_number, /* tp_as_number */
0, /* tp_as_sequence */
@@ -4032,7 +4032,7 @@ static PyTypeObject Struct_Type = {
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 */
@@ -4074,7 +4074,7 @@ static PyTypeObject Union_Type = {
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 */
@@ -4383,7 +4383,7 @@ PyTypeObject Array_Type = {
0, /* tp_print */
0, /* tp_getattr */
0, /* tp_setattr */
- 0, /* tp_compare */
+ 0, /* tp_reserved */
0, /* tp_repr */
0, /* tp_as_number */
&Array_as_sequence, /* tp_as_sequence */
@@ -4615,7 +4615,7 @@ static PyTypeObject Simple_Type = {
0, /* tp_print */
0, /* tp_getattr */
0, /* tp_setattr */
- 0, /* tp_compare */
+ 0, /* tp_reserved */
(reprfunc)&Simple_repr, /* tp_repr */
&Simple_as_number, /* tp_as_number */
0, /* tp_as_sequence */
@@ -4992,7 +4992,7 @@ PyTypeObject Pointer_Type = {
0, /* tp_print */
0, /* tp_getattr */
0, /* tp_setattr */
- 0, /* tp_compare */
+ 0, /* tp_reserved */
0, /* tp_repr */
&Pointer_as_number, /* tp_as_number */
&Pointer_as_sequence, /* tp_as_sequence */
@@ -5086,7 +5086,7 @@ static PyTypeObject PyComError_Type = {
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/Modules/_ctypes/callbacks.c b/Modules/_ctypes/callbacks.c
index 80b4cde..ed86ee5 100644
--- a/Modules/_ctypes/callbacks.c
+++ b/Modules/_ctypes/callbacks.c
@@ -50,7 +50,7 @@ PyTypeObject CThunk_Type = {
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/Modules/_ctypes/callproc.c b/Modules/_ctypes/callproc.c
index bf0de88..3bd6d66 100644
--- a/Modules/_ctypes/callproc.c
+++ b/Modules/_ctypes/callproc.c
@@ -512,7 +512,7 @@ PyTypeObject PyCArg_Type = {
0, /* tp_print */
0, /* tp_getattr */
0, /* tp_setattr */
- 0, /* tp_compare */
+ 0, /* tp_reserved */
(reprfunc)PyCArg_repr, /* tp_repr */
0, /* tp_as_number */
0, /* tp_as_sequence */
diff --git a/Modules/_ctypes/cfield.c b/Modules/_ctypes/cfield.c
index ecb86be..7f07b7a 100644
--- a/Modules/_ctypes/cfield.c
+++ b/Modules/_ctypes/cfield.c
@@ -289,7 +289,7 @@ PyTypeObject CField_Type = {
0, /* tp_print */
0, /* tp_getattr */
0, /* tp_setattr */
- 0, /* tp_compare */
+ 0, /* tp_reserved */
(reprfunc)CField_repr, /* tp_repr */
0, /* tp_as_number */
0, /* tp_as_sequence */
diff --git a/Modules/_ctypes/stgdict.c b/Modules/_ctypes/stgdict.c
index 7db3e0f..f1a5463 100644
--- a/Modules/_ctypes/stgdict.c
+++ b/Modules/_ctypes/stgdict.c
@@ -111,7 +111,7 @@ PyTypeObject StgDict_Type = {
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/Modules/_curses_panel.c b/Modules/_curses_panel.c
index 26cea8c..02e064f 100644
--- a/Modules/_curses_panel.c
+++ b/Modules/_curses_panel.c
@@ -341,7 +341,7 @@ PyTypeObject PyCursesPanel_Type = {
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/Modules/_cursesmodule.c b/Modules/_cursesmodule.c
index 3764f48..9bc74a6 100644
--- a/Modules/_cursesmodule.c
+++ b/Modules/_cursesmodule.c
@@ -1662,7 +1662,7 @@ PyTypeObject PyCursesWindow_Type = {
0, /*tp_print*/
(getattrfunc)0, /*tp_getattr*/
(setattrfunc)0, /*tp_setattr*/
- 0, /*tp_compare*/
+ 0, /*tp_reserved*/
0, /*tp_repr*/
0, /*tp_as_number*/
0, /*tp_as_sequence*/
diff --git a/Modules/_dbmmodule.c b/Modules/_dbmmodule.c
index 80c73bf..885c3aa 100644
--- a/Modules/_dbmmodule.c
+++ b/Modules/_dbmmodule.c
@@ -337,7 +337,7 @@ static PyTypeObject Dbmtype = {
0, /*tp_print*/
0, /*tp_getattr*/
0, /*tp_setattr*/
- 0, /*tp_compare*/
+ 0, /*tp_reserved*/
0, /*tp_repr*/
0, /*tp_as_number*/
&dbm_as_sequence, /*tp_as_sequence*/
diff --git a/Modules/_elementtree.c b/Modules/_elementtree.c
index 46c19eb..ac118b4 100644
--- a/Modules/_elementtree.c
+++ b/Modules/_elementtree.c
@@ -1379,7 +1379,7 @@ static PyTypeObject Element_Type = {
0, /* tp_print */
0, /* tp_getattr */
(setattrfunc)element_setattr, /* tp_setattr */
- 0, /* tp_compare */
+ 0, /* tp_reserved */
(reprfunc)element_repr, /* tp_repr */
0, /* tp_as_number */
&element_as_sequence, /* tp_as_sequence */
@@ -1803,7 +1803,7 @@ static PyTypeObject TreeBuilder_Type = {
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 */
@@ -2559,7 +2559,7 @@ static PyTypeObject XMLParser_Type = {
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/Modules/_fileio.c b/Modules/_fileio.c
index 7a71837..339a1d7 100644
--- a/Modules/_fileio.c
+++ b/Modules/_fileio.c
@@ -907,7 +907,7 @@ PyTypeObject PyFileIO_Type = {
0, /* tp_print */
0, /* tp_getattr */
0, /* tp_setattr */
- 0, /* tp_compare */
+ 0, /* tp_reserved */
(reprfunc)fileio_repr, /* tp_repr */
0, /* tp_as_number */
0, /* tp_as_sequence */
diff --git a/Modules/_functoolsmodule.c b/Modules/_functoolsmodule.c
index 731d028..369eb5c 100644
--- a/Modules/_functoolsmodule.c
+++ b/Modules/_functoolsmodule.c
@@ -206,7 +206,7 @@ static PyTypeObject partial_type = {
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/Modules/_gdbmmodule.c b/Modules/_gdbmmodule.c
index c6817fe..de453ac 100644
--- a/Modules/_gdbmmodule.c
+++ b/Modules/_gdbmmodule.c
@@ -390,7 +390,7 @@ static PyTypeObject Dbmtype = {
0, /*tp_print*/
0, /*tp_getattr*/
0, /*tp_setattr*/
- 0, /*tp_compare*/
+ 0, /*tp_reserved*/
0, /*tp_repr*/
0, /*tp_as_number*/
&dbm_as_sequence, /*tp_as_sequence*/
diff --git a/Modules/_hashopenssl.c b/Modules/_hashopenssl.c
index 2284c5c..bd15b01 100644
--- a/Modules/_hashopenssl.c
+++ b/Modules/_hashopenssl.c
@@ -407,7 +407,7 @@ static PyTypeObject EVPtype = {
0, /*tp_print*/
0, /*tp_getattr*/
0, /*tp_setattr*/
- 0, /*tp_compare*/
+ 0, /*tp_reserved*/
(reprfunc)EVP_repr, /*tp_repr*/
0, /*tp_as_number*/
0, /*tp_as_sequence*/
diff --git a/Modules/_lsprof.c b/Modules/_lsprof.c
index 8457de1..43cb9b1 100644
--- a/Modules/_lsprof.c
+++ b/Modules/_lsprof.c
@@ -820,7 +820,7 @@ static PyTypeObject PyProfiler_Type = {
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/Modules/_multiprocessing/connection.h b/Modules/_multiprocessing/connection.h
index 105d59c..581beac 100644
--- a/Modules/_multiprocessing/connection.h
+++ b/Modules/_multiprocessing/connection.h
@@ -487,7 +487,7 @@ PyTypeObject CONNECTION_TYPE = {
/* tp_print */ 0,
/* tp_getattr */ 0,
/* tp_setattr */ 0,
- /* tp_compare */ 0,
+ /* tp_reserved */ 0,
/* tp_repr */ (reprfunc)connection_repr,
/* tp_as_number */ 0,
/* tp_as_sequence */ 0,
diff --git a/Modules/_multiprocessing/semaphore.c b/Modules/_multiprocessing/semaphore.c
index a5ba71e..9c8c445 100644
--- a/Modules/_multiprocessing/semaphore.c
+++ b/Modules/_multiprocessing/semaphore.c
@@ -592,7 +592,7 @@ PyTypeObject SemLockType = {
/* 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 */ 0,
diff --git a/Modules/_pickle.c b/Modules/_pickle.c
index 1036367..4976cc5 100644
--- a/Modules/_pickle.c
+++ b/Modules/_pickle.c
@@ -2677,7 +2677,7 @@ static PyTypeObject Pickler_Type = {
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*/
@@ -4534,7 +4534,7 @@ static PyTypeObject Unpickler_Type = {
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/Modules/_randommodule.c b/Modules/_randommodule.c
index 4cdd98d..2718b69 100644
--- a/Modules/_randommodule.c
+++ b/Modules/_randommodule.c
@@ -459,7 +459,7 @@ static PyTypeObject Random_Type = {
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/Modules/_sqlite/cache.c b/Modules/_sqlite/cache.c
index ed53958..7ac043c 100644
--- a/Modules/_sqlite/cache.c
+++ b/Modules/_sqlite/cache.c
@@ -282,7 +282,7 @@ PyTypeObject pysqlite_NodeType = {
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 */
@@ -324,7 +324,7 @@ PyTypeObject pysqlite_CacheType = {
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/Modules/_sqlite/connection.c b/Modules/_sqlite/connection.c
index 7fa69e7..f795523 100644
--- a/Modules/_sqlite/connection.c
+++ b/Modules/_sqlite/connection.c
@@ -1350,7 +1350,7 @@ PyTypeObject pysqlite_ConnectionType = {
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/Modules/_sqlite/cursor.c b/Modules/_sqlite/cursor.c
index f33abe4..7ce6cc5 100644
--- a/Modules/_sqlite/cursor.c
+++ b/Modules/_sqlite/cursor.c
@@ -1066,7 +1066,7 @@ PyTypeObject pysqlite_CursorType = {
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/Modules/_sqlite/prepare_protocol.c b/Modules/_sqlite/prepare_protocol.c
index c018c96..96b1dca 100644
--- a/Modules/_sqlite/prepare_protocol.c
+++ b/Modules/_sqlite/prepare_protocol.c
@@ -42,7 +42,7 @@ PyTypeObject pysqlite_PrepareProtocolType= {
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/Modules/_sqlite/row.c b/Modules/_sqlite/row.c
index d357efa..f9f57e9 100644
--- a/Modules/_sqlite/row.c
+++ b/Modules/_sqlite/row.c
@@ -210,7 +210,7 @@ PyTypeObject pysqlite_RowType = {
(printfunc)pysqlite_row_print, /* 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/Modules/_sqlite/statement.c b/Modules/_sqlite/statement.c
index f1c0e7c..fc2b4c4 100644
--- a/Modules/_sqlite/statement.c
+++ b/Modules/_sqlite/statement.c
@@ -464,7 +464,7 @@ PyTypeObject pysqlite_StatementType = {
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/Modules/_sre.c b/Modules/_sre.c
index 823dc50..45b92f3 100644
--- a/Modules/_sre.c
+++ b/Modules/_sre.c
@@ -2625,7 +2625,7 @@ static PyTypeObject Pattern_Type = {
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 */
@@ -3635,7 +3635,7 @@ static PyTypeObject Match_Type = {
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 */
@@ -3819,7 +3819,7 @@ static PyTypeObject Scanner_Type = {
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/Modules/_ssl.c b/Modules/_ssl.c
index f143ae9..37a14b1 100644
--- a/Modules/_ssl.c
+++ b/Modules/_ssl.c
@@ -1432,7 +1432,7 @@ static PyTypeObject PySSL_Type = {
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/Modules/_stringio.c b/Modules/_stringio.c
index f342048..e627258 100644
--- a/Modules/_stringio.c
+++ b/Modules/_stringio.c
@@ -322,7 +322,7 @@ static PyTypeObject StringIO_Type = {
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/Modules/_struct.c b/Modules/_struct.c
index 25144de..94cb303 100644
--- a/Modules/_struct.c
+++ b/Modules/_struct.c
@@ -1853,7 +1853,7 @@ PyTypeObject PyStructType = {
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/Modules/_testcapimodule.c b/Modules/_testcapimodule.c
index d3527db..438d5a2 100644
--- a/Modules/_testcapimodule.c
+++ b/Modules/_testcapimodule.c
@@ -187,7 +187,7 @@ static PyTypeObject _HashInheritanceTester_Type = {
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 */
@@ -1322,7 +1322,7 @@ static PyTypeObject test_structmembersType = {
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/Modules/_threadmodule.c b/Modules/_threadmodule.c
index f0d03d7..a031998 100644
--- a/Modules/_threadmodule.c
+++ b/Modules/_threadmodule.c
@@ -129,7 +129,7 @@ static PyTypeObject Locktype = {
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*/
@@ -358,7 +358,7 @@ static PyTypeObject localtype = {
/* 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 */ 0,
diff --git a/Modules/_tkinter.c b/Modules/_tkinter.c
index 01d1069..81ec6a0 100644
--- a/Modules/_tkinter.c
+++ b/Modules/_tkinter.c
@@ -869,7 +869,7 @@ static PyTypeObject PyTclObject_Type = {
0, /*tp_print*/
0, /*tp_getattr*/
0, /*tp_setattr*/
- 0, /*tp_compare*/
+ 0, /*tp_reserved*/
(reprfunc)PyTclObject_repr, /*tp_repr*/
0, /*tp_as_number*/
0, /*tp_as_sequence*/
@@ -2351,7 +2351,7 @@ static PyTypeObject Tktt_Type =
0, /*tp_print */
0, /*tp_getattr */
0, /*tp_setattr */
- 0, /*tp_compare */
+ 0, /*tp_reserved */
Tktt_Repr, /*tp_repr */
0, /*tp_as_number */
0, /*tp_as_sequence */
@@ -2677,7 +2677,7 @@ static PyTypeObject Tkapp_Type =
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/Modules/arraymodule.c b/Modules/arraymodule.c
index c8b40bd..690c488 100644
--- a/Modules/arraymodule.c
+++ b/Modules/arraymodule.c
@@ -2013,7 +2013,7 @@ static PyTypeObject Arraytype = {
0, /* tp_print */
0, /* tp_getattr */
0, /* tp_setattr */
- 0, /* tp_compare */
+ 0, /* tp_reserved */
(reprfunc)array_repr, /* tp_repr */
0, /* tp_as_number*/
&array_as_sequence, /* tp_as_sequence*/
@@ -2116,7 +2116,7 @@ static PyTypeObject PyArrayIter_Type = {
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/Modules/bz2module.c b/Modules/bz2module.c
index c7cc767..5f1d01b 100644
--- a/Modules/bz2module.c
+++ b/Modules/bz2module.c
@@ -1339,7 +1339,7 @@ static PyTypeObject BZ2File_Type = {
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*/
@@ -1622,7 +1622,7 @@ static PyTypeObject BZ2Comp_Type = {
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*/
@@ -1851,7 +1851,7 @@ static PyTypeObject BZ2Decomp_Type = {
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/Modules/cjkcodecs/multibytecodec.c b/Modules/cjkcodecs/multibytecodec.c
index 82dfd49..9846465 100644
--- a/Modules/cjkcodecs/multibytecodec.c
+++ b/Modules/cjkcodecs/multibytecodec.c
@@ -705,7 +705,7 @@ static PyTypeObject MultibyteCodec_Type = {
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 */
@@ -990,7 +990,7 @@ static PyTypeObject MultibyteIncrementalEncoder_Type = {
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 */
@@ -1199,7 +1199,7 @@ static PyTypeObject MultibyteIncrementalDecoder_Type = {
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 */
@@ -1529,7 +1529,7 @@ static PyTypeObject MultibyteStreamReader_Type = {
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 */
@@ -1749,7 +1749,7 @@ static PyTypeObject MultibyteStreamWriter_Type = {
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/Modules/datetimemodule.c b/Modules/datetimemodule.c
index 98ae2bd..0c6e664 100644
--- a/Modules/datetimemodule.c
+++ b/Modules/datetimemodule.c
@@ -1427,7 +1427,7 @@ build_struct_time(int y, int m, int d, int hh, int mm, int ss, int dstflag)
* Miscellaneous helpers.
*/
-/* For various reasons, we need to use tp_richcompare instead of tp_compare.
+/* For various reasons, we need to use tp_richcompare instead of tp_reserved.
* The comparisons here all most naturally compute a cmp()-like result.
* This little helper turns that into a bool result for rich comparisons.
*/
@@ -2138,7 +2138,7 @@ static PyTypeObject PyDateTime_DeltaType = {
0, /* tp_print */
0, /* tp_getattr */
0, /* tp_setattr */
- 0, /* tp_compare */
+ 0, /* tp_reserved */
(reprfunc)delta_repr, /* tp_repr */
&delta_as_number, /* tp_as_number */
0, /* tp_as_sequence */
@@ -2709,7 +2709,7 @@ static PyTypeObject PyDateTime_DateType = {
0, /* tp_print */
0, /* tp_getattr */
0, /* tp_setattr */
- 0, /* tp_compare */
+ 0, /* tp_reserved */
(reprfunc)date_repr, /* tp_repr */
&date_as_number, /* tp_as_number */
0, /* tp_as_sequence */
@@ -2963,7 +2963,7 @@ static PyTypeObject PyDateTime_TZInfoType = {
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 */
@@ -3478,7 +3478,7 @@ static PyTypeObject PyDateTime_TimeType = {
0, /* tp_print */
0, /* tp_getattr */
0, /* tp_setattr */
- 0, /* tp_compare */
+ 0, /* tp_reserved */
(reprfunc)time_repr, /* tp_repr */
&time_as_number, /* tp_as_number */
0, /* tp_as_sequence */
@@ -4606,7 +4606,7 @@ static PyTypeObject PyDateTime_DateTimeType = {
0, /* tp_print */
0, /* tp_getattr */
0, /* tp_setattr */
- 0, /* tp_compare */
+ 0, /* tp_reserved */
(reprfunc)datetime_repr, /* tp_repr */
&datetime_as_number, /* tp_as_number */
0, /* tp_as_sequence */
diff --git a/Modules/itertoolsmodule.c b/Modules/itertoolsmodule.c
index ac3941d..58c30f9 100644
--- a/Modules/itertoolsmodule.c
+++ b/Modules/itertoolsmodule.c
@@ -148,7 +148,7 @@ static PyTypeObject groupby_type = {
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 */
@@ -279,7 +279,7 @@ static PyTypeObject _grouper_type = {
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 */
@@ -432,7 +432,7 @@ static PyTypeObject teedataobject_type = {
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 */
@@ -588,7 +588,7 @@ static PyTypeObject tee_type = {
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 */
@@ -783,7 +783,7 @@ static PyTypeObject cycle_type = {
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 */
@@ -925,7 +925,7 @@ static PyTypeObject dropwhile_type = {
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 */
@@ -1064,7 +1064,7 @@ static PyTypeObject takewhile_type = {
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 */
@@ -1257,7 +1257,7 @@ static PyTypeObject islice_type = {
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 */
@@ -1388,7 +1388,7 @@ static PyTypeObject starmap_type = {
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 */
@@ -1556,7 +1556,7 @@ static PyTypeObject chain_type = {
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 */
@@ -1804,7 +1804,7 @@ static PyTypeObject product_type = {
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 */
@@ -2027,7 +2027,7 @@ static PyTypeObject combinations_type = {
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 */
@@ -2273,7 +2273,7 @@ static PyTypeObject cwr_type = {
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 */
@@ -2544,7 +2544,7 @@ static PyTypeObject permutations_type = {
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 */
@@ -2700,7 +2700,7 @@ static PyTypeObject compress_type = {
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 */
@@ -2843,7 +2843,7 @@ static PyTypeObject filterfalse_type = {
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 */
@@ -2994,7 +2994,7 @@ static PyTypeObject count_type = {
0, /* tp_print */
0, /* tp_getattr */
0, /* tp_setattr */
- 0, /* tp_compare */
+ 0, /* tp_reserved */
(reprfunc)count_repr, /* tp_repr */
0, /* tp_as_number */
0, /* tp_as_sequence */
@@ -3129,7 +3129,7 @@ static PyTypeObject repeat_type = {
0, /* tp_print */
0, /* tp_getattr */
0, /* tp_setattr */
- 0, /* tp_compare */
+ 0, /* tp_reserved */
(reprfunc)repeat_repr, /* tp_repr */
0, /* tp_as_number */
0, /* tp_as_sequence */
@@ -3355,7 +3355,7 @@ static PyTypeObject ziplongest_type = {
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/Modules/md5module.c b/Modules/md5module.c
index 0f3c6d9..3d54131 100644
--- a/Modules/md5module.c
+++ b/Modules/md5module.c
@@ -476,7 +476,7 @@ static PyTypeObject MD5type = {
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/Modules/mmapmodule.c b/Modules/mmapmodule.c
index 6a2ebfd..034bd22 100644
--- a/Modules/mmapmodule.c
+++ b/Modules/mmapmodule.c
@@ -930,7 +930,7 @@ static PyTypeObject mmap_object_type = {
0, /* tp_print */
0, /* tp_getattr */
0, /* tp_setattr */
- 0, /* tp_compare */
+ 0, /* tp_reserved */
0, /* tp_repr */
0, /* tp_as_number */
&mmap_as_sequence, /*tp_as_sequence*/
diff --git a/Modules/operator.c b/Modules/operator.c
index 9a1efb2..0ba8b09 100644
--- a/Modules/operator.c
+++ b/Modules/operator.c
@@ -334,7 +334,7 @@ static PyTypeObject itemgetter_type = {
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 */
@@ -508,7 +508,7 @@ static PyTypeObject attrgetter_type = {
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 */
@@ -639,7 +639,7 @@ static PyTypeObject methodcaller_type = {
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/Modules/ossaudiodev.c b/Modules/ossaudiodev.c
index 677f9ac..7686902 100644
--- a/Modules/ossaudiodev.c
+++ b/Modules/ossaudiodev.c
@@ -849,7 +849,7 @@ static PyTypeObject OSSAudioType = {
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*/
@@ -881,7 +881,7 @@ static PyTypeObject OSSMixerType = {
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/Modules/parsermodule.c b/Modules/parsermodule.c
index 32de6bc..38ec65e 100644
--- a/Modules/parsermodule.c
+++ b/Modules/parsermodule.c
@@ -203,7 +203,7 @@ PyTypeObject PyST_Type = {
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/Modules/pyexpat.c b/Modules/pyexpat.c
index ce72885..a968e52 100644
--- a/Modules/pyexpat.c
+++ b/Modules/pyexpat.c
@@ -1622,7 +1622,7 @@ static PyTypeObject Xmlparsetype = {
(printfunc)0, /*tp_print*/
0, /*tp_getattr*/
(setattrfunc)xmlparse_setattr, /*tp_setattr*/
- 0, /*tp_compare*/
+ 0, /*tp_reserved*/
(reprfunc)0, /*tp_repr*/
0, /*tp_as_number*/
0, /*tp_as_sequence*/
diff --git a/Modules/selectmodule.c b/Modules/selectmodule.c
index bd42e12..191296e 100644
--- a/Modules/selectmodule.c
+++ b/Modules/selectmodule.c
@@ -639,7 +639,7 @@ static PyTypeObject poll_Type = {
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*/
@@ -1097,7 +1097,7 @@ static PyTypeObject pyEpoll_Type = {
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 */
@@ -1310,7 +1310,7 @@ static PyTypeObject kqueue_event_Type = {
0, /* tp_print */
0, /* tp_getattr */
0, /* tp_setattr */
- 0, /* tp_compare */
+ 0, /* tp_reserved */
(reprfunc)kqueue_event_repr, /* tp_repr */
0, /* tp_as_number */
0, /* tp_as_sequence */
@@ -1665,7 +1665,7 @@ static PyTypeObject kqueue_queue_Type = {
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/Modules/sha1module.c b/Modules/sha1module.c
index 7d97e4f..4d8ed1d 100644
--- a/Modules/sha1module.c
+++ b/Modules/sha1module.c
@@ -452,7 +452,7 @@ static PyTypeObject SHA1type = {
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/Modules/sha256module.c b/Modules/sha256module.c
index 9cecd3a..523f528 100644
--- a/Modules/sha256module.c
+++ b/Modules/sha256module.c
@@ -545,7 +545,7 @@ static PyTypeObject SHA224type = {
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*/
@@ -579,7 +579,7 @@ static PyTypeObject SHA256type = {
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/Modules/sha512module.c b/Modules/sha512module.c
index 472b158..7d67a23 100644
--- a/Modules/sha512module.c
+++ b/Modules/sha512module.c
@@ -611,7 +611,7 @@ static PyTypeObject SHA384type = {
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*/
@@ -645,7 +645,7 @@ static PyTypeObject SHA512type = {
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/Modules/socketmodule.c b/Modules/socketmodule.c
index b7b9a64..a302dc5 100644
--- a/Modules/socketmodule.c
+++ b/Modules/socketmodule.c
@@ -2860,7 +2860,7 @@ static PyTypeObject sock_type = {
0, /* tp_print */
0, /* tp_getattr */
0, /* tp_setattr */
- 0, /* tp_compare */
+ 0, /* tp_reserved */
(reprfunc)sock_repr, /* tp_repr */
0, /* tp_as_number */
0, /* tp_as_sequence */
diff --git a/Modules/unicodedata.c b/Modules/unicodedata.c
index 12bda09..ba6d0b1 100644
--- a/Modules/unicodedata.c
+++ b/Modules/unicodedata.c
@@ -1144,7 +1144,7 @@ static PyTypeObject UCD_Type = {
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/Modules/xxmodule.c b/Modules/xxmodule.c
index 602cdfe..a31341c 100644
--- a/Modules/xxmodule.c
+++ b/Modules/xxmodule.c
@@ -106,7 +106,7 @@ static PyTypeObject Xxo_Type = {
0, /*tp_print*/
(getattrfunc)0, /*tp_getattr*/
(setattrfunc)Xxo_setattr, /*tp_setattr*/
- 0, /*tp_compare*/
+ 0, /*tp_reserved*/
0, /*tp_repr*/
0, /*tp_as_number*/
0, /*tp_as_sequence*/
@@ -224,7 +224,7 @@ static PyTypeObject Str_Type = {
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*/
@@ -279,7 +279,7 @@ static PyTypeObject Null_Type = {
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/Modules/xxsubtype.c b/Modules/xxsubtype.c
index 7f33c83..91ba0f12 100644
--- a/Modules/xxsubtype.c
+++ b/Modules/xxsubtype.c
@@ -109,7 +109,7 @@ static PyTypeObject spamlist_type = {
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 */
@@ -200,7 +200,7 @@ static PyTypeObject spamdict_type = {
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/Modules/zipimport.c b/Modules/zipimport.c
index ae11bde..ba37f8b 100644
--- a/Modules/zipimport.c
+++ b/Modules/zipimport.c
@@ -597,7 +597,7 @@ static PyTypeObject ZipImporter_Type = {
0, /* tp_print */
0, /* tp_getattr */
0, /* tp_setattr */
- 0, /* tp_compare */
+ 0, /* tp_reserved */
(reprfunc)zipimporter_repr, /* tp_repr */
0, /* tp_as_number */
0, /* tp_as_sequence */
diff --git a/Modules/zlibmodule.c b/Modules/zlibmodule.c
index b924f84..6b818e5 100644
--- a/Modules/zlibmodule.c
+++ b/Modules/zlibmodule.c
@@ -982,7 +982,7 @@ static PyTypeObject Comptype = {
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*/
@@ -1013,7 +1013,7 @@ static PyTypeObject Decomptype = {
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*/