  """
  
  from django.core.cache import cache
  from djangorestframework import status
  from djangorestframework.response import ErrorResponse
  import time
  
  __all__ = (
      'BasePermission',
      'FullAnonAccess',
 
</s> remove from djangorestframework.response import Response, ErrorResponse
 </s> add from djangorestframework.response import Response, ImmediateResponse </s> remove from djangorestframework.response import ErrorResponse
 </s> add from djangorestframework.response import ImmediateResponse </s> remove from djangorestframework.response import ErrorResponse
 </s> add from djangorestframework.response import ImmediateResponse </s> remove __all__ = ('Response', 'ErrorResponse')
 </s> add __all__ = ('Response', 'ImmediateResponse') </s> remove from djangorestframework.response import Response, ErrorResponse
 </s> add from djangorestframework.response import Response, ImmediateResponse
from djangorestframework.response import ImmediateResponse
  """
  
  from django.core.cache import cache
  from djangorestframework import status
from djangorestframework.response import ImmediateResponse
  import time
  
  __all__ = (
      'BasePermission',
      'FullAnonAccess',
keep keep keep keep replace keep keep keep keep keep
 cleaned a bit Response/ResponseMixin code, added some documentation + renamed ErrorResponse to ImmediateResponse 
djangorestframework/permissions.py