Synopsis - Issue Tracker

Bug123 Editing

Title doesn't work with Python 2.5
Created on 2007-01-24.21:57:27 by anonymous, last changed 2007-01-29.14:48:05 by stefan.
assigned to stefan priority normal
type crash severity normal
components general platform GNU/Linux
status closed resolution fixed
depends on superseded by
Add Comment:
File
CC List:? anonymous, jsrinivasa, stefan

Messages
Author: anonymous Date: 2007-01-24.21:57:25
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
Author: stefan Date: 2007-01-29.14:48:02
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.
History
Date User Action Args
2007-01-24 21:57:30anonymouscreate
2007-01-29 14:48:13stefansetstatus: new
assignedto: (no value)
resolution: (no value)
messages: + msg605
nosy: + stefan