4.2 Deprecation of String Exceptions
All exceptions built into Python or provided in the standard library are derived from BaseException.
String exceptions are still supported in the interpreter to allow existing code to run unmodified, but this will also change in a future release.
See About this document... for information on suggesting changes.