We have a singleton metaclass based on type(QtCore.QObject) in the __call__
method we create a new instance of the class and return it
or, if you want the one-liner version:
the error obtained running this code on Python2 is:
the same one-liner works on Python3, I think it is related to
PYSIDE-816 and heap types.