]> granicus.if.org Git - python/commitdiff
Don't perpetrate the "_d" hack for naming debugging extensions -- that's
authorGreg Ward <gward@python.net>
Fri, 31 Mar 2000 03:52:16 +0000 (03:52 +0000)
committerGreg Ward <gward@python.net>
Fri, 31 Mar 2000 03:52:16 +0000 (03:52 +0000)
now done in the 'build_ext' command.

Lib/distutils/msvccompiler.py

index c906e11469091ededfaf50583aad89162b5939af..2828711e7b76bb8adc220788dfdb607c8d2e3229 100644 (file)
@@ -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