--disable-python should be implied when --disable-shared
because Python cannot work without shared libraries. The test suite may appear to work, but that is because it is using a (probably older) system installation of the libraries...
because Python cannot work without shared libraries. The test suite may appear to work, but that is because it is using a (probably older) system installation of the libraries...