mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
Merge from 3.2 (#9302 fix and other changes)
This commit is contained in:
commit
8d9dcd185c
3 changed files with 38 additions and 33 deletions
|
@ -20,9 +20,8 @@ from distutils.tests import support
|
|||
|
||||
|
||||
def _make_ext_name(modname):
|
||||
if os.name == 'nt':
|
||||
if sys.executable.endswith('_d.exe'):
|
||||
modname += '_d'
|
||||
if os.name == 'nt' and sys.executable.endswith('_d.exe'):
|
||||
modname += '_d'
|
||||
return modname + sysconfig.get_config_var('SO')
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue