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

List:       pykde
Subject:    Re: [PyQt] Segfault bug report
From:       Phil Thompson <phil () riverbankcomputing ! com>
Date:       2016-02-17 17:22:25
Message-ID: 6F8CADB7-96BC-484C-AD4B-E48904412B92 () riverbankcomputing ! com
[Download RAW message or body]

On 17 Feb 2016, at 10:17 am, Antony Lee <antony.lee@berkeley.edu> wrote:
> 
> The following segfaults under Python 3.5.1/PyQt 5.5.1 (after picking a choice in the QInputDialog):
> 
> from PyQt5.QtWidgets import *
> 
> class Main(QMainWindow):
>     def fail(self):
>         QInputDialog.getItem(self, "foo", "bar", ["baz"])
>         raise Exception
> 
> app = QApplication([])
> main = Main()
> main.fail()
> app.exec_()

Works fine for me with current snapshots on OSX.

Phil
_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
https://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