[PyQt] When to and not to pass parent argument to widget constructors

michael h michaelkenth at gmail.com
Fri Apr 25 12:40:41 BST 2014


>
> The main argument against "import *" is namespace pollution. In case
> of (Py)Qt this isn't such a hard argument, since at least everything
> starts with Q* or pyqt*, so clashes are minimized.
>
> Florian
>
>
I'd also add that it breaks tools like pyflakes, which I believe is reason
enough on it's own.

- MH
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20140425/8065be22/attachment.html>


More information about the PyQt mailing list