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

Passing 'doc' parameter to Property causes an Abort

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • None
    • 5.14.0, 5.12.6
    • PySide
    • None
    • Linux/X11, macOS
    • ac17571f1d6ec37612fb565597e744db111e3793 (pyside/pyside-setup/5.14)

    Description

      Passing the `doc` parameter to `PySide2.QtCore.Property` causes an program abort

      from PySide2.QtCore import QObject, Property
      
      print(Property.__doc__)
      
      class Obj(QObject):
          def getp(self): return ""
          prop = Property(str, getp, doc="")  # <- SIGABRT here
      

       
      Tested on macOS (10.14.6) and Linux (Mageia 7) using Python 3.7 and pypi distributed PySide2 wheels.

      Attachments

        For Gerrit Dashboard: PYSIDE-1205
        # Subject Branch Project Status CR V

        Activity

          People

            crmaurei Cristian Maureira-Fredes
            aleserjavec Ales Erjavec
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes