From: Guido van Rossum Date: Fri, 29 May 1998 02:58:20 +0000 (+0000) Subject: Sorry, the initializer for ob_type must really be NULL, X-Git-Tag: v1.5.2a1~523 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3c8c5981b18948b5ddfc0ef3bcf0a6e000bb59b4;p=python Sorry, the initializer for ob_type must really be NULL, else the damn thing won't compile on Windows :-( --- diff --git a/Modules/parsermodule.c b/Modules/parsermodule.c index 3db3431c73..eba64a444f 100644 --- a/Modules/parsermodule.c +++ b/Modules/parsermodule.c @@ -209,7 +209,7 @@ parser_getattr Py_PROTO((PyObject *self, char *name)); static PyTypeObject PyAST_Type = { - PyObject_HEAD_INIT(&PyType_Type) + PyObject_HEAD_INIT(NULL) 0, "ast", /* tp_name */ (int) sizeof(PyAST_Object), /* tp_basicsize */