          else:
              # To transmit to the database, we need Unicode if supported
              # To get size right, we must consider bytes.
              self.force_bytes = force_text(param, cursor.charset, strings_only)
              if isinstance(self.force_bytes, six.string_types):
                  # We could optimize by only converting up to 4000 bytes here
                  string_size = len(force_bytes(param, cursor.charset, strings_only))
          if hasattr(param, 'input_size'):
              # If parameter has `input_size` attribute, use that.
              self.input_size = param.input_size
 
</s> remove             # Class names must be ASCII in Python 2.x, so we forcibly coerce it
            # here to break early if there's a problem.
            to = str(to)
 </s> add  </s> remove             # Note: We use .decode() here, instead of six.text_type(s, encoding,
 </s> add             # Note: We use .decode() here, instead of str(s, encoding, </s> remove                 s = six.text_type(s)
 </s> add                 s = str(s) </s> remove                 s = six.text_type(s, encoding, errors)
 </s> add                 s = str(s, encoding, errors) </s> remove         if isinstance(perm, six.string_types):
 </s> add         if isinstance(perm, str):
            if isinstance(self.force_bytes, str):
          else:
              # To transmit to the database, we need Unicode if supported
              # To get size right, we must consider bytes.
              self.force_bytes = force_text(param, cursor.charset, strings_only)
            if isinstance(self.force_bytes, str):
                  # We could optimize by only converting up to 4000 bytes here
                  string_size = len(force_bytes(param, cursor.charset, strings_only))
          if hasattr(param, 'input_size'):
              # If parameter has `input_size` attribute, use that.
              self.input_size = param.input_size
keep keep keep keep replace keep keep keep keep keep
 Refs #23919 -- Removed six.<various>_types usage

Thanks Tim Graham and Simon Charette for the reviews. 
django/db/backends/oracle/base.py