[Python-checkins] r50885 - in python/trunk: PC/config.c PCbuild/pythoncore.vcproj

barry.warsaw python-checkins at python.org
Fri Jul 28 01:50:41 CEST 2006


Author: barry.warsaw
Date: Fri Jul 28 01:50:40 2006
New Revision: 50885

Modified:
   python/trunk/PC/config.c
   python/trunk/PCbuild/pythoncore.vcproj
Log:
Enable the building of the _types module on Windows.

Note that this has only been tested for VS 2003 since that's all I have.


Modified: python/trunk/PC/config.c
==============================================================================
--- python/trunk/PC/config.c	(original)
+++ python/trunk/PC/config.c	Fri Jul 28 01:50:40 2006
@@ -67,6 +67,7 @@
 extern void init_subprocess(void);
 extern void init_lsprof(void);
 extern void init_ast(void);
+extern void init_types(void);
 
 /* tools/freeze/makeconfig.py marker for additional "extern" */
 /* -- ADDMODULE MARKER 1 -- */
@@ -161,6 +162,8 @@
         {"__builtin__", NULL},
         {"sys", NULL},
 	{"exceptions", NULL},
+        
+        {"_types", init_types},
 
         /* Sentinel */
         {0, 0}

Modified: python/trunk/PCbuild/pythoncore.vcproj
==============================================================================
--- python/trunk/PCbuild/pythoncore.vcproj	(original)
+++ python/trunk/PCbuild/pythoncore.vcproj	Fri Jul 28 01:50:40 2006
@@ -344,9 +344,6 @@
 			RelativePath="..\Modules\_bisectmodule.c">
 		</File>
 		<File
-			RelativePath="..\Modules\_struct.c">
-		</File>
-		<File
 			RelativePath="..\Modules\cjkcodecs\_codecs_cn.c">
 		</File>
 		<File
@@ -371,6 +368,9 @@
 			RelativePath="..\Modules\_csv.c">
 		</File>
 		<File
+			RelativePath="..\Modules\_functoolsmodule.c">
+		</File>
+		<File
 			RelativePath="..\Modules\_heapqmodule.c">
 		</File>
 		<File
@@ -389,9 +389,15 @@
 			RelativePath="..\Modules\_sre.c">
 		</File>
 		<File
+			RelativePath="..\Modules\_struct.c">
+		</File>
+		<File
 			RelativePath="..\Pc\_subprocess.c">
 		</File>
 		<File
+			RelativePath="..\Modules\_typesmodule.c">
+		</File>
+		<File
 			RelativePath="..\Modules\_weakref.c">
 		</File>
 		<File
@@ -515,9 +521,6 @@
 			RelativePath="..\Objects\funcobject.c">
 		</File>
 		<File
-			RelativePath="..\Modules\_functoolsmodule.c">
-		</File>
-		<File
 			RelativePath="..\Python\future.c">
 		</File>
 		<File


More information about the Python-checkins mailing list