From: Greg Ward Date: Fri, 31 Mar 2000 03:52:16 +0000 (+0000) Subject: Don't perpetrate the "_d" hack for naming debugging extensions -- that's X-Git-Tag: v1.6a1~41 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=95c0b269de14f56a5b5d8fd0b57871b373b4b100;p=python Don't perpetrate the "_d" hack for naming debugging extensions -- that's now done in the 'build_ext' command. --- diff --git a/Lib/distutils/msvccompiler.py b/Lib/distutils/msvccompiler.py index c906e11469..2828711e7b 100644 --- a/Lib/distutils/msvccompiler.py +++ b/Lib/distutils/msvccompiler.py @@ -321,10 +321,6 @@ class MSVCCompiler (CCompiler) : if debug: ldflags = self.ldflags_shared_debug - # XXX not sure this belongs here - # extensions in debug_mode are named 'module_d.pyd' - basename, ext = os.path.splitext (output_filename) - output_filename = basename + '_d' + ext else: ldflags = self.ldflags_shared