[MacPorts] #14802: python25 workaround to "Caught a socket error, trying to recover" error