[PyQt] Bug in QSqlQuery.bindValue() ?

Phil Thompson phil at riverbankcomputing.com
Sat Jun 5 17:08:41 BST 2010


On Thu, 13 May 2010 23:39:02 +0200, Lorenz Quack <don at amberfisharts.com>
wrote:
> Hi,
> 
> I'm experiencing strange behaviour to the point where I suspect a bug in
> PyQt4.
> When I bind a value to a named placeholder in a prepared SqlQuery and
that
> placeholder occures more than once, than not 
> all (only the last?) occurances are bound correctly.
> I'll attach an example demonstrating the problem.
> 
> sincerely yours
> //Lorenz
> 
> PS: PyQt4 version: 4.7.3
>      Python version: 2.6.5
>      Qt verstion: 4.6.2

I think this is a Qt problem as a C++ version behaves in a similar way.

Phil


More information about the PyQt mailing list