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

This commit is contained in:
Florent Xicluna 2010-04-01 18:17:09 +00:00
parent b5023df3d6
commit 8d1da0f5c3
6 changed files with 22 additions and 21 deletions

View file

@ -676,7 +676,7 @@ class build_ext (Command):
# 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):