Phil Thompson <[EMAIL PROTECTED]> wrote:

> Up until recently I had planned (and partially implemented) the idea that
a
> namespace would only appear once and that any objects implemented in other
> modules would be placed in it. In other words...
>
> from PyQt4 import QtCore
> dir(QtCore)
> from PyQt4 import QtGui
> dir(QtCore)
>
> ...would give different output for each dir(). This was a pain to
implement
> and (I thought) more confusing for the user - I'm not saying which of
those
> carried the most weight.


Are you saying that this:

---------------------------
from PyQt4.QtCore import *
from PyQt4.QtGui import *

dir(Qt)
---------------------------

won't show the full Qt namespace, thus making PyQt4 unusable without the
annoying QtCore/QtGui prefix in front of everything?
-- 
Giovanni Bajo

_______________________________________________
PyKDE mailing list    PyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde

Reply via email to