The definition of the __str__() method of ParserSyntaxError at line 32 appears to have a missing "self." before "message".
Patch file attached, against CVS version 1.4 of error.py
Patch to version 1.4 of error.py, missing self.
Patch to version 1.4 of error.py, missing self.