Branch: refs/heads/master
  Home:   https://github.com/django/django
  Commit: ce1eb320e59b577a600eb84d7f423a1897be3576
      
https://github.com/django/django/commit/ce1eb320e59b577a600eb84d7f423a1897be3576
  Author: Alex Gaynor <[email protected]>
  Date:   2012-10-24 (Wed, 24 Oct 2012)

  Changed paths:
    M django/utils/encoding.py

  Log Message:
  -----------
  Remove a case that is no longer reachable in encodings.py.

This case was originally designed to handle Exception's which didn't gracefully 
support coercing themselves to unicode. However, because it lives in the `else` 
case of `if hasattr(s, '__unicode__'):` we can be sure it's no longer reachable 
in djanog anymore, because since Python 2.5 exception has subclassed object, 
which means Exception objects always have an __unicode__ method.



-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to