Home
News
Download
Docs
Bugs
unassigned
unresolved
search
Contact
Tasks
Code
Name Password
register
Lost login?
parsing a file lead to a crash (Python 2.5 only) hir@linux:~/test> synopsis -p Python -f HTML g.h terminate called after throwing an instance of 'Synopsis::Python::Object::TypeError' what(): a new-style class can't have only classic bases
It appears with python 2.5 PyErr_NewException creates a 'new-style' class, and thus expects 'object' to figure among the base classes. The fix thus is to derive the 'Error' base class in Synopsis.Processor from an existing python builtin exception class. Fixed with rev:1794.