[PyQt] [BUG] error return without exception set

Yuya Nishihara yuya at tcha.org
Tue Aug 11 07:57:50 BST 2015


Hello,

I got SystemError by specifying wrong type name:

  >>> from PyQt5.QtCore import QSettings
  >>> qs = QSettings('/tmp/test.conf', QSettings.NativeFormat)
  >>> qs.value('foo', type='WrongType')
  SystemError: error return without exception set

Perhaps, PyErr_SetXxx() is missing somewhere.

  platform: Linux 4.1.0-1-amd64 #1 SMP Debian 4.1.3-1 (2015-08-03) x86_64 GNU/Linux
  version: python-pyqt5 5.4.2+dfsg-1

Regards,


More information about the PyQt mailing list