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

Typing : allow QByteArray to convert to bytes

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • P4: Low
    • None
    • None
    • Type hints
    • None

    Description

      Reported from PySide6-stubs

      Example of failing code : https://github.com/python-qt-tools/PySide6-stubs/blob/main/tests/qbytearray.py

      QByteArray typing does not indicate that QByteArray can be converted to bytes

      It also misses the constructor QByteArray(int, string)

       

      Attachments

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

        Activity

          People

            ctismer Christian Tismer
            bluebird75 Philippe Fremy
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes