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

Wrong parameter evaluation crashes in Python 3.11.0b3

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • None
    • 6.2.4
    • Shiboken
    • None
    • 252d8bc9a7 (pyside/pyside-setup/6.3) 2720e01f21 (pyside/pyside-setup/dev) 252d8bc9a7 (pyside/pyside-setup/wip/6.3_pypy) 252d8bc9a7 (pyside/tqtc-pyside-setup/6.3) 2720e01f21 (pyside/tqtc-pyside-setup/dev)

    Description

      There was a `PySequence_Check` in the evaluation of some signature
      function parameter evaluation, with should have been `PyTuple_Check`.

      Due to the new quickening optimization, Python 3.11 changed the parameter handling in a correct way and replaced the argument tuple by a direct single argument of an enum
      type. Since the new PyEnums are also sequences, this results in a crash.

      Attachments

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

        Activity

          People

            kleint Friedemann Kleint
            ctismer Christian Tismer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes