[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: Re: PyQt 5.15.1: Signals are unhashable
From: Ben Greiner <code-pyqt () bnavigator ! de>
Date: 2020-09-26 12:54:24
Message-ID: f1d236d7-96c2-0c95-0b18-1ce3d01884d2 () bnavigator ! de
[Download RAW message or body]
Hi,
I think the typedef for the old Python versions is backwards. See
attached patch.
Cheers,
Ben
["pyqt5-hashable-typedef.patch" (text/x-patch)]
diff -ur PyQt5-5.15.2.dev2009241214.o/qpy/QtCore/qpycore_pyqtboundsignal.cpp \
PyQt5-5.15.2.dev2009241214/qpy/QtCore/qpycore_pyqtboundsignal.cpp
--- PyQt5-5.15.2.dev2009241214.o/qpy/QtCore/qpycore_pyqtboundsignal.cpp 2020-09-25 \
01:30:55.634441000 +0200
+++ PyQt5-5.15.2.dev2009241214/qpy/QtCore/qpycore_pyqtboundsignal.cpp 2020-09-26 \
14:00:59.155919732 +0200 @@ -43,7 +43,7 @@
#endif
#if PY_VERSION_HEX < 0x03020000
-typedef Py_hash_t long;
+typedef long Py_hash_t;
#endif
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic