From: Thomas Heller Date: Fri, 13 Jul 2007 13:13:40 +0000 (+0000) Subject: atexit is a builtin module now, provide that on Windows. X-Git-Tag: v3.0a1~644 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7f162881343dd970cd133cf4a433e96e1ab24586;p=python atexit is a builtin module now, provide that on Windows. --- diff --git a/PC/config.c b/PC/config.c index 68fa84f6aa..38d91deaf6 100644 --- a/PC/config.c +++ b/PC/config.c @@ -60,6 +60,7 @@ extern void init_lsprof(void); extern void init_ast(void); extern void init_types(void); extern void init_fileio(void); +extern void initatexit(void); /* tools/freeze/makeconfig.py marker for additional "extern" */ /* -- ADDMODULE MARKER 1 -- */ @@ -147,6 +148,7 @@ struct _inittab _PyImport_Inittab[] = { {"_types", init_types}, {"_fileio", init_fileio}, + {"atexit", initatexit}, /* Sentinel */ {0, 0} diff --git a/PCbuild/pythoncore.vcproj b/PCbuild/pythoncore.vcproj index 1da5593c73..4519e9f8b1 100644 --- a/PCbuild/pythoncore.vcproj +++ b/PCbuild/pythoncore.vcproj @@ -424,6 +424,9 @@ + +