Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a8ee4c3

Browse files
committed
Mark Hammond:
* Base address for all extension modules updated. PC\dllbase_nt.txt also updated. Erroneous "libpath" directory removed for all projects. * winsound module moved from a builtin module to an extension module. This was done primarily to avoid Python16.dll needing to pull in winmm.dll. Really dumb test added for winsound - but if nothing else it ensures the module imports.
1 parent 7053b8a commit a8ee4c3

2 files changed

Lines changed: 10 additions & 3 deletions

File tree

PC/config.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@ extern void initcPickle();
6161
extern void initpcre();
6262
#ifdef WIN32
6363
extern void initmsvcrt();
64-
extern void initwinsound();
6564
extern void init_locale();
6665
#endif
6766
extern void init_codecs();
@@ -102,7 +101,6 @@ struct _inittab _PyImport_Inittab[] = {
102101
{"pcre", initpcre},
103102
#ifdef WIN32
104103
{"msvcrt", initmsvcrt},
105-
{"winsound", initwinsound},
106104
{"_locale", init_locale},
107105
#endif
108106

PC/dllbase_nt.txt

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,21 @@ command line switch.
1313

1414

1515
Python.dll - 1e100000 - 1e180000 (-1)
16-
Standard Extension Modules - 1e180000 - 1e200000 ""
16+
Standard Extension Modules 1e180000 - 1e200000 ""
1717
- bsddb 1e180000 - 1e188000 ""
1818
- _tkinter 1e190000 - 1e1A0000
1919
- parser 1e1A0000 - 1e1B0000
2020
- zlib 1e1B0000 - 1e1C0000
2121
- winreg 1e1C0000 - 1e1D0000
22+
- _socket 1e1D0000 - 1e1E0000
23+
- _sre 1e1E0000 - 1e1F0000
24+
- mmap 1e1F0000 - 1e1FFFFF
25+
26+
More standard extensions 1D100000 - 1e000000
27+
- pyexpat 1D100000 - 1D110000
28+
- select 1D110000 - 1D120000
29+
- unicodedata 1D120000 - 1D130000
30+
- winsound 1D130000 - 1D140000
2231

2332
Other extension modules
2433
- win32api 1e200000 - 1e220000

0 commit comments

Comments
 (0)