[PyKDE] Dumb question

Richie Hindle richie at entrian.com
Sun May 1 15:04:10 BST 2005


[Eron]
> is there any reason that 
> objects such as QApplication and Q*Dialog *need* to have exec() renamed to 
> exec_loop()?

'exec' is a Python keyword, so it can't be used as an identifier:

>>> exec = 2
  File "<stdin>", line 1
    exec = 2
         ^
SyntaxError: invalid syntax

-- 
Richie Hindle
richie at entrian.com




More information about the PyQt mailing list