--- ./Lib/sysconfig/__init__.py_orig 2026-07-13 01:09:12.738710536 -0400 +++ ./Lib/sysconfig/__init__.py 2026-07-13 01:28:39.841811986 -0400 @@ -728,8 +728,9 @@ machine += f".{bitness[sys.maxsize]}" # fall through to standard osname-release-machine representation elif osname[:3] == "aix": - from _aix_support import aix_platform - return aix_platform() + osname = "aix" + bitness = {2147483647:"32", 9223372036854775807:"64"} + return f"{osname}-ppc{bitness[sys.maxsize]}" elif osname[:6] == "cygwin": osname = "cygwin" import re --- ./Tools/c-analyzer/distutils/util.py_orig 2026-07-13 01:29:31.147237301 -0400 +++ ./Tools/c-analyzer/distutils/util.py 2026-07-13 01:30:07.738735032 -0400 @@ -74,8 +74,9 @@ machine += ".%s" % bitness[sys.maxsize] # fall through to standard osname-release-machine representation elif osname[:3] == "aix": - from _aix_support import aix_platform - return aix_platform() + osname = "aix" + bitness = {2147483647:"32", 9223372036854775807:"64"} + return f"{osname}-ppc{bitness[sys.maxsize]}" elif osname[:6] == "cygwin": osname = "cygwin" rel_re = re.compile (r'[\d.]+', re.ASCII)