code: def get_sys_info():
      "Returns system information as a dict"
  
      blob = []
  
      # commit = cc._git_hash
      # blob.append(('commit', commit))
  
      try:
          (sysname, nodename, release, version,
           machine, processor) = platform.uname()
          blob.extend([
              ("python", "%d.%d.%d.%s.%s" % sys.version_info[:]),
              ("python-bits", struct.calcsize("P") * 8),
              ("OS", "%s" % (sysname)),
              ("OS-release", "%s" % (release)),
              # ("Version", "%s" % (version)),
              ("machine", "%s" % (machine)),
              ("processor", "%s" % (processor)),
              # ("byteorder", "%s" % sys.byteorder),
              ("LC_ALL", "%s" % os.environ.get('LC_ALL', "None")),
              ("LANG", "%s" % os.environ.get('LANG', "None")),
              ("LOCALE", "%s.%s" % locale.getlocale()),
          ])
      except Exception:
          pass
  
      return blof get_sys_info():
      "Returns system information as a dict"
  
      blob = []
  
      # commit = cc._git_hash
      # blob.append(('commit', commit))
  
      try:
          (sysname, nodename, release, version,
           machine, processor) = platform.uname()
          blob.extend([
              ("python", "%d.%d.%d.%s.%s" % sys.version_info[:]),
              ("python-bits", struct.calcsize("P") * 8),
              ("OS", "%s" % (sysname)),
              ("OS-release", "%s" % (release)),
              # ("Version", "%s" % (version)),
              ("machine", "%s" % (machine)),
              ("processor", "%s" % (processor)),
              # ("byteorder", "%s" % sys.byteorder),
              ("LC_ALL", "%s" % os.environ.get('LC_ALL', "None")),
              ("LANG", "%s" % os.environ.get('LANG', "None")),
              ("LOCALE", "%s.%s" % locale.getlocale()),
          ])
      except Exception:
          pass
  
      return blob
docs: Returns system information as a dict