But this is legal in 2.2
... pass ...
(<type 'str'>, <class exceptions.Exception at 0x00757700>)
so the issue is more subtle or I'm missing something?
Legal, but not particularly useful. Anyway, I think that "derives from Exception" overrules "derives from str" here, so this should be allowed. Note that currently it creates a new-style class and thus it doesn't work.
--Guido van Rossum (home page: http://www.python.org/%7Eguido/)