Tolerating versions of pyqt that don't offer preferring numbers