def _toVersionTuple(versionString):
  """Split a version string like "10.5.0.2345" into a tuple (10, 5, 0, 2345).
  """
  return tuple((int(part) if part.isdigit() else part)
               for part in versionString.split("."))