Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
6a880a83
Commit
6a880a83
authored
Jun 11, 2008
by
Martin v. Löwis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update to PEP 3121.
parent
3447bee9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
110 additions
and
109 deletions
+110
-109
PC/config.c
PC/config.c
+110
-109
No files found.
PC/config.c
View file @
6a880a83
...
@@ -5,133 +5,134 @@
...
@@ -5,133 +5,134 @@
#include "Python.h"
#include "Python.h"
extern
void
init
array
(
void
);
extern
PyObject
*
PyInit_
array
(
void
);
#ifndef MS_WINI64
#ifndef MS_WINI64
extern
void
init
audioop
(
void
);
extern
PyObject
*
PyInit_
audioop
(
void
);
#endif
#endif
extern
void
initbinascii
(
void
);
extern
PyObject
*
PyInit_binascii
(
void
);
extern
void
initcmath
(
void
);
extern
PyObject
*
PyInit_cmath
(
void
);
extern
void
initerrno
(
void
);
extern
PyObject
*
PyInit_errno
(
void
);
extern
void
initgc
(
void
);
extern
PyObject
*
PyInit_gc
(
void
);
extern
void
initmath
(
void
);
extern
PyObject
*
PyInit_math
(
void
);
extern
void
init_md5
(
void
);
extern
PyObject
*
PyInit__md5
(
void
);
extern
void
initnt
(
void
);
extern
PyObject
*
PyInit_nt
(
void
);
extern
void
initoperator
(
void
);
extern
PyObject
*
PyInit_operator
(
void
);
extern
void
initsignal
(
void
);
extern
PyObject
*
PyInit_signal
(
void
);
extern
void
init_sha1
(
void
);
extern
PyObject
*
PyInit__sha1
(
void
);
extern
void
init_sha256
(
void
);
extern
PyObject
*
PyInit__sha256
(
void
);
extern
void
init_sha512
(
void
);
extern
PyObject
*
PyInit__sha512
(
void
);
extern
void
inittime
(
void
);
extern
PyObject
*
PyInit_time
(
void
);
extern
void
init_thread
(
void
);
extern
PyObject
*
PyInit__thread
(
void
);
extern
PyObject
*
PyInit_cStringIO
(
void
);
#ifdef WIN32
#ifdef WIN32
extern
void
init
msvcrt
(
void
);
extern
PyObject
*
PyInit_
msvcrt
(
void
);
extern
void
init
_locale
(
void
);
extern
PyObject
*
PyInit_
_locale
(
void
);
#endif
#endif
extern
void
init
_codecs
(
void
);
extern
PyObject
*
PyInit_
_codecs
(
void
);
extern
void
init
_weakref
(
void
);
extern
PyObject
*
PyInit_
_weakref
(
void
);
extern
void
init
xxsubtype
(
void
);
extern
PyObject
*
PyInit_
xxsubtype
(
void
);
extern
void
init
zipimport
(
void
);
extern
PyObject
*
PyInit_
zipimport
(
void
);
extern
void
init
_random
(
void
);
extern
PyObject
*
PyInit_
_random
(
void
);
extern
void
init
itertools
(
void
);
extern
PyObject
*
PyInit_
itertools
(
void
);
extern
void
init
_collections
(
void
);
extern
PyObject
*
PyInit_
_collections
(
void
);
extern
void
init
_heapq
(
void
);
extern
PyObject
*
PyInit_
_heapq
(
void
);
extern
void
init
_bisect
(
void
);
extern
PyObject
*
PyInit_
_bisect
(
void
);
extern
void
init
_symtable
(
void
);
extern
PyObject
*
PyInit_
_symtable
(
void
);
extern
void
init
mmap
(
void
);
extern
PyObject
*
PyInit_
mmap
(
void
);
extern
void
init
_csv
(
void
);
extern
PyObject
*
PyInit_
_csv
(
void
);
extern
void
init
_sre
(
void
);
extern
PyObject
*
PyInit_
_sre
(
void
);
extern
void
init
parser
(
void
);
extern
PyObject
*
PyInit_
parser
(
void
);
extern
void
init
winreg
(
void
);
extern
PyObject
*
PyInit_
winreg
(
void
);
extern
void
init
_struct
(
void
);
extern
PyObject
*
PyInit_
_struct
(
void
);
extern
void
init
datetime
(
void
);
extern
PyObject
*
PyInit_
datetime
(
void
);
extern
void
init
_functools
(
void
);
extern
PyObject
*
PyInit_
_functools
(
void
);
extern
void
init
_json
(
void
);
extern
PyObject
*
PyInit_
_json
(
void
);
extern
void
init
zlib
(
void
);
extern
PyObject
*
PyInit_
zlib
(
void
);
extern
void
init
_multibytecodec
(
void
);
extern
PyObject
*
PyInit_
_multibytecodec
(
void
);
extern
void
init
_codecs_cn
(
void
);
extern
PyObject
*
PyInit_
_codecs_cn
(
void
);
extern
void
init
_codecs_hk
(
void
);
extern
PyObject
*
PyInit_
_codecs_hk
(
void
);
extern
void
init
_codecs_iso2022
(
void
);
extern
PyObject
*
PyInit_
_codecs_iso2022
(
void
);
extern
void
init
_codecs_jp
(
void
);
extern
PyObject
*
PyInit_
_codecs_jp
(
void
);
extern
void
init
_codecs_kr
(
void
);
extern
PyObject
*
PyInit_
_codecs_kr
(
void
);
extern
void
init
_codecs_tw
(
void
);
extern
PyObject
*
PyInit_
_codecs_tw
(
void
);
extern
void
init
_subprocess
(
void
);
extern
PyObject
*
PyInit_
_subprocess
(
void
);
extern
void
init
_lsprof
(
void
);
extern
PyObject
*
PyInit_
_lsprof
(
void
);
extern
void
init
_ast
(
void
);
extern
PyObject
*
PyInit_
_ast
(
void
);
extern
void
init
_fileio
(
void
);
extern
PyObject
*
PyInit_
_fileio
(
void
);
extern
void
init
_bytesio
(
void
);
extern
PyObject
*
PyInit_
_bytesio
(
void
);
extern
void
init
atexit
(
void
);
extern
PyObject
*
PyInit_
atexit
(
void
);
extern
void
_PyWarnings_Init
(
void
);
extern
PyObject
*
_PyWarnings_Init
(
void
);
/* tools/freeze/makeconfig.py marker for additional "extern" */
/* tools/freeze/makeconfig.py marker for additional "extern" */
/* -- ADDMODULE MARKER 1 -- */
/* -- ADDMODULE MARKER 1 -- */
extern
void
PyMarshal_Init
(
void
);
extern
PyObject
*
PyMarshal_Init
(
void
);
extern
void
init
imp
(
void
);
extern
PyObject
*
PyInit_
imp
(
void
);
struct
_inittab
_PyImport_Inittab
[]
=
{
struct
_inittab
_PyImport_Inittab
[]
=
{
{
"array"
,
init
array
},
{
"array"
,
PyInit_
array
},
{
"_ast"
,
init
_ast
},
{
"_ast"
,
PyInit_
_ast
},
#ifdef MS_WINDOWS
#ifdef MS_WINDOWS
#ifndef MS_WINI64
#ifndef MS_WINI64
{
"audioop"
,
init
audioop
},
{
"audioop"
,
PyInit_
audioop
},
#endif
#endif
#endif
#endif
{
"binascii"
,
init
binascii
},
{
"binascii"
,
PyInit_
binascii
},
{
"cmath"
,
init
cmath
},
{
"cmath"
,
PyInit_
cmath
},
{
"errno"
,
init
errno
},
{
"errno"
,
PyInit_
errno
},
{
"gc"
,
init
gc
},
{
"gc"
,
PyInit_
gc
},
{
"math"
,
init
math
},
{
"math"
,
PyInit_
math
},
{
"nt"
,
init
nt
},
/* Use the NT os functions, not posix */
{
"nt"
,
PyInit_
nt
},
/* Use the NT os functions, not posix */
{
"operator"
,
init
operator
},
{
"operator"
,
PyInit_
operator
},
{
"signal"
,
init
signal
},
{
"signal"
,
PyInit_
signal
},
{
"_md5"
,
init
_md5
},
{
"_md5"
,
PyInit_
_md5
},
{
"_sha1"
,
init
_sha1
},
{
"_sha1"
,
PyInit_
_sha1
},
{
"_sha256"
,
init
_sha256
},
{
"_sha256"
,
PyInit_
_sha256
},
{
"_sha512"
,
init
_sha512
},
{
"_sha512"
,
PyInit_
_sha512
},
{
"time"
,
init
time
},
{
"time"
,
PyInit_
time
},
#ifdef WITH_THREAD
#ifdef WITH_THREAD
{
"_thread"
,
init
_thread
},
{
"_thread"
,
PyInit_
_thread
},
#endif
#endif
#ifdef WIN32
#ifdef WIN32
{
"msvcrt"
,
init
msvcrt
},
{
"msvcrt"
,
PyInit_
msvcrt
},
{
"_locale"
,
init
_locale
},
{
"_locale"
,
PyInit_
_locale
},
#endif
#endif
/* XXX Should _subprocess go in a WIN32 block? not WIN64? */
/* XXX Should _subprocess go in a WIN32 block? not WIN64? */
{
"_subprocess"
,
init
_subprocess
},
{
"_subprocess"
,
PyInit_
_subprocess
},
{
"_codecs"
,
init
_codecs
},
{
"_codecs"
,
PyInit_
_codecs
},
{
"_weakref"
,
init
_weakref
},
{
"_weakref"
,
PyInit_
_weakref
},
{
"_random"
,
init
_random
},
{
"_random"
,
PyInit_
_random
},
{
"_bisect"
,
init
_bisect
},
{
"_bisect"
,
PyInit_
_bisect
},
{
"_heapq"
,
init
_heapq
},
{
"_heapq"
,
PyInit_
_heapq
},
{
"_lsprof"
,
init
_lsprof
},
{
"_lsprof"
,
PyInit_
_lsprof
},
{
"itertools"
,
init
itertools
},
{
"itertools"
,
PyInit_
itertools
},
{
"_collections"
,
init
_collections
},
{
"_collections"
,
PyInit_
_collections
},
{
"_symtable"
,
init
_symtable
},
{
"_symtable"
,
PyInit_
_symtable
},
{
"mmap"
,
init
mmap
},
{
"mmap"
,
PyInit_
mmap
},
{
"_csv"
,
init
_csv
},
{
"_csv"
,
PyInit_
_csv
},
{
"_sre"
,
init
_sre
},
{
"_sre"
,
PyInit_
_sre
},
{
"parser"
,
init
parser
},
{
"parser"
,
PyInit_
parser
},
{
"winreg"
,
init
winreg
},
{
"winreg"
,
PyInit_
winreg
},
{
"_struct"
,
init
_struct
},
{
"_struct"
,
PyInit_
_struct
},
{
"datetime"
,
init
datetime
},
{
"datetime"
,
PyInit_
datetime
},
{
"_functools"
,
init
_functools
},
{
"_functools"
,
PyInit_
_functools
},
{
"_json"
,
init
_json
},
{
"_json"
,
PyInit_
_json
},
{
"xxsubtype"
,
init
xxsubtype
},
{
"xxsubtype"
,
PyInit_
xxsubtype
},
{
"zipimport"
,
init
zipimport
},
{
"zipimport"
,
PyInit_
zipimport
},
{
"zlib"
,
init
zlib
},
{
"zlib"
,
PyInit_
zlib
},
/* CJK codecs */
/* CJK codecs */
{
"_multibytecodec"
,
init
_multibytecodec
},
{
"_multibytecodec"
,
PyInit_
_multibytecodec
},
{
"_codecs_cn"
,
init
_codecs_cn
},
{
"_codecs_cn"
,
PyInit_
_codecs_cn
},
{
"_codecs_hk"
,
init
_codecs_hk
},
{
"_codecs_hk"
,
PyInit_
_codecs_hk
},
{
"_codecs_iso2022"
,
init
_codecs_iso2022
},
{
"_codecs_iso2022"
,
PyInit_
_codecs_iso2022
},
{
"_codecs_jp"
,
init
_codecs_jp
},
{
"_codecs_jp"
,
PyInit_
_codecs_jp
},
{
"_codecs_kr"
,
init
_codecs_kr
},
{
"_codecs_kr"
,
PyInit_
_codecs_kr
},
{
"_codecs_tw"
,
init
_codecs_tw
},
{
"_codecs_tw"
,
PyInit_
_codecs_tw
},
/* tools/freeze/makeconfig.py marker for additional "_inittab" entries */
/* tools/freeze/makeconfig.py marker for additional "_inittab" entries */
/* -- ADDMODULE MARKER 2 -- */
/* -- ADDMODULE MARKER 2 -- */
...
@@ -140,7 +141,7 @@ struct _inittab _PyImport_Inittab[] = {
...
@@ -140,7 +141,7 @@ struct _inittab _PyImport_Inittab[] = {
{
"marshal"
,
PyMarshal_Init
},
{
"marshal"
,
PyMarshal_Init
},
/* This lives it with import.c */
/* This lives it with import.c */
{
"imp"
,
init
imp
},
{
"imp"
,
PyInit_
imp
},
/* These entries are here for sys.builtin_module_names */
/* These entries are here for sys.builtin_module_names */
{
"__main__"
,
NULL
},
{
"__main__"
,
NULL
},
...
@@ -148,9 +149,9 @@ struct _inittab _PyImport_Inittab[] = {
...
@@ -148,9 +149,9 @@ struct _inittab _PyImport_Inittab[] = {
{
"sys"
,
NULL
},
{
"sys"
,
NULL
},
{
"_warnings"
,
_PyWarnings_Init
},
{
"_warnings"
,
_PyWarnings_Init
},
{
"_fileio"
,
init
_fileio
},
{
"_fileio"
,
PyInit_
_fileio
},
{
"_bytesio"
,
init
_bytesio
},
{
"_bytesio"
,
PyInit_
_bytesio
},
{
"atexit"
,
init
atexit
},
{
"atexit"
,
PyInit_
atexit
},
/* Sentinel */
/* Sentinel */
{
0
,
0
}
{
0
,
0
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment