I had the problem that this sequence crashed Python:
from PyQt4.QtCore import (Qt, QString, QTextStream)
> ts = QTextStream(QString())
> ts << u'x'
> > Segmentation fault
>
Phil properly reminded me that,
> You need to keep a reference to the QString.
>
And I thought, oh crap,
I was experimenting to see if I could make an in-memory QTextStream and
discovered instead an easy way to make Python 2.7.3 segfault:
[08:23] python
Python 2.7.3 (v2.7.3:70274d53c1dd, Apr 9 2012, 20:52:43)
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
Type "help", "copyright", "credits" o