'Attempt to transform the string value from an ini file into a basic python object
(int, dict, list, unicode string, etc).'

@staticmethod
def _parse_value(v):

    try:
        v = ast.literal_eval(v)
    except ValueError:
        pass
    except SyntaxError:
        pass
    return to_text(v, nonstring='passthru', errors='surrogate_or_strict')
