]> granicus.if.org Git - python/commit
Remove the __unicode__ method from exceptions. Allows unicode() to be called
authorBrett Cannon <bcannon@gmail.com>
Sat, 9 Sep 2006 07:11:46 +0000 (07:11 +0000)
committerBrett Cannon <bcannon@gmail.com>
Sat, 9 Sep 2006 07:11:46 +0000 (07:11 +0000)
commitca2ca79d23645eb2ee457f64506d05f232c673c9
tree674299e348769d9b15b109e1434b1398d048fd8b
parentaf57f6065f2131dad699667c11fdc9520a84986b
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.
Lib/test/test_exceptions.py
Lib/test/test_pep352.py
Objects/exceptions.c