From: Neal Norwitz Date: Tue, 13 Jun 2006 08:28:19 +0000 (+0000) Subject: Initialize the type object so pychecker can't crash the interpreter. X-Git-Tag: v2.5b1~92 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=de4c78a1d73ab03701c86295fd0324fae705d713;p=python Initialize the type object so pychecker can't crash the interpreter. --- diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c index 064caebd50..3c0699746c 100644 --- a/Objects/unicodeobject.c +++ b/Objects/unicodeobject.c @@ -7792,6 +7792,8 @@ void _PyUnicode_Init(void) bloom_linebreak = make_bloom_mask( linebreak, sizeof(linebreak) / sizeof(linebreak[0]) ); + + PyType_Ready(&EncodingMapType); } /* Finalize the Unicode implementation */