[PyQt] Bug in QAction?

Vicent Mas uvemas at gmail.com
Thu Apr 7 11:12:48 BST 2011


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?


Vicent
::

	Share what you know, learn what you don't

-------------- next part --------------
A non-text attachment was scrubbed...
Name: test_qaction.py
Type: text/x-python
Size: 252 bytes
Desc: not available
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20110407/1f12b3cb/attachment.py>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20110407/1f12b3cb/attachment.pgp>


More information about the PyQt mailing list