code: def eval_option_value(self, option):
          
          try:
              value = eval(option, {}, {})
          except (SyntaxError, NameError, TypeError):
              return option
          if type(value) in (str, bool, int, float):
              return value
          elif type(value) in (list, tuple):
              for v in value:
                  if type(v) not in (str, bool, int, float):
                      self._write_error("Value of element of list object has wrong type %s" % v)
              return value
          return option
docs: Evaluates an option
          :param option: a string
          :return: an object of type str, bool, int, float or list