[PyQt] Segfault instantiating QJsonValue

Bryce Beagle bryce.beagle at gmail.com
Sun Mar 15 03:00:41 GMT 2020


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20200314/07348ee5/attachment.htm>


More information about the PyQt mailing list