Python: New exception messages