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

error C3861: '_PyArg_ParseTuple_SizeT': identifier not found

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Not Evaluated
    • None
    • 6.8.0.2
    • PySide, Shiboken
    • None
    • Linux/X11, Windows
    • 5d7daaafb (dev), a37a37034 (dev), d37f14b72 (6.8), e72d31f24 (6.8)

    Description

      When I try to migrate my PySide bindings to 6.8.x, the compilation fails with the error message from the summary ('_PyArg_ParseTuple_SizeT': identifier not found).

      I have tried to search the internet for solutions, but I didn't find anything.

      With 6.7.x everything works fine.

      It tried on windows and linux and used python versions 3.9, 3.10 and 3.11 and the compilation error happens everywhere. Maybe I miss a new define to be set or an option for the shiboken code generation?

      Hmm. It seems to be connected to the usage of the Py_LIMITED_API define. Formerly, I was just defining it by passing -DPy_LIMITED_API to the compiler. This doesn't seem to work anymore now. I was trying with -DPy_LIMITED_API=03070000 according to https://docs.cython.org/en/latest/src/userguide/limited_api.html and that compiles, but the compiled python module seems to segfault immediately.

      Attachments

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

        Activity

          People

            crmaurei Cristian Maureira-Fredes
            bdev a dev
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes