This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Title: distutils doesn't notice --with-pydebug
Type: Stage:
Components: Library (Lib) Versions: Python 2.5
Status: closed Resolution: accepted
Dependencies: Superseder:
Assigned To: Nosy List: collinwinter, georg.brandl
Priority: normal Keywords:

Created on 2006-07-29 17:45 by collinwinter, last changed 2022-04-11 14:56 by admin. This issue is now closed.

File name Uploaded Description Edit collinwinter, 2006-08-02 17:12 Against r51046
NEWS.diff collinwinter, 2006-08-02 17:13 Against r51046
Messages (3)
msg29374 - (view) Author: Collin Winter (collinwinter) * (Python committer) Date: 2006-07-29 17:45
As it stands (as of r50921), building a C extension
module first with a debug build of Python (built with
--with-pydebug), then with a regular Python build
(without --with-pydebug) does not cause distutils to
recompile the extension module as it should. This leads
to undefined symbol errors at runtime when the module
is loaded.

The attached patch against
Lib/distutils/command/ causes to append '-pydebug' to the
platform-specific directory name  (e.g.,
'linux-i686-2.5') if Python was compiled with
msg29375 - (view) Author: Collin Winter (collinwinter) * (Python committer) Date: 2006-08-02 17:12
Logged In: YES 

I've updated the patch to r51046. Also attached is an entry
for Misc/NEWS.
msg61427 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2008-01-21 17:42
Committed as r60166.
Date User Action Args
2022-04-11 14:56:19adminsetgithub: 43743
2008-01-21 17:42:49georg.brandlsetstatus: open -> closed
resolution: accepted
messages: + msg61427
nosy: + georg.brandl
2006-07-29 17:45:03collinwintercreate