mirror of
https://github.com/python/cpython.git
synced 2025-09-26 10:19:53 +00:00
Update distutils so that it triggers no warnings when run under -3.
This commit is contained in:
parent
94f243aa41
commit
047e4a915d
4 changed files with 10 additions and 9 deletions
|
@ -679,7 +679,7 @@ class build_ext (Command):
|
|||
so_ext = get_config_var('SO')
|
||||
if os.name == 'nt' and self.debug:
|
||||
return apply(os.path.join, ext_path) + '_d' + so_ext
|
||||
return apply(os.path.join, ext_path) + so_ext
|
||||
return os.path.join(*ext_path) + so_ext
|
||||
|
||||
def get_export_symbols (self, ext):
|
||||
"""Return the list of symbols that a shared extension has to
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue