Open
Description
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.
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?
Metadata
Metadata
Assignees
Labels
No labels