[Python-checkins] r46908 - python/trunk/Objects/unicodeobject.c

neal.norwitz python-checkins at python.org
Tue Jun 13 10:28:20 CEST 2006


Author: neal.norwitz
Date: Tue Jun 13 10:28:19 2006
New Revision: 46908

Modified:
   python/trunk/Objects/unicodeobject.c
Log:
Initialize the type object so pychecker can't crash the interpreter.


Modified: python/trunk/Objects/unicodeobject.c
==============================================================================
--- python/trunk/Objects/unicodeobject.c	(original)
+++ python/trunk/Objects/unicodeobject.c	Tue Jun 13 10:28:19 2006
@@ -7792,6 +7792,8 @@
     bloom_linebreak = make_bloom_mask(
         linebreak, sizeof(linebreak) / sizeof(linebreak[0])
         );
+
+    PyType_Ready(&EncodingMapType);
 }
 
 /* Finalize the Unicode implementation */


More information about the Python-checkins mailing list