[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    [PyQt] PSA: don't use open() in generators in QThreads
From:       Andrew Suffield <asuffield () suffields ! me ! uk>
Date:       2012-04-16 14:20:07
Message-ID: 20120416142007.GA16100 () suffields ! me ! uk
[Download RAW message or body]

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.
_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic