On Wed, 16 Sep 2009 20:04:48 +0100, Jeremy Sanders
wrote:
> Hi - for some reason the following code does not produce the
> correct answer after updating PyQt.
>
> On Ubuntu with the PyQt 4.4.4 package the following returns
> 18.0
>
> from PyQt4.QtGui import *
> from PyQt4.QtCore import *
> imp
On Thu, 17 Sep 2009 21:45:41 +0200, Mads Ipsen wrote:
> The following script triggers a segmentation fault:
>
> import sys
> from PyQt4 import QtGui
>
> if __name__ == "__main__":
> app = QtGui.QApplication(sys.argv)
>
> widget = QtGui.QWidget()
> widget.show()
> widget.keyPress
The following script triggers a segmentation fault:
import sys
from PyQt4 import QtGui
if __name__ == "__main__":
app = QtGui.QApplication(sys.argv)
widget = QtGui.QWidget()
widget.show()
widget.keyPressEvent(None)
sys.exit(app.exec_())
I believe it should generate an error.
S
On Thu, 17 Sep 2009, Phil Thompson wrote:
On Thu, 17 Sep 2009 11:39:09 +0100, Mark Summerfield
wrote:
On 2009-09-16, Phil Thompson wrote:
On Wed, 16 Sep 2009 20:04:48 +0100, Jeremy Sanders
wrote:
Hi - for some reason the following code does not produce the
correct answer after updating PyQ
On Thu, 17 Sep 2009 11:39:09 +0100, Mark Summerfield
wrote:
> On 2009-09-16, Phil Thompson wrote:
>> On Wed, 16 Sep 2009 20:04:48 +0100, Jeremy Sanders
>>
>> wrote:
>> > Hi - for some reason the following code does not produce the
>> > correct answer after updating PyQt.
>> >
>> > On Ubuntu with
On 2009-09-16, Phil Thompson wrote:
> On Wed, 16 Sep 2009 20:04:48 +0100, Jeremy Sanders
>
> wrote:
> > Hi - for some reason the following code does not produce the
> > correct answer after updating PyQt.
> >
> > On Ubuntu with the PyQt 4.4.4 package the following returns
> > 18.0
> >
> > from Py