[PyQt] [BUG] error return without exception set
Phil Thompson
phil at riverbankcomputing.com
Tue Aug 11 18:48:21 BST 2015
On 11 Aug 2015, at 7:57 am, Yuya Nishihara <yuya at tcha.org> wrote:
>
> 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
Fixed in tonight’s snapshot.
Thanks,
Phil
More information about the PyQt
mailing list