[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: [PyQt] [BUG] error return without exception set
From:       Phil Thompson <phil () riverbankcomputing ! com>
Date:       2015-08-11 17:48:21
Message-ID: 307AA2C6-EC64-4F67-8006-A02622446FBB () riverbankcomputing ! com
[Download RAW message or body]

On 11 Aug 2015, at 7:57 am, Yuya Nishihara <yuya@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
_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic