Python 3.2 compatibility, detailed error output