Uploaded image for project: 'Qt for Python'
  1. Qt for Python
  2. PYSIDE-232

Crash with QDataStream and QByteArray

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 1.2.0, dev
    • Fix Version/s: dev
    • Component/s: PySide
    • Labels:
    • Environment:
      Windows 8.1 64bit
      Python 3.4.0 (v3.4.0:04f714765c13, Mar 16 2014, 19:25:23) [MSC v.1600 64 bit (AMD64)] on win32
    • Commits:
      ee8e7117c79f6820cb228e0f0da522ce7d3c1dce

      Description

      >>> from PySide2.QtCore import QByteArray, QDataStream, QIODevice
      >>> a = QByteArray()
      >>> b = QDataStream(a, QIODevice.WriteOnly)
      >>> b.writeUInt16(5000)
      >>> a

      Here the Python interpreter crashes.

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            crmaurei Cristian Maureira-Fredes
            Reporter:
            cartman İsmail Dönmez
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes