Not sure if this was intended or not (or whether this would qualify as a bug), but the new exceptions OleFileError and NotOleFileError are not listed in the __all__ attribute of olefile.py. As such, they are not part of the top level module and require a user to fetch them directly from olefile.olefile.
Not sure if this was intended or not (or whether this would qualify as a bug), but the new exceptions
OleFileErrorandNotOleFileErrorare not listed in the__all__attribute ofolefile.py. As such, they are not part of the top level module and require a user to fetch them directly fromolefile.olefile.