[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    [PyQt] join() can't handle a QString
From:       Christoph Burgmer <chrislb () gmx ! de>
Date:       2008-06-23 23:19:01
Message-ID: 200806240119.01965.chrislb () gmx ! de
[Download RAW message or body]

QString is pretty much well integrated as much as I understand. I can 
write "print QString('foo')" or "len(QString('bar'))". It will always be cast 
to the str type (btw, why not to unicode?).

Seeing today that the following wouldn't work makes me ask if that was 
forgotten or if there is a story behing it:

>>> ''.join([QString('foobar')])
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: sequence item 0: expected string, QString found

Chris
_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic