Comment 0 for bug 1161818

Revision history for this message
Julian Taylor (jtaylor) wrote :

in pyqt4 4.10 QTextBlockUserData is broken.
see
http://www.riverbankcomputing.com/pipermail/pyqt/2013-March/032457.html

example in archive
ipython qtconsole
type:
if 1:
  print 1

and you get lots of tracebacks in the terminal:
  File "/usr/lib/python2.7/dist-packages/IPython/frontend/qt/console/pygments_highlighter.py", line 107, in highlightBlock
    self._lexer._saved_state_stack = prev_data.syntax_stack
AttributeError: 'QTextBlockUserData' object has no attribute 'syntax_stack'

it also breaks ninja ide.