Saved and restored logging._handlerList at the same time as saving/restoring logging...
[python.git] / Modules / config.c.in
blob3b4d037a4e4624ae01f313edf9a6e8508efb1ae9
1 /* -*- C -*- ***********************************************
2 Copyright (c) 2000, BeOpen.com.
3 Copyright (c) 1995-2000, Corporation for National Research Initiatives.
4 Copyright (c) 1990-1995, Stichting Mathematisch Centrum.
5 All rights reserved.
7 See the file "Misc/COPYRIGHT" for information on usage and
8 redistribution of this file, and for a DISCLAIMER OF ALL WARRANTIES.
9 ******************************************************************/
11 /* Module configuration */
13 /* !!! !!! !!! This file is edited by the makesetup script !!! !!! !!! */
15 /* This file contains the table of built-in modules.
16 See init_builtin() in import.c. */
18 #include "Python.h"
21 /* -- ADDMODULE MARKER 1 -- */
23 extern void PyMarshal_Init(void);
24 extern void initimp(void);
25 extern void initgc(void);
27 struct _inittab _PyImport_Inittab[] = {
29 /* -- ADDMODULE MARKER 2 -- */
31 /* This module lives in marshal.c */
32 {"marshal", PyMarshal_Init},
34 /* This lives in import.c */
35 {"imp", initimp},
37 /* These entries are here for sys.builtin_module_names */
38 {"__main__", NULL},
39 {"__builtin__", NULL},
40 {"sys", NULL},
41 {"exceptions", NULL},
43 /* This lives in gcmodule.c */
44 {"gc", initgc},
46 /* Sentinel */
47 {0, 0}