docs: def make_int(value, missing=-1):
      """Convert string value to long, '' to missing"""
      if isinstance(value, six.string_types):
          if not value.strip():
              return missing
      elif value is None:
          return missing
      return int(value)