\r
extern void PyMarshal_Init(void);\r
extern void initimp(void);\r
+extern void initunicodedata(void);\r
+extern void init_ctypes(void);\r
\r
struct _inittab _PyImport_Inittab[] = {\r
\r
//{"_ast", init_ast},\r
- //{"_bisect", init_bisect},\r
- //{"_codecs", init_codecs},\r
- //{"_collections", init_collections},\r
- //{"_functools", init_functools},\r
- //{"_heapq", init_heapq},\r
+ //{"_bisect", init_bisect}, /* A fast version of bisect.py */\r
+ //{"_heapq", init_heapq}, /* A fast version of heapq.py */\r
//{"_io", init_io},\r
//{"_json", init_json},\r
//{"_md5", init_md5},\r
- //{"_random", init_random},\r
//{"_sha", init_sha},\r
//{"_sha256", init_sha256},\r
//{"_sha512", init_sha512},\r
//{"_socket", init_socket},\r
- //{"_sre", init_sre},\r
- //{"_struct", init_struct},\r
- //{"_weakref", init_weakref},\r
\r
//{"array", initarray},\r
- //{"binascii", initbinascii},\r
//{"cmath", initcmath},\r
//{"cPickle", initcPickle},\r
- //{"cStringIO", initcStringIO},\r
//{"datetime", initdatetime},\r
//{"future_builtins", initfuture_builtins},\r
- //{"gc", initgc},\r
- //{"itertools", inititertools},\r
- //{"math", initmath},\r
- //{"operator", initoperator},\r
//{"parser", initparser},\r
//{"select", initselect},\r
//{"signal", initsignal},\r
- //{"strop", initstrop},\r
- //{"time", inittime},\r
+ //{"strop", initstrop}, /* redefines some string operations that are 100-1000 times faster */\r
//{"xxsubtype", initxxsubtype},\r
//{"zipimport", initzipimport},\r
//{"zlib", initzlib},\r
{"thread", initthread},\r
#endif\r
\r
-#if 0\r
- {"_symtable", init_symtable},\r
- {"_csv", init_csv},\r
-#endif\r
+ //{"_symtable", init_symtable},\r
+ //{"_csv", init_csv},\r
+\r
+ /* These modules are required for the full built-in help() facility provided by pydoc. */\r
+ {"_codecs", init_codecs},\r
+ {"_collections", init_collections},\r
+ {"_functools", init_functools},\r
+ {"_random", init_random},\r
+ {"_sre", init_sre},\r
+ {"_struct", init_struct}, /* Required by the logging package. */\r
+ {"_weakref", init_weakref},\r
+ {"binascii", initbinascii},\r
+ {"cStringIO", initcStringIO}, /* Required by several modules, such as logging. */\r
+ {"gc", initgc},\r
+ {"itertools", inititertools},\r
+ {"math", initmath},\r
+ {"operator", initoperator},\r
+ {"time", inittime},\r
\r
/* These four modules should always be built in. */\r
{"edk2", initedk2},\r