Details
Description
>>> from PySide2.QtCore import QByteArray, QDataStream, QIODevice
>>> a = QByteArray()
>>> b = QDataStream(a, QIODevice.WriteOnly)
>>> b.writeUInt16(5000)
>>> a
Here the Python interpreter crashes.
>>> from PySide2.QtCore import QByteArray, QDataStream, QIODevice
>>> a = QByteArray()
>>> b = QDataStream(a, QIODevice.WriteOnly)
>>> b.writeUInt16(5000)
>>> a
Here the Python interpreter crashes.