code: def choose_boundary():
      
      boundary = binascii.hexlify(os.urandom(16))
      if six.PY3:
          boundary = boundary.decode('ascii')
      return boundary
docs: Our embarrassingly-simple replacement for mimetools.choose_boundary.