You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
PyQt6 uses PySequence_Fast() which was removed from the limited C API 3.14 #130947
Can PyQt6 project can add an #ifdef to avoid a conflict? The Py... is supposed to be ours and not for downstream users.
Also, +1 for adding back PySequence_Fast(). I've found it to be pretty useful. Presumably the PyQt maintainers also found it to be so useful that they had to reimplement it.
Activity
vstinner commentedon Mar 7, 2025
Fedora downstream issue: https://bugzilla.redhat.com/show_bug.cgi?id=2345504
pythongh-130947: Add again PySequence_Fast() to the limited C API
rhettinger commentedon Mar 7, 2025
Can PyQt6 project can add an
#ifdefto avoid a conflict? ThePy...is supposed to be ours and not for downstream users.Also, +1 for adding back
PySequence_Fast(). I've found it to be pretty useful. Presumably the PyQt maintainers also found it to be so useful that they had to reimplement it.vstinner commentedon Mar 7, 2025
Which conflict? PyQt6 defines
Sequence_Fast_Size()andSequence_Fast_GetItem()macros: withoutPyprefix.pythongh-130947: Add again PySequence_Fast() to the limited C API
gh-130947: Add again PySequence_Fast() to the limited C API (#130948)
vstinner commentedon Mar 13, 2025
I added back PySequence_Fast() in the limited C API: 10cbd1f.
pythongh-130947: Add again PySequence_Fast() to the limited C API (py…