Just tried this, and it does not work. you end up appending the same pushbutton into the array, rather than an instance of the qpushbutton. This has got me curious
// C++ col = new QColor(); col = new QColor(); # Python col = QtGui.QColor() col = QtGui.QColor()