[PyQt] PSA: don't use open() in generators in QThreads
Andrew Suffield
asuffield at suffields.me.uk
Mon Apr 16 15:20:07 BST 2012
http://bugs.python.org/issue14432
Looks like python will crash if you do any of the operations affected
by restricted execution (create file objects, meddle with __dict__,
etc) from a generator that was created in an older iteration of the
event loop.
The main python thread should be safe, since its thread state doesn't
get shredded regularly.
More information about the PyQt
mailing list