Re: Segfault instantiating QJsonValue

Phil Thompson <[email protected]>
Newsgroups gmane.comp.python.pyqt-pykde
Message-ID <[email protected]>
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    [email protected]
https://www.riverbankcomputing.com/mailman/listinfo/pyqt
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.