Update the list of interpreters used and the current one.

def set_custom_interpreters_list(self, value):
        """Update the list of interpreters used and the current one."""
        custom_list = self.get_option('custom_interpreters_list')
        if value not in custom_list and value != get_python_executable():
            custom_list.append(value)
            self.set_option('custom_interpreters_list', custom_list)