http://python3porting.com/differences.html#standarderror