Remove the __unicode__ method from exceptions. Allows unicode() to be called
commit3c40412d8ad14226498f1fa82995b0d18755979e
authorbrett.cannon <brett.cannon@6015fed2-1504-0410-9fe1-9d1591cc4771>
Sat, 9 Sep 2006 07:11:46 +0000 (9 07:11 +0000)
committerbrett.cannon <brett.cannon@6015fed2-1504-0410-9fe1-9d1591cc4771>
Sat, 9 Sep 2006 07:11:46 +0000 (9 07:11 +0000)
tree7f6ad9b0fe80f6f01bf2df75e7a465f55ea457cb
parent9d6fc7807088fa3bf42a9ac060a629f973f633c4
Remove the __unicode__ method from exceptions.  Allows unicode() to be called
on exception classes.  Would require introducing a tp_unicode slot to make it
work otherwise.

Fixes bug #1551432 and will be backported.

git-svn-id: http://svn.python.org/projects/python/trunk@51837 6015fed2-1504-0410-9fe1-9d1591cc4771
Lib/test/test_exceptions.py
Lib/test/test_pep352.py
Objects/exceptions.c