python: mention the exception class refactoring in the docs