Changeset 388 for python/vendor/current/PC/config.c
- Timestamp:
- Mar 19, 2014, 11:11:30 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
python/vendor/current/PC/config.c
r2 r388 53 53 extern void init_struct(void); 54 54 extern void initdatetime(void); 55 extern void init_fileio(void);56 extern void init_bytesio(void);57 55 extern void init_functools(void); 58 56 extern void init_json(void); … … 69 67 extern void init_lsprof(void); 70 68 extern void init_ast(void); 69 extern void init_io(void); 71 70 extern void _PyWarnings_Init(void); 72 71 … … 79 78 struct _inittab _PyImport_Inittab[] = { 80 79 81 82 80 {"array", initarray}, 81 {"_ast", init_ast}, 83 82 #ifdef MS_WINDOWS 84 83 #ifndef MS_WINI64 85 84 {"audioop", initaudioop}, 86 85 #endif 87 86 #endif 88 89 90 91 92 87 {"binascii", initbinascii}, 88 {"cmath", initcmath}, 89 {"errno", initerrno}, 90 {"future_builtins", initfuture_builtins}, 91 {"gc", initgc}, 93 92 #ifndef MS_WINI64 94 93 {"imageop", initimageop}, 95 94 #endif 96 97 98 99 100 101 102 103 104 105 95 {"math", initmath}, 96 {"_md5", init_md5}, 97 {"nt", initnt}, /* Use the NT os functions, not posix */ 98 {"operator", initoperator}, 99 {"signal", initsignal}, 100 {"_sha", init_sha}, 101 {"_sha256", init_sha256}, 102 {"_sha512", init_sha512}, 103 {"strop", initstrop}, 104 {"time", inittime}, 106 105 #ifdef WITH_THREAD 107 106 {"thread", initthread}, 108 107 #endif 109 110 108 {"cStringIO", initcStringIO}, 109 {"cPickle", initcPickle}, 111 110 #ifdef WIN32 112 113 111 {"msvcrt", initmsvcrt}, 112 {"_locale", init_locale}, 114 113 #endif 115 116 114 /* XXX Should _subprocess go in a WIN32 block? not WIN64? */ 115 {"_subprocess", init_subprocess}, 117 116 118 {"_codecs", init_codecs}, 119 {"_weakref", init_weakref}, 120 {"_hotshot", init_hotshot}, 121 {"_random", init_random}, 122 {"_bisect", init_bisect}, 123 {"_heapq", init_heapq}, 124 {"_lsprof", init_lsprof}, 125 {"itertools", inititertools}, 126 {"_collections", init_collections}, 127 {"_symtable", init_symtable}, 128 {"mmap", initmmap}, 129 {"_csv", init_csv}, 130 {"_sre", init_sre}, 131 {"parser", initparser}, 132 {"_winreg", init_winreg}, 133 {"_struct", init_struct}, 134 {"datetime", initdatetime}, 135 {"_fileio", init_fileio}, 136 {"_bytesio", init_bytesio}, 137 {"_functools", init_functools}, 138 {"_json", init_json}, 117 {"_codecs", init_codecs}, 118 {"_weakref", init_weakref}, 119 {"_hotshot", init_hotshot}, 120 {"_random", init_random}, 121 {"_bisect", init_bisect}, 122 {"_heapq", init_heapq}, 123 {"_lsprof", init_lsprof}, 124 {"itertools", inititertools}, 125 {"_collections", init_collections}, 126 {"_symtable", init_symtable}, 127 {"mmap", initmmap}, 128 {"_csv", init_csv}, 129 {"_sre", init_sre}, 130 {"parser", initparser}, 131 {"_winreg", init_winreg}, 132 {"_struct", init_struct}, 133 {"datetime", initdatetime}, 134 {"_functools", init_functools}, 135 {"_json", init_json}, 139 136 140 141 142 143 144 145 146 147 148 149 150 151 137 {"xxsubtype", initxxsubtype}, 138 {"zipimport", initzipimport}, 139 {"zlib", initzlib}, 140 141 /* CJK codecs */ 142 {"_multibytecodec", init_multibytecodec}, 143 {"_codecs_cn", init_codecs_cn}, 144 {"_codecs_hk", init_codecs_hk}, 145 {"_codecs_iso2022", init_codecs_iso2022}, 146 {"_codecs_jp", init_codecs_jp}, 147 {"_codecs_kr", init_codecs_kr}, 148 {"_codecs_tw", init_codecs_tw}, 152 149 153 150 /* tools/freeze/makeconfig.py marker for additional "_inittab" entries */ 154 151 /* -- ADDMODULE MARKER 2 -- */ 155 152 156 157 153 /* This module "lives in" with marshal.c */ 154 {"marshal", PyMarshal_Init}, 158 155 159 160 156 /* This lives it with import.c */ 157 {"imp", initimp}, 161 158 162 163 164 165 166 167 159 /* These entries are here for sys.builtin_module_names */ 160 {"__main__", NULL}, 161 {"__builtin__", NULL}, 162 {"sys", NULL}, 163 {"exceptions", NULL}, 164 {"_warnings", _PyWarnings_Init}, 168 165 169 /* Sentinel */ 170 {0, 0} 166 {"_io", init_io}, 167 168 /* Sentinel */ 169 {0, 0} 171 170 };
Note:
See TracChangeset
for help on using the changeset viewer.