File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -409,10 +409,6 @@ def _init_posix(vars):
409409 # _sysconfigdata is generated at build time, see _generate_posix_vars()
410410 from _sysconfigdata import build_time_vars
411411 vars .update (build_time_vars )
412- # For backward compatibility, see issue19555
413- SO = build_time_vars .get ('EXT_SUFFIX' )
414- if SO is not None :
415- vars ['SO' ] = SO
416412
417413def _init_non_posix (vars ):
418414 """Initialize the module as appropriate for NT"""
@@ -540,6 +536,10 @@ def get_config_vars(*args):
540536 _init_non_posix (_CONFIG_VARS )
541537 if os .name == 'posix' :
542538 _init_posix (_CONFIG_VARS )
539+ # For backward compatibility, see issue19555
540+ SO = _CONFIG_VARS .get ('EXT_SUFFIX' )
541+ if SO is not None :
542+ _CONFIG_VARS ['SO' ] = SO
543543 # Setting 'userbase' is done below the call to the
544544 # init function to enable using 'get_config_var' in
545545 # the init-function.
You can’t perform that action at this time.
0 commit comments