old_contents: import sys
  
  PY2 = sys.version_info[0] == 2
  
  
  if not PY2:
      string_types = (str, unicode)
      integer_types = (int,)
      long = int
      import builtins
  else:
      str_types = (str,)
      integer_types = (int, long)
      long = long
      import __builtin__ as builtins
  
new_contents: import sys
  
  PY2 = sys.version_info[0] == 2
  
  
  if not PY2:
      string_types = (str, unicode)
      integer_types = (int,)
      long = int
      import builtins
  else:
      string_types = (str,)
      integer_types = (int, long)
      long = long
      import __builtin__ as builtins
  
subject: fix typo in _compat