From 95c0b269de14f56a5b5d8fd0b57871b373b4b100 Mon Sep 17 00:00:00 2001 From: Greg Ward Date: Fri, 31 Mar 2000 03:52:16 +0000 Subject: [PATCH] Don't perpetrate the "_d" hack for naming debugging extensions -- that's now done in the 'build_ext' command. --- Lib/distutils/msvccompiler.py | 4 ---- 1 file changed, 4 deletions(-) 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 -- 2.40.0