Segfault instantiating QJsonValue

Bryce Beagle <[email protected]>
Newsgroups gmane.comp.python.pyqt-pykde
Message-ID <CAKKt4mZTsSdzKmeszbXzMfk545uOQ5o1mucN_vSU6TZQjS4A1w@mail.gmail.com>
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})

Thanks,
Bryce

_______________________________________________
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.