From: Guido van Rossum Date: Wed, 24 Jan 2001 21:44:21 +0000 (+0000) Subject: The array type was missing the Py_TPFLAGS_DEFAULT initializer for the X-Git-Tag: v2.1a2~204 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=05bbb9a8fb0e6b5dc01bf30d78517d356a1080cb;p=thirdparty%2FPython%2Fcpython.git The array type was missing the Py_TPFLAGS_DEFAULT initializer for the tp_flags. This will become important when I introduce Py_TPFLAGS_HAVE_RICHCOMPARE (as I should have!). --- diff --git a/Modules/arraymodule.c b/Modules/arraymodule.c index f2543594f4b4..374b3ac3905d 100644 --- a/Modules/arraymodule.c +++ b/Modules/arraymodule.c @@ -1543,7 +1543,7 @@ statichere PyTypeObject Arraytype = { 0, /* tp_getattro */ 0, /* tp_setattro */ &array_as_buffer, /* tp_as _buffer*/ - 0, /* tp_flags */ + Py_TPFLAGS_DEFAULT, /* tp_flags */ arraytype_doc, /* tp_doc */ 0, /* tp_traverse */ 0, /* tp_clear */