[ python-Bugs-1530959 ] distutils doesn't notice --with-pydebug

SourceForge.net noreply at sourceforge.net
Sat Jul 29 19:45:04 CEST 2006


Bugs item #1530959, was opened at 2006-07-29 13:45
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1530959&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Python Library
Group: Python 2.5
Status: Open
Resolution: None
Priority: 5
Submitted By: Collin Winter (collinwinter)
Assigned to: Nobody/Anonymous (nobody)
Summary: distutils doesn't notice --with-pydebug

Initial Comment:
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/build.py causes
distutils.command.build to append '-pydebug' to the
platform-specific directory name  (e.g.,
'linux-i686-2.5') if Python was compiled with
--with-pydebug.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1530959&group_id=5470


More information about the Python-bugs-list mailing list