[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: Re: [PyKDE] Re: QString in PyQt4 - Request for Comments
From: Sundance <sundance () ierne ! eu ! org>
Date: 2005-10-19 22:37:28
Message-ID: 200510200037.28759.sundance () ierne ! eu ! org
[Download RAW message or body]
I heard Michael Thompson said:
> No, the goal should be to work away at making QString interacted with
> str/unicode more invisibly/naturally - where possible.
Yeah, I'd sort of second that.
The 'pythonic' way is pretty much duck typing, I think, in this sort of
situation. How difficult would it be to wrap QString in a class that
would also implement all that str (or unicode) does? Possibly by
wrapping QString methods, in fact, for performance. That way, you get
something that looks like a str, acts like a str, smells like a str,
and really is a QString under the hood. Grooviness.
That'd make me Happy(tm).
(And just so I know, how far up my butt have I stuck my head there?)
Ta ta,
-- S.
_______________________________________________
PyKDE mailing list PyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic