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

List:       pykde
Subject:    Re: [PyQt] Segfault instantiating QJsonValue
From:       Phil Thompson <phil () riverbankcomputing ! com>
Date:       2020-03-15 5:53:19
Message-ID: d32e8b283b89aa52d085dd07ed845d6d () riverbankcomputing ! com
[Download RAW message or body]

On 15/03/2020 03:00, Bryce Beagle wrote:
> Hi,
> 
> Creating a QJsonValue using another QJsonValue currently segfaults for 
> me
> in v5.14.1. Here's a quick snippet that reproduces the problem.
> 
> from PyQt5.QtCore import QJsonValue
> 
> # These segfault
> QJsonValue(QJsonValue(5))
> QJsonValue({"test": QJsonValue(5)})
> 
> # These work fine
> QJsonValue(5)
> QJsonValue({"test2": 5})

Should be fixed in the next snapshot.

Thanks,
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