fixed a bug where classes not extending from the Python exception hierarchy could slip through, preparing for 1.0.1 release