[PyQt] Re: PyQt4 and Python 3.0

Phil Thompson phil at riverbankcomputing.com
Tue Oct 7 15:49:17 BST 2008


On Tue, 7 Oct 2008 16:20:13 +0200, Sundance <sundance at ierne.eu.org> wrote:
> You also suggest the 'from PyQt4v2 import QtCore' and 'from PyQt4.v2 
> import QtCore' schemes, in which, if I'm not mistaken, the '4' in PyQt4 
> would now start referring to the Qt version, is that correct?

Yes - as (probably) everybody else already thinks of it.

> If so, 
> the scheme would be functionally equivalent to what I suggested, minus 
> the possibility to support different Qt versions within one PyQt 
> version, which is really no big deal AFAIC. So the only issues left 
> would then be possible ambiguities with the current PyQt4 module's 
> organisation, and, well, aesthetics.
> 
> On that note, please don't go with 'from PyQt4 import QtCore2'. :) If 
> the module's name is QtCore in Qt, it should be QtCore in the bindings 
> as well. Plus I can already foresee namespace clashes with that scheme.

The more I think of QtCore2, the less I like it.

Phil


More information about the PyQt mailing list