Commits

Anonymous committed 827ff21

[svn r79558] #7092: Fix some -3 warnings, and fix Lib/platform.py when the path contains a double-quote.

Comments (0)

Files changed (2)

Lib/distutils/command/build_ext.py

 
 # This module should be kept compatible with Python 2.1.
 
-__revision__ = "$Id: build_ext.py 78666 2010-03-05 00:16:02Z tarek.ziade $"
+__revision__ = "$Id: build_ext.py 79558 2010-04-01 18:17:09Z florent.xicluna $"
 
 import sys, os, string, re
 from types import *
         # extensions in debug_mode are named 'module_d.pyd' under windows
         so_ext = get_config_var('SO')
         if os.name == 'nt' and self.debug:
-            return apply(os.path.join, ext_path) + '_d' + so_ext
+            return os.path.join(*ext_path) + '_d' + so_ext
         return os.path.join(*ext_path) + so_ext
 
     def get_export_symbols (self, ext):

Lib/distutils/util.py

 one of the other *util.py modules.
 """
 
-__revision__ = "$Id: util.py 78757 2010-03-07 12:14:25Z florent.xicluna $"
+__revision__ = "$Id: util.py 79558 2010-04-01 18:17:09Z florent.xicluna $"
 
 import sys, os, string, re
 from distutils.errors import DistutilsPlatformError
         paths.remove('.')
     if not paths:
         return os.curdir
-    return apply(os.path.join, paths)
+    return os.path.join(*paths)
 
 # convert_path ()