This revision fixes python3 detection when you still have python-3.5 or python-3.6 installed but have set a newer python version in PYTHON_SINGLE_TARGET.
x86 done
amd64 done
ppc64 done
ppc done
arm done
arm64 done
sparc stable. Last arch, closing.