Re: [PyQt] Leak found in PyQt version 4.8.5-1 / 4.8.5 win32 build

2011-08-25 Thread Phil Thompson
On Mon, 22 Aug 2011 20:00:31 +0200, Carl Wolff carl.wo...@imtech.nl wrote: Hello, the following piece of code leaks: import PyQt4.QtGui import PyQt4.QtCore import time app = PyQt4.QtGui.QApplication([]) mainWindow = PyQt4.QtGui.QMainWindow() while True: button =

[PyQt] Leak found in PyQt version 4.8.5-1 / 4.8.5 win32 build

2011-08-22 Thread Carl Wolff
Hello, the following piece of code leaks: import PyQt4.QtGui import PyQt4.QtCore import time app = PyQt4.QtGui.QApplication([]) mainWindow = PyQt4.QtGui.QMainWindow() while True: button = PyQt4.QtGui.QPushButton(mainWindow) button.parent().findChild(PyQt4.QtCore.QObject, foo)

Re: [PyQt] Leak found in PyQt version 4.8.5-1 / 4.8.5 win32 build

2011-08-22 Thread Carl Wolff
...@riverbankcomputing.com 22-08-2011 20:02 To pyqt@riverbankcomputing.com cc Subject [PyQt] Leak found in PyQt version 4.8.5-1 / 4.8.5 win32 build Hello, the following piece of code leaks: import PyQt4.QtGui import PyQt4.QtCore import time app = PyQt4.QtGui.QApplication