[PyQt] Bug in QAction?

Phil Thompson phil at riverbankcomputing.com
Fri Apr 8 13:26:10 BST 2011


On Thu, 7 Apr 2011 12:12:48 +0200, Vicent Mas <uvemas at gmail.com> wrote:
> Hi,
> 
> I'm trying PyQt-x11-gpl-snapshot-4.8.4-8641ecc135b3 on a debian testing
> box 
> with Python2.7 and virtualenv-1.5.1. Running the attached script raises
> the 
> following error:
> 
> (venv2.7)vmas at rachael:/tmp$ Traceback (most recent call last):
>   File "test_qaction.py", line 9, in <module>
>     shortcut=QtGui.QKeySequence.New)
> TypeError: keyword arguments are not supported
> 
> As far as I know the support of keyword arguments has not been dropped
so
> I 
> suppose it is a bug. Am I right or am I missing something?

Fixed in tonight's SIP snapshot.

Thanks,
Phil


More information about the PyQt mailing list