code: def safe_literal_eval(value):
      first_two = value[:2].lower()
      if first_two[0] == "f" or first_two in ("fr", "rf"):
          # literal_eval is not able to resovle f literals. We have to do that
          # manually, but that's right now not implemented.
          return ""
  
      try:
          return literal_eval(value)
      except SyntaxError:
          # It's possible to create syntax errors with literals like rb'' in
          # Python 2. This should not be possible and in that case just return an
          # empty string.
          # Before Python 3.3 there was a more strict definition in which order
          # you could define literals.
          return ""
  
file_path: catboost/contrib/python/jedi/py2/jedi/parser_utils.py
imports: import re
  import textwrap
  from inspect import cleandoc
  from parso.python import tree
  from parso.cache import parser_cache
  from jedi._compatibility import literal_eval, force_unicode
label_desc: Use image node_id 7 for calling a global function with example usage: safe_literal_eval(value) and returns: str, literal_eval, str