Compensating for python3.3 difference in error reporting