mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Taught the Windows build about _randommodule.c. This is compiled
into the core DLL, since it's not much code and lots of stuff uses it (e.g., try getting a tempfile name without it).
This commit is contained in:
parent
621818b318
commit
d1f5ccc75d
2 changed files with 6 additions and 0 deletions
|
@ -43,6 +43,7 @@ extern void initxreadlines(void);
|
|||
extern void init_weakref(void);
|
||||
extern void init_hotshot(void);
|
||||
extern void initxxsubtype(void);
|
||||
extern void init_random(void);
|
||||
|
||||
/* XXX tim: what's the purpose of ADDMODULE MARKER? */
|
||||
/* -- ADDMODULE MARKER 1 -- */
|
||||
|
@ -94,6 +95,7 @@ struct _inittab _PyImport_Inittab[] = {
|
|||
{"xreadlines", initxreadlines},
|
||||
{"_weakref", init_weakref},
|
||||
{"_hotshot", init_hotshot},
|
||||
{"_random", init_random},
|
||||
|
||||
{"xxsubtype", initxxsubtype},
|
||||
|
||||
|
|
|
@ -105,6 +105,10 @@ SOURCE=..\Modules\_localemodule.c
|
|||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\Modules\_randommodule.c
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\Modules\_weakref.c
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue