Fix frozen exception classes when raised within e.g. contextlib.contextmanager, which mutates their __traceback__ attributes.
contextlib.contextmanager
__traceback__