          exc = WrappedAttributeError(str(info[1]))
          six.reraise(type(exc), exc, info[2])
  
  
  class Empty(object):
      """
      Placeholder for unset attributes.
      Cannot use `None`, as that may be a valid value.
      """
      pass
 
</s> remove         six.reraise(type(exc), exc, info[2])
 </s> add         raise exc.with_traceback(info[2]) </s> remove             six.reraise(type(exc), exc, sys.exc_info()[2])
 </s> add             raise exc.with_traceback(sys.exc_info()[2]) </s> remove             six.reraise(type(exc), exc, sys.exc_info()[2])
 </s> add             raise exc.with_traceback(sys.exc_info()[2]) </s> remove class Hyperlink(six.text_type):
 </s> add class Hyperlink(str): </s> remove         ret = six.text_type.__new__(self, url)
 </s> add         ret = str.__new__(self, url)
class Empty:
          exc = WrappedAttributeError(str(info[1]))
          six.reraise(type(exc), exc, info[2])
  
  
class Empty:
      """
      Placeholder for unset attributes.
      Cannot use `None`, as that may be a valid value.
      """
      pass
keep keep keep keep replace keep keep keep keep keep
 Dropped Python 2 compatibility. (#6615)

Thanks to Jon Dufresne (@jdufresne) for review.

Co-authored-by: Asif Saif Uddin <auvipy@gmail.com>
Co-authored-by: Rizwan Mansuri <Rizwan@webbyfox.com> 
rest_framework/request.py