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

Unknown keyword args on constructors silently ignored

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • 5.15.2
    • 5.14.0, 5.14.2, 5.14.2.1
    • PySide
    • None
    • Linux/X11, Windows
    • b6e57864e5f4d470196f7425c631981de6d1aeb4 (pyside/pyside-setup/dev) d55a0ffb6b7ed154f5971c71b29621b532a394f5 (pyside/pyside-setup/6.0) fca3aada26d4ec3f9431d2983bf7135ecb0cb547 (pyside/tqtc-pyside-setup/5.15) 3d137f7810 (pyside/tqtc-pyside-setup/5.15.5)

    Description

      Several classes, including QColor, QPainter, QImange, QPoint, do not complain when their ctor is called with an unknown keyword argument.

      This is for example annoying for QColor(r,g,b,a, alpha=0), which is accepted by PyQt5, but works differently in PySIde2 (which uses name "a" for alpha).

      Attachments

        Issue Links

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

          Activity

            People

              ctismer Christian Tismer
              yann Yann Dirson
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: