1 On Solaris pyconfig.h is delivered in the normal python header directory.
2 As this is Solaris-specific, it is not suitable for upstream.
4 --- Python-3.9.0/Lib/distutils/sysconfig.py
5 +++ Python-3.9.0/Lib/distutils/sysconfig.py
6 @@ -251,7 +251,7 @@ def get_config_h_filename():
8 inc_dir = _sys_home or project_base
10 - inc_dir = get_python_inc(plat_specific=1)
11 + inc_dir = get_python_inc(plat_specific=0)
13 return os.path.join(inc_dir, 'pyconfig.h')