On Oct 3, 2008, at 2:15 PM, Paul A. Giannaros wrote:
On Fri, Oct 3, 2008 at 5:08 PM, Mark Summerfield <[EMAIL PROTECTED]> wrote:
On 2008-10-03, Phil Thompson wrote:
On Fri, 3 Oct 2008 17:11:19 +0200, Detlev Offenbach
Here's my personal "wish list" for Python 3/PyQt4 (including those that
Phil is going to do as he says above):

- No QString, only str, plus some static functions for things that str
 doesn't provide, e.g., QString.simplified(s : str) -> str
- No QByteArray, only bytes (or bytearray)
- No QVariant, only object
- Guarantee that "from PyQt4.QtGui import *" and similar will only
 import objects whose name begins with capital Q.

That'd be cool. An alternative that I think would be even better
would be to provide a "Qt" namespace as per QtRuby and drop the
Q prefix from the classes, so Qt.Application, Qt.Widget, &c.
That'd dodge the ugly namespace pollution while not causing
much more typing.

While we're all chiming in, I'd like to add a vote for PEP8[0] package and module naming. For example:

The main package:
    PyQt4 -> pyqt4

And modules:
    Qt -> qt
    QtGui -> qtgui
    QtCore -> qtcore
    etc.

~ Daniel


[0] See the section labeled 'Package and Module Names' of http:// www.python.org/dev/peps/pep-0008/

_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to