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
Qt.py checks whether "long" is defined, and if it isn't (for Python 3.x) defines it as "int". The _wrapinstance() function has an assertion to ensure that the 'ptr' parameter passed is of this type. But the assertion message uses a hardcoded '' phrase, so on Python 3 seems to be saying that the parameter should be of the nonexistent "long" type.
Qt.py checks whether "long" is defined, and if it isn't (for Python 3.x) defines it as "int". The _wrapinstance() function has an assertion to ensure that the 'ptr' parameter passed is of this type. But the assertion message uses a hardcoded '' phrase, so on Python 3 seems to be saying that the parameter should be of the nonexistent "long" type.
Qt.py/Qt.py
Line 768 in 54cbcbf
Should this message use something like "long.__name__" instead so it more accurately print "long" on Python 2 and "int" on Python 3?
The text was updated successfully, but these errors were encountered: