Index: Modules/cjkcodecs/cjkcodecs.h
===================================================================
--- Modules/cjkcodecs/cjkcodecs.h (revision 43009)
+++ Modules/cjkcodecs/cjkcodecs.h (working copy)
@@ -384,7 +384,7 @@
#endif
#define I_AM_A_MODULE_FOR(loc) \
- void \
+ PyMODINIT_FUNC \
init_codecs_##loc(void) \
{ \
PyObject *m = Py_InitModule("_codecs_" #loc, __methods);\
Index: PC/config.c
===================================================================
--- PC/config.c (revision 43009)
+++ PC/config.c (working copy)
@@ -59,12 +59,6 @@
extern void initzlib(void);
extern void init_multibytecodec(void);
-extern void init_codecs_cn(void);
-extern void init_codecs_hk(void);
-extern void init_codecs_iso2022(void);
-extern void init_codecs_jp(void);
-extern void init_codecs_kr(void);
-extern void init_codecs_tw(void);
extern void init_subprocess(void);
extern void init_lsprof(void);
extern void init_ast(void);
@@ -140,14 +134,7 @@
{"zipimport", initzipimport},
{"zlib", initzlib},
- /* CJK codecs */
- {"_multibytecodec", init_multibytecodec},
- {"_codecs_cn", init_codecs_cn},
- {"_codecs_hk", init_codecs_hk},
- {"_codecs_iso2022", init_codecs_iso2022},
- {"_codecs_jp", init_codecs_jp},
- {"_codecs_kr", init_codecs_kr},
- {"_codecs_tw", init_codecs_tw},
+ {"_multibytecodec", init_multibytecodec}, /* CJK codecs */
/* tools/freeze/makeconfig.py marker for additional "_inittab" entries */
/* -- ADDMODULE MARKER 2 -- */
Index: PCbuild/_codecs_cn.vcproj
===================================================================
--- PCbuild/_codecs_cn.vcproj (revision 0)
+++ PCbuild/_codecs_cn.vcproj (revision 0)
@@ -0,0 +1,242 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Index: PCbuild/_codecs_hk.vcproj
===================================================================
--- PCbuild/_codecs_hk.vcproj (revision 0)
+++ PCbuild/_codecs_hk.vcproj (revision 0)
@@ -0,0 +1,242 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Index: PCbuild/_codecs_iso2022.vcproj
===================================================================
--- PCbuild/_codecs_iso2022.vcproj (revision 0)
+++ PCbuild/_codecs_iso2022.vcproj (revision 0)
@@ -0,0 +1,242 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Index: PCbuild/_codecs_jp.vcproj
===================================================================
--- PCbuild/_codecs_jp.vcproj (revision 0)
+++ PCbuild/_codecs_jp.vcproj (revision 0)
@@ -0,0 +1,242 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Index: PCbuild/_codecs_kr.vcproj
===================================================================
--- PCbuild/_codecs_kr.vcproj (revision 0)
+++ PCbuild/_codecs_kr.vcproj (revision 0)
@@ -0,0 +1,242 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Index: PCbuild/_codecs_tw.vcproj
===================================================================
--- PCbuild/_codecs_tw.vcproj (revision 0)
+++ PCbuild/_codecs_tw.vcproj (revision 0)
@@ -0,0 +1,242 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Index: PCbuild/pcbuild.sln
===================================================================
--- PCbuild/pcbuild.sln (revision 43009)
+++ PCbuild/pcbuild.sln (working copy)
@@ -98,6 +98,36 @@
ProjectSection(ProjectDependencies) = postProject
EndProjectSection
EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "_codecs_kr", "_codecs_kr.vcproj", "{5B5DA94E-B1B9-46C1-9F41-A17207CE2984}"
+ ProjectSection(ProjectDependencies) = postProject
+ {CF7AC3D1-E2DF-41D2-BEA6-1E2556CDEA26} = {CF7AC3D1-E2DF-41D2-BEA6-1E2556CDEA26}
+ EndProjectSection
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "_codecs_cn", "_codecs_cn.vcproj", "{09D73848-B33F-11DA-93FE-000D6014015A}"
+ ProjectSection(ProjectDependencies) = postProject
+ {CF7AC3D1-E2DF-41D2-BEA6-1E2556CDEA26} = {CF7AC3D1-E2DF-41D2-BEA6-1E2556CDEA26}
+ EndProjectSection
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "_codecs_hk", "_codecs_hk.vcproj", "{3402764E-B33F-11DA-93FE-000D6014015A}"
+ ProjectSection(ProjectDependencies) = postProject
+ {CF7AC3D1-E2DF-41D2-BEA6-1E2556CDEA26} = {CF7AC3D1-E2DF-41D2-BEA6-1E2556CDEA26}
+ EndProjectSection
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "_codecs_iso2022", "_codecs_iso2022.vcproj", "{3E9F0A65-B33F-11DA-93FE-000D6014015A}"
+ ProjectSection(ProjectDependencies) = postProject
+ {CF7AC3D1-E2DF-41D2-BEA6-1E2556CDEA26} = {CF7AC3D1-E2DF-41D2-BEA6-1E2556CDEA26}
+ EndProjectSection
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "_codecs_jp", "_codecs_jp.vcproj", "{1C5878A0-B33F-11DA-93FE-000D6014015A}"
+ ProjectSection(ProjectDependencies) = postProject
+ {CF7AC3D1-E2DF-41D2-BEA6-1E2556CDEA26} = {CF7AC3D1-E2DF-41D2-BEA6-1E2556CDEA26}
+ EndProjectSection
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "_codecs_tw", "_codecs_tw.vcproj", "{2879D721-B33F-11DA-93FE-000D6014015A}"
+ ProjectSection(ProjectDependencies) = postProject
+ {CF7AC3D1-E2DF-41D2-BEA6-1E2556CDEA26} = {CF7AC3D1-E2DF-41D2-BEA6-1E2556CDEA26}
+ EndProjectSection
+EndProject
Global
GlobalSection(SolutionConfiguration) = preSolution
Debug = Debug
@@ -260,6 +290,54 @@
{8CF334D9-4F82-42EB-97AF-83592C5AFD2F}.Release.Build.0 = Release|Win32
{8CF334D9-4F82-42EB-97AF-83592C5AFD2F}.ReleaseAMD64.ActiveCfg = ReleaseAMD64|Win32
{8CF334D9-4F82-42EB-97AF-83592C5AFD2F}.ReleaseItanium.ActiveCfg = ReleaseItanium|Win32
+ {5B5DA94E-B1B9-46C1-9F41-A17207CE2984}.Debug.ActiveCfg = Debug|Win32
+ {5B5DA94E-B1B9-46C1-9F41-A17207CE2984}.Debug.Build.0 = Debug|Win32
+ {5B5DA94E-B1B9-46C1-9F41-A17207CE2984}.Release.ActiveCfg = Release|Win32
+ {5B5DA94E-B1B9-46C1-9F41-A17207CE2984}.Release.Build.0 = Release|Win32
+ {5B5DA94E-B1B9-46C1-9F41-A17207CE2984}.ReleaseAMD64.ActiveCfg = Release|Win32
+ {5B5DA94E-B1B9-46C1-9F41-A17207CE2984}.ReleaseAMD64.Build.0 = Release|Win32
+ {5B5DA94E-B1B9-46C1-9F41-A17207CE2984}.ReleaseItanium.ActiveCfg = Release|Win32
+ {5B5DA94E-B1B9-46C1-9F41-A17207CE2984}.ReleaseItanium.Build.0 = Release|Win32
+ {09D73848-B33F-11DA-93FE-000D6014015A}.Debug.ActiveCfg = Debug|Win32
+ {09D73848-B33F-11DA-93FE-000D6014015A}.Debug.Build.0 = Debug|Win32
+ {09D73848-B33F-11DA-93FE-000D6014015A}.Release.ActiveCfg = Release|Win32
+ {09D73848-B33F-11DA-93FE-000D6014015A}.Release.Build.0 = Release|Win32
+ {09D73848-B33F-11DA-93FE-000D6014015A}.ReleaseAMD64.ActiveCfg = ReleaseAMD64|Win32
+ {09D73848-B33F-11DA-93FE-000D6014015A}.ReleaseAMD64.Build.0 = ReleaseAMD64|Win32
+ {09D73848-B33F-11DA-93FE-000D6014015A}.ReleaseItanium.ActiveCfg = ReleaseItanium|Win32
+ {09D73848-B33F-11DA-93FE-000D6014015A}.ReleaseItanium.Build.0 = ReleaseItanium|Win32
+ {3402764E-B33F-11DA-93FE-000D6014015A}.Debug.ActiveCfg = Debug|Win32
+ {3402764E-B33F-11DA-93FE-000D6014015A}.Debug.Build.0 = Debug|Win32
+ {3402764E-B33F-11DA-93FE-000D6014015A}.Release.ActiveCfg = Release|Win32
+ {3402764E-B33F-11DA-93FE-000D6014015A}.Release.Build.0 = Release|Win32
+ {3402764E-B33F-11DA-93FE-000D6014015A}.ReleaseAMD64.ActiveCfg = ReleaseAMD64|Win32
+ {3402764E-B33F-11DA-93FE-000D6014015A}.ReleaseAMD64.Build.0 = ReleaseAMD64|Win32
+ {3402764E-B33F-11DA-93FE-000D6014015A}.ReleaseItanium.ActiveCfg = ReleaseItanium|Win32
+ {3402764E-B33F-11DA-93FE-000D6014015A}.ReleaseItanium.Build.0 = ReleaseItanium|Win32
+ {3E9F0A65-B33F-11DA-93FE-000D6014015A}.Debug.ActiveCfg = Debug|Win32
+ {3E9F0A65-B33F-11DA-93FE-000D6014015A}.Debug.Build.0 = Debug|Win32
+ {3E9F0A65-B33F-11DA-93FE-000D6014015A}.Release.ActiveCfg = Release|Win32
+ {3E9F0A65-B33F-11DA-93FE-000D6014015A}.Release.Build.0 = Release|Win32
+ {3E9F0A65-B33F-11DA-93FE-000D6014015A}.ReleaseAMD64.ActiveCfg = ReleaseAMD64|Win32
+ {3E9F0A65-B33F-11DA-93FE-000D6014015A}.ReleaseAMD64.Build.0 = ReleaseAMD64|Win32
+ {3E9F0A65-B33F-11DA-93FE-000D6014015A}.ReleaseItanium.ActiveCfg = ReleaseItanium|Win32
+ {3E9F0A65-B33F-11DA-93FE-000D6014015A}.ReleaseItanium.Build.0 = ReleaseItanium|Win32
+ {1C5878A0-B33F-11DA-93FE-000D6014015A}.Debug.ActiveCfg = Debug|Win32
+ {1C5878A0-B33F-11DA-93FE-000D6014015A}.Debug.Build.0 = Debug|Win32
+ {1C5878A0-B33F-11DA-93FE-000D6014015A}.Release.ActiveCfg = Release|Win32
+ {1C5878A0-B33F-11DA-93FE-000D6014015A}.Release.Build.0 = Release|Win32
+ {1C5878A0-B33F-11DA-93FE-000D6014015A}.ReleaseAMD64.ActiveCfg = ReleaseAMD64|Win32
+ {1C5878A0-B33F-11DA-93FE-000D6014015A}.ReleaseAMD64.Build.0 = ReleaseAMD64|Win32
+ {1C5878A0-B33F-11DA-93FE-000D6014015A}.ReleaseItanium.ActiveCfg = ReleaseItanium|Win32
+ {1C5878A0-B33F-11DA-93FE-000D6014015A}.ReleaseItanium.Build.0 = ReleaseItanium|Win32
+ {2879D721-B33F-11DA-93FE-000D6014015A}.Debug.ActiveCfg = Debug|Win32
+ {2879D721-B33F-11DA-93FE-000D6014015A}.Debug.Build.0 = Debug|Win32
+ {2879D721-B33F-11DA-93FE-000D6014015A}.Release.ActiveCfg = Release|Win32
+ {2879D721-B33F-11DA-93FE-000D6014015A}.Release.Build.0 = Release|Win32
+ {2879D721-B33F-11DA-93FE-000D6014015A}.ReleaseAMD64.ActiveCfg = ReleaseAMD64|Win32
+ {2879D721-B33F-11DA-93FE-000D6014015A}.ReleaseAMD64.Build.0 = ReleaseAMD64|Win32
+ {2879D721-B33F-11DA-93FE-000D6014015A}.ReleaseItanium.ActiveCfg = ReleaseItanium|Win32
+ {2879D721-B33F-11DA-93FE-000D6014015A}.ReleaseItanium.Build.0 = ReleaseItanium|Win32
EndGlobalSection
GlobalSection(SolutionItems) = postSolution
..\Modules\getbuildinfo.c = ..\Modules\getbuildinfo.c
Index: PCbuild/pythoncore.vcproj
===================================================================
--- PCbuild/pythoncore.vcproj (revision 43009)
+++ PCbuild/pythoncore.vcproj (working copy)
@@ -344,24 +344,6 @@
RelativePath="..\Modules\_bisectmodule.c">
-
-
-
-
-
-
-
-
-
-
-
-