[Python-bugs-list] [Bug #114846] python20_d.dll missing

noreply@sourceforge.net noreply@sourceforge.net
Wed, 20 Sep 2000 18:06:24 -0700

Bug #114846, was updated on 2000-Sep-19 19:04
Here is a current snapshot of the bug.

Project: Python
Category: Windows
Status: Closed
Resolution: Wont Fix
Bug Group: Platform-specific
Priority: 5
Summary: python20_d.dll missing

Details: The file python20_d.dll is missing from the
win32-binary distribution.
side note: in python 1.5 this could be worked around
by linking to python15.lib manually. In 1.6 & 2.0 this
work around does not work.
(this is of course when python is embedded into a win32


Date: 2000-Sep-19 23:41
By: tim_one

Guido, I assigned this to you just to get your attention:  what do you think?  (MarkH, if you're listening, you too!)

C:\Code\python\dist\src\PCbuild>dir py*.dll

PYTHON20 DLL       692,285  09-19-00 10:14p python20.dll
PYTHON~1 DLL     1,138,751  09-19-00 10:14p python20_d.dll
         2 file(s)      1,831,036 bytes
         0 dir(s)        2,554.24 MB free


The debug DLL is a megabyte now, and I personally don't want to bloat the installer with it given that not one user in 1,000 will have any use for it.  Perhaps we could make it available as a separate download for experts?


Date: 2000-Sep-20 06:21
By: gvanrossum

Sorry, I won't fix this. The debug DLL is huge, and you'd need more than just python20_d.dll -- you'd need the _d.pyd version of all the extension modules. This would just be a waste of installer size.

If you have a need for the debug DLLs, you should download the sources and rebuild with debug mode from source. After all you must be debugging something so you must already be using VC++ so rebuilding won't be a problem; see PCbuild/readme.txt for elaborate instructions.

Date: 2000-Sep-20 12:23
By: PSYKOtron

I would appreciate it if you can add it into a seperate installer for experts. At the moment I have to compile
all of python, and redistribute all the debug and non-debug lib's and dll's to a couple people responsible for debugging my program. Basicly I used to use the windows installer for the debuggers, now I have to make my own, and
install it manually to each programmer's system.
I believe linux distributions solved this problem by releasing: somelib-1.0 && somelib-1.0-dev
Thanks for all your hard work in python... its helped *a lot* in my project.

Date: 2000-Sep-20 18:06
By: tim_one

Hmm.  Guido, turns out we're already shipping the debug DLLs for the extension modules!

C:\Python20\DLLs>dir *_d.pyd

 Volume in drive C has no label
 Volume Serial Number is 3459-5C23
 Directory of C:\Python20\DLLs

PARSER_D PYD        65,597  09-07-00  2:42a parser_d.pyd
_SOCKE~1 PYD        53,310  09-07-00  2:41a _socket_d.pyd
_SRE_D   PYD        45,115  09-07-00  2:41a _sre_d.pyd
MMAP_D   PYD        36,923  09-07-00  2:42a mmap_d.pyd
SELECT_D PYD        32,829  09-07-00  2:42a select_d.pyd
UCNHAS~1 PYD       548,926  09-07-00  2:42a ucnhash_d.pyd
UNICOD~2 PYD       733,250  09-07-00  2:42a unicodedata_d.pyd
_WINRE~1 PYD        57,406  09-07-00  2:43a _winreg_d.pyd
WINSOU~1 PYD        28,735  09-07-00  2:43a winsound_d.pyd
_TKINT~1 PYD        53,311  09-07-00  2:42a _tkinter_d.pyd
PYEXPA~1 PYD        45,118  09-07-00  2:42a pyexpat_d.pyd
BSDDB_D  PYD       106,556  09-07-00  2:42a bsddb_d.pyd
ZLIB_D   PYD        86,075  09-07-00  2:43a zlib_d.pyd
        13 file(s)      1,893,151 bytes
         0 dir(s)        2,551.06 MB free


Closing in on 2Mb of fat I can cut out of the installer!

PSKOtron, no, thank you, but I'm not going to build a new installer just so "a couple people" have an easier time.  That isn't cruelty <wink>, it's that thousands of people are waiting for more important things and my time (like yours) is limited.  If someone wants to contribute such an installer, cool.  Else the best I can manage is a no-time approach, such as putting all the _d files into a .zip file at release points and uploading that to an FTP site.

For detailed info, follow this link: