[Python-3000-checkins] r56347 - in python/branches/py3k-struni: PC/config.c PCbuild/pythoncore.vcproj
thomas.heller
python-3000-checkins at python.org
Fri Jul 13 15:13:40 CEST 2007
Author: thomas.heller
Date: Fri Jul 13 15:13:40 2007
New Revision: 56347
Modified:
python/branches/py3k-struni/PC/config.c
python/branches/py3k-struni/PCbuild/pythoncore.vcproj
Log:
atexit is a builtin module now, provide that on Windows.
Modified: python/branches/py3k-struni/PC/config.c
==============================================================================
--- python/branches/py3k-struni/PC/config.c (original)
+++ python/branches/py3k-struni/PC/config.c Fri Jul 13 15:13:40 2007
@@ -60,6 +60,7 @@
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 @@
{"_types", init_types},
{"_fileio", init_fileio},
+ {"atexit", initatexit},
/* Sentinel */
{0, 0}
Modified: python/branches/py3k-struni/PCbuild/pythoncore.vcproj
==============================================================================
--- python/branches/py3k-struni/PCbuild/pythoncore.vcproj (original)
+++ python/branches/py3k-struni/PCbuild/pythoncore.vcproj Fri Jul 13 15:13:40 2007
@@ -425,6 +425,9 @@
RelativePath="..\Python\ast.c">
</File>
<File
+ RelativePath="..\Modules\atexitmodule.c">
+ </File>
+ <File
RelativePath="..\Modules\audioop.c">
</File>
<File
More information about the Python-3000-checkins
mailing list