mirror of
https://github.com/python/cpython.git
synced 2025-08-19 00:00:48 +00:00
#7092: Fix some -3 warnings, and fix Lib/platform.py when the path contains a double-quote.
This commit is contained in:
parent
b5023df3d6
commit
8d1da0f5c3
6 changed files with 22 additions and 21 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue