Re: [PyQt] subtle bug in PyQt in combination with Python garbage collector

2011-08-26 Thread Phil Thompson
On Thu, 25 Aug 2011 18:08:17 +0100, Phil Thompson p...@riverbankcomputing.com wrote: On Sat, 13 Aug 2011 10:05:14 -0600, Kovid Goyal ko...@kovidgoyal.net wrote: This bug has been present for a very long time. As a workaround in my projects, I disable the automatic garbage collector and run

Re: [PyQt] subtle bug in PyQt in combination with Python garbage collector

2011-08-25 Thread Phil Thompson
On Sat, 13 Aug 2011 10:05:14 -0600, Kovid Goyal ko...@kovidgoyal.net wrote: This bug has been present for a very long time. As a workaround in my projects, I disable the automatic garbage collector and run garbage collection manually in the GUI thread via QTimer. Here's the code to do that:

Re: [PyQt] subtle bug in PyQt in combination with Python garbage collector

2011-08-24 Thread Adrian Buehlmann
On 2011-08-13 18:05, Kovid Goyal wrote: This bug has been present for a very long time. As a workaround in my projects, I disable the automatic garbage collector and run garbage collection manually in the GUI thread via QTimer. Here's the code to do that: class GarbageCollector(QObject):

Re: [PyQt] subtle bug in PyQt in combination with Python garbage collector

2011-08-13 Thread Kovid Goyal
This bug has been present for a very long time. As a workaround in my projects, I disable the automatic garbage collector and run garbage collection manually in the GUI thread via QTimer. Here's the code to do that: class GarbageCollector(QObject): ''' Disable automatic garbage