add Python 3 support to Pyside