annotate PC/config.c @ 54294:dba767bc3155 legacy-trunk

remove mention of old ctypes version
author Benjamin Peterson <benjamin@python.org>
date Sat, 23 May 2009 20:59:09 +0000
parents 4c5ee1b38045
children e38335d4df91 f118aab650dd
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3624
5a98a4fd58b8 config files for DOS and Windows (all versions, all compilers)
Guido van Rossum <guido@python.org>
parents:
diff changeset
1 /* Module configuration */
5a98a4fd58b8 config files for DOS and Windows (all versions, all compilers)
Guido van Rossum <guido@python.org>
parents:
diff changeset
2
5a98a4fd58b8 config files for DOS and Windows (all versions, all compilers)
Guido van Rossum <guido@python.org>
parents:
diff changeset
3 /* This file contains the table of built-in modules.
5a98a4fd58b8 config files for DOS and Windows (all versions, all compilers)
Guido van Rossum <guido@python.org>
parents:
diff changeset
4 See init_builtin() in import.c. */
5a98a4fd58b8 config files for DOS and Windows (all versions, all compilers)
Guido van Rossum <guido@python.org>
parents:
diff changeset
5
5a98a4fd58b8 config files for DOS and Windows (all versions, all compilers)
Guido van Rossum <guido@python.org>
parents:
diff changeset
6 #include "Python.h"
5a98a4fd58b8 config files for DOS and Windows (all versions, all compilers)
Guido van Rossum <guido@python.org>
parents:
diff changeset
7
13660
a1ce07218781 Miscelaneous ANSIfications. I'm assuming here 'main' should take (int,
Thomas Wouters <thomas@python.org>
parents: 13574
diff changeset
8 extern void initarray(void);
41590
1c1705bf36b8 Fix problems in x64 build that were discovered by the testsuite:
Kristján Valur Jónsson <kristjan@ccpgames.com>
parents: 40989
diff changeset
9 #ifndef MS_WINI64
13660
a1ce07218781 Miscelaneous ANSIfications. I'm assuming here 'main' should take (int,
Thomas Wouters <thomas@python.org>
parents: 13574
diff changeset
10 extern void initaudioop(void);
15015
da3e8c5064ca Enable the binascii module for Win64. It builds and passes the test suite.
Trent Mick <trentm@activestate.com>
parents: 14375
diff changeset
11 #endif
13660
a1ce07218781 Miscelaneous ANSIfications. I'm assuming here 'main' should take (int,
Thomas Wouters <thomas@python.org>
parents: 13574
diff changeset
12 extern void initbinascii(void);
a1ce07218781 Miscelaneous ANSIfications. I'm assuming here 'main' should take (int,
Thomas Wouters <thomas@python.org>
parents: 13574
diff changeset
13 extern void initcmath(void);
a1ce07218781 Miscelaneous ANSIfications. I'm assuming here 'main' should take (int,
Thomas Wouters <thomas@python.org>
parents: 13574
diff changeset
14 extern void initerrno(void);
45439
8eb598331231 Added future_builtins, which contains PEP 3127 compatible versions of hex() and oct().
Eric Smith <eric@trueblade.com>
parents: 41792
diff changeset
15 extern void initfuture_builtins(void);
13660
a1ce07218781 Miscelaneous ANSIfications. I'm assuming here 'main' should take (int,
Thomas Wouters <thomas@python.org>
parents: 13574
diff changeset
16 extern void initgc(void);
41590
1c1705bf36b8 Fix problems in x64 build that were discovered by the testsuite:
Kristján Valur Jónsson <kristjan@ccpgames.com>
parents: 40989
diff changeset
17 #ifndef MS_WINI64
13660
a1ce07218781 Miscelaneous ANSIfications. I'm assuming here 'main' should take (int,
Thomas Wouters <thomas@python.org>
parents: 13574
diff changeset
18 extern void initimageop(void);
12617
d9cfa2e6f782 Trent Mick:
Guido van Rossum <guido@python.org>
parents: 12442
diff changeset
19 #endif
13660
a1ce07218781 Miscelaneous ANSIfications. I'm assuming here 'main' should take (int,
Thomas Wouters <thomas@python.org>
parents: 13574
diff changeset
20 extern void initmath(void);
35399
c9eb25fe39cb Update the PC configuration and project files for sha256 and sha512.
Raymond Hettinger <python@rcn.com>
parents: 34636
diff changeset
21 extern void init_md5(void);
13660
a1ce07218781 Miscelaneous ANSIfications. I'm assuming here 'main' should take (int,
Thomas Wouters <thomas@python.org>
parents: 13574
diff changeset
22 extern void initnt(void);
a1ce07218781 Miscelaneous ANSIfications. I'm assuming here 'main' should take (int,
Thomas Wouters <thomas@python.org>
parents: 13574
diff changeset
23 extern void initoperator(void);
a1ce07218781 Miscelaneous ANSIfications. I'm assuming here 'main' should take (int,
Thomas Wouters <thomas@python.org>
parents: 13574
diff changeset
24 extern void initsignal(void);
35399
c9eb25fe39cb Update the PC configuration and project files for sha256 and sha512.
Raymond Hettinger <python@rcn.com>
parents: 34636
diff changeset
25 extern void init_sha(void);
c9eb25fe39cb Update the PC configuration and project files for sha256 and sha512.
Raymond Hettinger <python@rcn.com>
parents: 34636
diff changeset
26 extern void init_sha256(void);
c9eb25fe39cb Update the PC configuration and project files for sha256 and sha512.
Raymond Hettinger <python@rcn.com>
parents: 34636
diff changeset
27 extern void init_sha512(void);
13660
a1ce07218781 Miscelaneous ANSIfications. I'm assuming here 'main' should take (int,
Thomas Wouters <thomas@python.org>
parents: 13574
diff changeset
28 extern void initstrop(void);
a1ce07218781 Miscelaneous ANSIfications. I'm assuming here 'main' should take (int,
Thomas Wouters <thomas@python.org>
parents: 13574
diff changeset
29 extern void inittime(void);
a1ce07218781 Miscelaneous ANSIfications. I'm assuming here 'main' should take (int,
Thomas Wouters <thomas@python.org>
parents: 13574
diff changeset
30 extern void initthread(void);
a1ce07218781 Miscelaneous ANSIfications. I'm assuming here 'main' should take (int,
Thomas Wouters <thomas@python.org>
parents: 13574
diff changeset
31 extern void initcStringIO(void);
a1ce07218781 Miscelaneous ANSIfications. I'm assuming here 'main' should take (int,
Thomas Wouters <thomas@python.org>
parents: 13574
diff changeset
32 extern void initcPickle(void);
5953
1a99695a41cc Got the new structure working with MSVC 4.2.
Guido van Rossum <guido@python.org>
parents: 5418
diff changeset
33 #ifdef WIN32
13660
a1ce07218781 Miscelaneous ANSIfications. I'm assuming here 'main' should take (int,
Thomas Wouters <thomas@python.org>
parents: 13574
diff changeset
34 extern void initmsvcrt(void);
a1ce07218781 Miscelaneous ANSIfications. I'm assuming here 'main' should take (int,
Thomas Wouters <thomas@python.org>
parents: 13574
diff changeset
35 extern void init_locale(void);
5953
1a99695a41cc Got the new structure working with MSVC 4.2.
Guido van Rossum <guido@python.org>
parents: 5418
diff changeset
36 #endif
13660
a1ce07218781 Miscelaneous ANSIfications. I'm assuming here 'main' should take (int,
Thomas Wouters <thomas@python.org>
parents: 13574
diff changeset
37 extern void init_codecs(void);
16402
08ac556f2d12 Teach Windows build about the _weakref module.
Tim Peters <tim.peters@gmail.com>
parents: 15791
diff changeset
38 extern void init_weakref(void);
20400
65790562033c Get hotshot closer to compiling on Windows.
Tim Peters <tim.peters@gmail.com>
parents: 18933
diff changeset
39 extern void init_hotshot(void);
18933
09df3254b49d Merge of descr-branch back into trunk.
Tim Peters <tim.peters@gmail.com>
parents: 16402
diff changeset
40 extern void initxxsubtype(void);
26885
54aacb87beda PEP 302 + zipimport:
Just van Rossum <just@letterror.com>
parents: 26831
diff changeset
41 extern void initzipimport(void);
26831
9e409107aeea Taught the Windows build about _randommodule.c. This is compiled
Tim Peters <tim.peters@gmail.com>
parents: 24121
diff changeset
42 extern void init_random(void);
27570
ba57c3daf6e9 Move itertools module from the sandbox and into production.
Raymond Hettinger <python@rcn.com>
parents: 26885
diff changeset
43 extern void inititertools(void);
40989
4087c0ec733b Prepare collections module for pure python code entries.
Raymond Hettinger <python@rcn.com>
parents: 39230
diff changeset
44 extern void init_collections(void);
31931
63b68cb2b442 * Restore the pure python version of heapq.py.
Raymond Hettinger <python@rcn.com>
parents: 31436
diff changeset
45 extern void init_heapq(void);
31353
ed20259a1ea5 SF Patch #864863: Bisect C implementation
Raymond Hettinger <python@rcn.com>
parents: 31318
diff changeset
46 extern void init_bisect(void);
31318
099a4a2f1f77 Update build procedure to VC 7.1; make more modules builtin.
Martin v. Löwis <martin@v.loewis.de>
parents: 30875
diff changeset
47 extern void init_symtable(void);
099a4a2f1f77 Update build procedure to VC 7.1; make more modules builtin.
Martin v. Löwis <martin@v.loewis.de>
parents: 30875
diff changeset
48 extern void initmmap(void);
099a4a2f1f77 Update build procedure to VC 7.1; make more modules builtin.
Martin v. Löwis <martin@v.loewis.de>
parents: 30875
diff changeset
49 extern void init_csv(void);
099a4a2f1f77 Update build procedure to VC 7.1; make more modules builtin.
Martin v. Löwis <martin@v.loewis.de>
parents: 30875
diff changeset
50 extern void init_sre(void);
099a4a2f1f77 Update build procedure to VC 7.1; make more modules builtin.
Martin v. Löwis <martin@v.loewis.de>
parents: 30875
diff changeset
51 extern void initparser(void);
099a4a2f1f77 Update build procedure to VC 7.1; make more modules builtin.
Martin v. Löwis <martin@v.loewis.de>
parents: 30875
diff changeset
52 extern void init_winreg(void);
38269
b8bef5a07df6 Get the Windows build working again (recover from
Tim Peters <tim.peters@gmail.com>
parents: 37022
diff changeset
53 extern void init_struct(void);
31318
099a4a2f1f77 Update build procedure to VC 7.1; make more modules builtin.
Martin v. Löwis <martin@v.loewis.de>
parents: 30875
diff changeset
54 extern void initdatetime(void);
46128
ef40ec32c5e4 Hopefully added _fileio module to the Windows build system
Christian Heimes <christian@cheimes.de>
parents: 45439
diff changeset
55 extern void init_fileio(void);
46805
4c5ee1b38045 Backport fast alternate io.BytesIO implementation.
Alexandre Vassalotti <alexandre@peadrop.com>
parents: 46676
diff changeset
56 extern void init_bytesio(void);
38477
aa065f820252 Apply modified version of Collin Winter's patch #1478788
Nick Coghlan <ncoghlan@gmail.com>
parents: 38269
diff changeset
57 extern void init_functools(void);
46676
4ded35754cb7 Add the 'json' package. Code taken from simplejson 1.9 and contributed by Bob
Brett Cannon <bcannon@gmail.com>
parents: 46417
diff changeset
58 extern void init_json(void);
36188
f80ee142727a Make zlib builtin.
Martin v. Löwis <martin@v.loewis.de>
parents: 35399
diff changeset
59 extern void initzlib(void);
3624
5a98a4fd58b8 config files for DOS and Windows (all versions, all compilers)
Guido van Rossum <guido@python.org>
parents:
diff changeset
60
31406
69a365e47ac0 Add cjkcodecs to build process
Martin v. Löwis <martin@v.loewis.de>
parents: 31353
diff changeset
61 extern void init_multibytecodec(void);
32733
977f267b00f9 Woo hoo! All the encoding tests pass on Windows (& I downloaded the
Tim Peters <tim.peters@gmail.com>
parents: 32731
diff changeset
62 extern void init_codecs_cn(void);
977f267b00f9 Woo hoo! All the encoding tests pass on Windows (& I downloaded the
Tim Peters <tim.peters@gmail.com>
parents: 32731
diff changeset
63 extern void init_codecs_hk(void);
32838
24dd1d07afdb Add missing _codecs_iso2022 module of cjkcodecs. I'll add unittest
Hye-Shik Chang <hyeshik@gmail.com>
parents: 32733
diff changeset
64 extern void init_codecs_iso2022(void);
32733
977f267b00f9 Woo hoo! All the encoding tests pass on Windows (& I downloaded the
Tim Peters <tim.peters@gmail.com>
parents: 32731
diff changeset
65 extern void init_codecs_jp(void);
977f267b00f9 Woo hoo! All the encoding tests pass on Windows (& I downloaded the
Tim Peters <tim.peters@gmail.com>
parents: 32731
diff changeset
66 extern void init_codecs_kr(void);
977f267b00f9 Woo hoo! All the encoding tests pass on Windows (& I downloaded the
Tim Peters <tim.peters@gmail.com>
parents: 32731
diff changeset
67 extern void init_codecs_tw(void);
33730
44cdac9bf785 Supply the _subprocess module under 7.1. I'm not sure what the status
Tim Peters <tim.peters@gmail.com>
parents: 33380
diff changeset
68 extern void init_subprocess(void);
36495
220497e089ce Add _lsprof.
Martin v. Löwis <martin@v.loewis.de>
parents: 36188
diff changeset
69 extern void init_lsprof(void);
36669
9504f7ac3669 Create _ast module.
Martin v. Löwis <martin@v.loewis.de>
parents: 36495
diff changeset
70 extern void init_ast(void);
46414
840064802952 Re-implement the 'warnings' module in C. This allows for usage of the
Brett Cannon <bcannon@gmail.com>
parents: 46360
diff changeset
71 extern void _PyWarnings_Init(void);
31406
69a365e47ac0 Add cjkcodecs to build process
Martin v. Löwis <martin@v.loewis.de>
parents: 31353
diff changeset
72
28672
2a23fc83720f Patch #714957: Explain ADDMODULE MARKER.
Martin v. Löwis <martin@v.loewis.de>
parents: 27570
diff changeset
73 /* tools/freeze/makeconfig.py marker for additional "extern" */
3624
5a98a4fd58b8 config files for DOS and Windows (all versions, all compilers)
Guido van Rossum <guido@python.org>
parents:
diff changeset
74 /* -- ADDMODULE MARKER 1 -- */
5a98a4fd58b8 config files for DOS and Windows (all versions, all compilers)
Guido van Rossum <guido@python.org>
parents:
diff changeset
75
13660
a1ce07218781 Miscelaneous ANSIfications. I'm assuming here 'main' should take (int,
Thomas Wouters <thomas@python.org>
parents: 13574
diff changeset
76 extern void PyMarshal_Init(void);
a1ce07218781 Miscelaneous ANSIfications. I'm assuming here 'main' should take (int,
Thomas Wouters <thomas@python.org>
parents: 13574
diff changeset
77 extern void initimp(void);
3624
5a98a4fd58b8 config files for DOS and Windows (all versions, all compilers)
Guido van Rossum <guido@python.org>
parents:
diff changeset
78
5378
319e3eaecdf4 One more inittab.
Guido van Rossum <guido@python.org>
parents: 4503
diff changeset
79 struct _inittab _PyImport_Inittab[] = {
3624
5a98a4fd58b8 config files for DOS and Windows (all versions, all compilers)
Guido van Rossum <guido@python.org>
parents:
diff changeset
80
5a98a4fd58b8 config files for DOS and Windows (all versions, all compilers)
Guido van Rossum <guido@python.org>
parents:
diff changeset
81 {"array", initarray},
36669
9504f7ac3669 Create _ast module.
Martin v. Löwis <martin@v.loewis.de>
parents: 36495
diff changeset
82 {"_ast", init_ast},
10108
52d57cc03f42 Some weird symbol (M_I386) was used to decide whether to include the
Guido van Rossum <guido@python.org>
parents: 10098
diff changeset
83 #ifdef MS_WINDOWS
41590
1c1705bf36b8 Fix problems in x64 build that were discovered by the testsuite:
Kristján Valur Jónsson <kristjan@ccpgames.com>
parents: 40989
diff changeset
84 #ifndef MS_WINI64
3624
5a98a4fd58b8 config files for DOS and Windows (all versions, all compilers)
Guido van Rossum <guido@python.org>
parents:
diff changeset
85 {"audioop", initaudioop},
5a98a4fd58b8 config files for DOS and Windows (all versions, all compilers)
Guido van Rossum <guido@python.org>
parents:
diff changeset
86 #endif
12617
d9cfa2e6f782 Trent Mick:
Guido van Rossum <guido@python.org>
parents: 12442
diff changeset
87 #endif
3624
5a98a4fd58b8 config files for DOS and Windows (all versions, all compilers)
Guido van Rossum <guido@python.org>
parents:
diff changeset
88 {"binascii", initbinascii},
3736
6c9c2ac15e4b Added PC files from Jim Ahlstrom.
Guido van Rossum <guido@python.org>
parents: 3729
diff changeset
89 {"cmath", initcmath},
3846
fcd82a01507d New versions of almost all files.
Guido van Rossum <guido@python.org>
parents: 3736
diff changeset
90 {"errno", initerrno},
45439
8eb598331231 Added future_builtins, which contains PEP 3127 compatible versions of hex() and oct().
Eric Smith <eric@trueblade.com>
parents: 41792
diff changeset
91 {"future_builtins", initfuture_builtins},
13183
54bffdddc0ef final patches from Neil Schemenauer for garbage collection
Jeremy Hylton <jeremy@alum.mit.edu>
parents: 12617
diff changeset
92 {"gc", initgc},
41590
1c1705bf36b8 Fix problems in x64 build that were discovered by the testsuite:
Kristján Valur Jónsson <kristjan@ccpgames.com>
parents: 40989
diff changeset
93 #ifndef MS_WINI64
3624
5a98a4fd58b8 config files for DOS and Windows (all versions, all compilers)
Guido van Rossum <guido@python.org>
parents:
diff changeset
94 {"imageop", initimageop},
12617
d9cfa2e6f782 Trent Mick:
Guido van Rossum <guido@python.org>
parents: 12442
diff changeset
95 #endif
3624
5a98a4fd58b8 config files for DOS and Windows (all versions, all compilers)
Guido van Rossum <guido@python.org>
parents:
diff changeset
96 {"math", initmath},
35399
c9eb25fe39cb Update the PC configuration and project files for sha256 and sha512.
Raymond Hettinger <python@rcn.com>
parents: 34636
diff changeset
97 {"_md5", init_md5},
5418
a1b63c73ad1d Use spaces exclusively.
Guido van Rossum <guido@python.org>
parents: 5417
diff changeset
98 {"nt", initnt}, /* Use the NT os functions, not posix */
3846
fcd82a01507d New versions of almost all files.
Guido van Rossum <guido@python.org>
parents: 3736
diff changeset
99 {"operator", initoperator},
3624
5a98a4fd58b8 config files for DOS and Windows (all versions, all compilers)
Guido van Rossum <guido@python.org>
parents:
diff changeset
100 {"signal", initsignal},
35399
c9eb25fe39cb Update the PC configuration and project files for sha256 and sha512.
Raymond Hettinger <python@rcn.com>
parents: 34636
diff changeset
101 {"_sha", init_sha},
c9eb25fe39cb Update the PC configuration and project files for sha256 and sha512.
Raymond Hettinger <python@rcn.com>
parents: 34636
diff changeset
102 {"_sha256", init_sha256},
c9eb25fe39cb Update the PC configuration and project files for sha256 and sha512.
Raymond Hettinger <python@rcn.com>
parents: 34636
diff changeset
103 {"_sha512", init_sha512},
3624
5a98a4fd58b8 config files for DOS and Windows (all versions, all compilers)
Guido van Rossum <guido@python.org>
parents:
diff changeset
104 {"strop", initstrop},
5a98a4fd58b8 config files for DOS and Windows (all versions, all compilers)
Guido van Rossum <guido@python.org>
parents:
diff changeset
105 {"time", inittime},
4107
3ac030cc33f0 Added thread module (it was already in the project!)
Guido van Rossum <guido@python.org>
parents: 4105
diff changeset
106 #ifdef WITH_THREAD
3ac030cc33f0 Added thread module (it was already in the project!)
Guido van Rossum <guido@python.org>
parents: 4105
diff changeset
107 {"thread", initthread},
3ac030cc33f0 Added thread module (it was already in the project!)
Guido van Rossum <guido@python.org>
parents: 4105
diff changeset
108 #endif
5418
a1b63c73ad1d Use spaces exclusively.
Guido van Rossum <guido@python.org>
parents: 5417
diff changeset
109 {"cStringIO", initcStringIO},
a1b63c73ad1d Use spaces exclusively.
Guido van Rossum <guido@python.org>
parents: 5417
diff changeset
110 {"cPickle", initcPickle},
5953
1a99695a41cc Got the new structure working with MSVC 4.2.
Guido van Rossum <guido@python.org>
parents: 5418
diff changeset
111 #ifdef WIN32
12617
d9cfa2e6f782 Trent Mick:
Guido van Rossum <guido@python.org>
parents: 12442
diff changeset
112 {"msvcrt", initmsvcrt},
d9cfa2e6f782 Trent Mick:
Guido van Rossum <guido@python.org>
parents: 12442
diff changeset
113 {"_locale", init_locale},
5953
1a99695a41cc Got the new structure working with MSVC 4.2.
Guido van Rossum <guido@python.org>
parents: 5418
diff changeset
114 #endif
33730
44cdac9bf785 Supply the _subprocess module under 7.1. I'm not sure what the status
Tim Peters <tim.peters@gmail.com>
parents: 33380
diff changeset
115 /* XXX Should _subprocess go in a WIN32 block? not WIN64? */
44cdac9bf785 Supply the _subprocess module under 7.1. I'm not sure what the status
Tim Peters <tim.peters@gmail.com>
parents: 33380
diff changeset
116 {"_subprocess", init_subprocess},
3624
5a98a4fd58b8 config files for DOS and Windows (all versions, all compilers)
Guido van Rossum <guido@python.org>
parents:
diff changeset
117
12617
d9cfa2e6f782 Trent Mick:
Guido van Rossum <guido@python.org>
parents: 12442
diff changeset
118 {"_codecs", init_codecs},
16402
08ac556f2d12 Teach Windows build about the _weakref module.
Tim Peters <tim.peters@gmail.com>
parents: 15791
diff changeset
119 {"_weakref", init_weakref},
20400
65790562033c Get hotshot closer to compiling on Windows.
Tim Peters <tim.peters@gmail.com>
parents: 18933
diff changeset
120 {"_hotshot", init_hotshot},
26831
9e409107aeea Taught the Windows build about _randommodule.c. This is compiled
Tim Peters <tim.peters@gmail.com>
parents: 24121
diff changeset
121 {"_random", init_random},
31353
ed20259a1ea5 SF Patch #864863: Bisect C implementation
Raymond Hettinger <python@rcn.com>
parents: 31318
diff changeset
122 {"_bisect", init_bisect},
31931
63b68cb2b442 * Restore the pure python version of heapq.py.
Raymond Hettinger <python@rcn.com>
parents: 31436
diff changeset
123 {"_heapq", init_heapq},
36495
220497e089ce Add _lsprof.
Martin v. Löwis <martin@v.loewis.de>
parents: 36188
diff changeset
124 {"_lsprof", init_lsprof},
27570
ba57c3daf6e9 Move itertools module from the sandbox and into production.
Raymond Hettinger <python@rcn.com>
parents: 26885
diff changeset
125 {"itertools", inititertools},
40989
4087c0ec733b Prepare collections module for pure python code entries.
Raymond Hettinger <python@rcn.com>
parents: 39230
diff changeset
126 {"_collections", init_collections},
31318
099a4a2f1f77 Update build procedure to VC 7.1; make more modules builtin.
Martin v. Löwis <martin@v.loewis.de>
parents: 30875
diff changeset
127 {"_symtable", init_symtable},
099a4a2f1f77 Update build procedure to VC 7.1; make more modules builtin.
Martin v. Löwis <martin@v.loewis.de>
parents: 30875
diff changeset
128 {"mmap", initmmap},
099a4a2f1f77 Update build procedure to VC 7.1; make more modules builtin.
Martin v. Löwis <martin@v.loewis.de>
parents: 30875
diff changeset
129 {"_csv", init_csv},
099a4a2f1f77 Update build procedure to VC 7.1; make more modules builtin.
Martin v. Löwis <martin@v.loewis.de>
parents: 30875
diff changeset
130 {"_sre", init_sre},
099a4a2f1f77 Update build procedure to VC 7.1; make more modules builtin.
Martin v. Löwis <martin@v.loewis.de>
parents: 30875
diff changeset
131 {"parser", initparser},
099a4a2f1f77 Update build procedure to VC 7.1; make more modules builtin.
Martin v. Löwis <martin@v.loewis.de>
parents: 30875
diff changeset
132 {"_winreg", init_winreg},
38269
b8bef5a07df6 Get the Windows build working again (recover from
Tim Peters <tim.peters@gmail.com>
parents: 37022
diff changeset
133 {"_struct", init_struct},
31318
099a4a2f1f77 Update build procedure to VC 7.1; make more modules builtin.
Martin v. Löwis <martin@v.loewis.de>
parents: 30875
diff changeset
134 {"datetime", initdatetime},
46128
ef40ec32c5e4 Hopefully added _fileio module to the Windows build system
Christian Heimes <christian@cheimes.de>
parents: 45439
diff changeset
135 {"_fileio", init_fileio},
46805
4c5ee1b38045 Backport fast alternate io.BytesIO implementation.
Alexandre Vassalotti <alexandre@peadrop.com>
parents: 46676
diff changeset
136 {"_bytesio", init_bytesio},
38477
aa065f820252 Apply modified version of Collin Winter's patch #1478788
Nick Coghlan <ncoghlan@gmail.com>
parents: 38269
diff changeset
137 {"_functools", init_functools},
46676
4ded35754cb7 Add the 'json' package. Code taken from simplejson 1.9 and contributed by Bob
Brett Cannon <bcannon@gmail.com>
parents: 46417
diff changeset
138 {"_json", init_json},
11993
b5e81271c4c8 VC++ project changes to add new Unicode files and modules.
Guido van Rossum <guido@python.org>
parents: 10588
diff changeset
139
18933
09df3254b49d Merge of descr-branch back into trunk.
Tim Peters <tim.peters@gmail.com>
parents: 16402
diff changeset
140 {"xxsubtype", initxxsubtype},
26885
54aacb87beda PEP 302 + zipimport:
Just van Rossum <just@letterror.com>
parents: 26831
diff changeset
141 {"zipimport", initzipimport},
36188
f80ee142727a Make zlib builtin.
Martin v. Löwis <martin@v.loewis.de>
parents: 35399
diff changeset
142 {"zlib", initzlib},
f80ee142727a Make zlib builtin.
Martin v. Löwis <martin@v.loewis.de>
parents: 35399
diff changeset
143
31406
69a365e47ac0 Add cjkcodecs to build process
Martin v. Löwis <martin@v.loewis.de>
parents: 31353
diff changeset
144 /* CJK codecs */
69a365e47ac0 Add cjkcodecs to build process
Martin v. Löwis <martin@v.loewis.de>
parents: 31353
diff changeset
145 {"_multibytecodec", init_multibytecodec},
32733
977f267b00f9 Woo hoo! All the encoding tests pass on Windows (& I downloaded the
Tim Peters <tim.peters@gmail.com>
parents: 32731
diff changeset
146 {"_codecs_cn", init_codecs_cn},
977f267b00f9 Woo hoo! All the encoding tests pass on Windows (& I downloaded the
Tim Peters <tim.peters@gmail.com>
parents: 32731
diff changeset
147 {"_codecs_hk", init_codecs_hk},
32838
24dd1d07afdb Add missing _codecs_iso2022 module of cjkcodecs. I'll add unittest
Hye-Shik Chang <hyeshik@gmail.com>
parents: 32733
diff changeset
148 {"_codecs_iso2022", init_codecs_iso2022},
32733
977f267b00f9 Woo hoo! All the encoding tests pass on Windows (& I downloaded the
Tim Peters <tim.peters@gmail.com>
parents: 32731
diff changeset
149 {"_codecs_jp", init_codecs_jp},
977f267b00f9 Woo hoo! All the encoding tests pass on Windows (& I downloaded the
Tim Peters <tim.peters@gmail.com>
parents: 32731
diff changeset
150 {"_codecs_kr", init_codecs_kr},
977f267b00f9 Woo hoo! All the encoding tests pass on Windows (& I downloaded the
Tim Peters <tim.peters@gmail.com>
parents: 32731
diff changeset
151 {"_codecs_tw", init_codecs_tw},
31406
69a365e47ac0 Add cjkcodecs to build process
Martin v. Löwis <martin@v.loewis.de>
parents: 31353
diff changeset
152
28672
2a23fc83720f Patch #714957: Explain ADDMODULE MARKER.
Martin v. Löwis <martin@v.loewis.de>
parents: 27570
diff changeset
153 /* tools/freeze/makeconfig.py marker for additional "_inittab" entries */
3624
5a98a4fd58b8 config files for DOS and Windows (all versions, all compilers)
Guido van Rossum <guido@python.org>
parents:
diff changeset
154 /* -- ADDMODULE MARKER 2 -- */
5a98a4fd58b8 config files for DOS and Windows (all versions, all compilers)
Guido van Rossum <guido@python.org>
parents:
diff changeset
155
5a98a4fd58b8 config files for DOS and Windows (all versions, all compilers)
Guido van Rossum <guido@python.org>
parents:
diff changeset
156 /* This module "lives in" with marshal.c */
5a98a4fd58b8 config files for DOS and Windows (all versions, all compilers)
Guido van Rossum <guido@python.org>
parents:
diff changeset
157 {"marshal", PyMarshal_Init},
5a98a4fd58b8 config files for DOS and Windows (all versions, all compilers)
Guido van Rossum <guido@python.org>
parents:
diff changeset
158
5a98a4fd58b8 config files for DOS and Windows (all versions, all compilers)
Guido van Rossum <guido@python.org>
parents:
diff changeset
159 /* This lives it with import.c */
5a98a4fd58b8 config files for DOS and Windows (all versions, all compilers)
Guido van Rossum <guido@python.org>
parents:
diff changeset
160 {"imp", initimp},
5a98a4fd58b8 config files for DOS and Windows (all versions, all compilers)
Guido van Rossum <guido@python.org>
parents:
diff changeset
161
5a98a4fd58b8 config files for DOS and Windows (all versions, all compilers)
Guido van Rossum <guido@python.org>
parents:
diff changeset
162 /* These entries are here for sys.builtin_module_names */
5a98a4fd58b8 config files for DOS and Windows (all versions, all compilers)
Guido van Rossum <guido@python.org>
parents:
diff changeset
163 {"__main__", NULL},
5a98a4fd58b8 config files for DOS and Windows (all versions, all compilers)
Guido van Rossum <guido@python.org>
parents:
diff changeset
164 {"__builtin__", NULL},
5a98a4fd58b8 config files for DOS and Windows (all versions, all compilers)
Guido van Rossum <guido@python.org>
parents:
diff changeset
165 {"sys", NULL},
13574
cb76d7da6702 Add "exceptions" to list of built-in modules for the sake of
Guido van Rossum <guido@python.org>
parents: 13256
diff changeset
166 {"exceptions", NULL},
46414
840064802952 Re-implement the 'warnings' module in C. This allows for usage of the
Brett Cannon <bcannon@gmail.com>
parents: 46360
diff changeset
167 {"_warnings", _PyWarnings_Init},
840064802952 Re-implement the 'warnings' module in C. This allows for usage of the
Brett Cannon <bcannon@gmail.com>
parents: 46360
diff changeset
168
3624
5a98a4fd58b8 config files for DOS and Windows (all versions, all compilers)
Guido van Rossum <guido@python.org>
parents:
diff changeset
169 /* Sentinel */
5a98a4fd58b8 config files for DOS and Windows (all versions, all compilers)
Guido van Rossum <guido@python.org>
parents:
diff changeset
170 {0, 0}
5a98a4fd58b8 config files for DOS and Windows (all versions, all compilers)
Guido van Rossum <guido@python.org>
parents:
diff changeset
171 };