Set config value with data type transformation (to str)

        :param str section: Section to set config for
        :param str key: Key to set config for
        :param value: Value for key. It can be any primitive type.
        :param str comment: Comment for the key

def set(self, section, key, value, comment=None):
        """
        Set config value with data type transformation (to str)

        :param str section: Section to set config for
        :param str key: Key to set config for
        :param value: Value for key. It can be any primitive type.
        :param str comment: Comment for the key
        """

        self._read_sources()

        if (section, key) in self._dot_keys:
            section, key = self._dot_keys[(section, key)]
        elif section in self._dot_keys:
            section = self._dot_keys[section]

        if not isinstance(value, str):
            value = str(value)

        self._parser.set(section, key, value)

        self._add_dot_key(section, key)
        if comment:
            self._set_comment(section, comment, key)