On Mon, 22 Aug 2011 20:00:31 +0200, Carl Wolff
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 = PyQt4.QtGui.QPushButton(mai
t-boun...@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 P
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")
button.se