On Thursday 02 March 2006 1:23 pm, Giovanni Bajo wrote:
> Sundance <[EMAIL PROTECTED]> wrote:
> > 1) Having the Qt namespace as an external module.
>
> Perfect. I'm +1 on this.

I don't see how it helps. You've still got one module changing under your feet 
when you import another.

>
> > 2) Updating QtCore.Qt's _dict_ in the other modules instead of
> > creating a new Qt there.
>
> This would be *very* confusing and very implicit. I'm -1000 on this.

Which is the only way to implement it, which I thought was confusing, which is 
why I split the namespace across modules. And it's still the way you would 
implement the first suggestion - just a different dictionary.

Phil

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

Reply via email to