[PyQt] What happend to PyQt5.QtCore.pyqtWrapperType?

Phil Thompson phil at riverbankcomputing.com
Wed Jan 18 22:17:50 GMT 2017

On 18 Jan 2017, at 6:51 pm, Cody Scott <cody at perspexis.com> wrote:
> I'm looking at this code for inspiration on testing QML and I ran into this error.
> https://github.com/pyblish/pyblish-qml/blob/635c82d75fa5d5e294339bf8265f05eb5ca3b5d3/pyblish_qml/models.py#L94
> AttributeError: module 'PyQt5.QtCore' has no attribute 'pyqtWrapperType'
> It doesn't appear to be available in PyQt5==5.7.1
> It is available in PyQt5==5.6

It was an undocumented implementation detail that was removed as part of the adoption of the limited API.

If code wants to get the meta-type used by PyQt then it should call type() on a PyQt type object.


More information about the PyQt mailing list