Re: [PyQt] SIP and QString

2012-11-20 Thread Luca Beltrame
In data lunedì 19 novembre 2012 18:28:15, Luca Beltrame ha scritto: > It's passing this. It was a SNAFU when I was fixing the build system. I'll > remove that, rebuild and check again. FYI, I have fixed the issue in PyKDE4: the SIP arguments for Python 3 and Python 2 got swapped, causing this iss

Re: [PyQt] SIP and QString

2012-11-19 Thread Luca Beltrame
In data lunedì 19 novembre 2012 17:20:20, Phil Thompson ha scritto: > PyQt sets this to ASCII, so either PyKDE is using %DefaultEncoding to > change the default, or its passing "-x Py_v3" to sip which will set It's passing this. It was a SNAFU when I was fixing the build system. I'll remove that,

Re: [PyQt] SIP and QString

2012-11-19 Thread Phil Thompson
On Sun, 18 Nov 2012 16:36:14 +0100, Luca Beltrame wrote: > Hello, > > while testing PyKDE4's modules with Python3, I noticed that the i18n() > calls, > which accept const char*, are not properly handled in Python 3 (both with > API > version 1 and 2): > > In [2]: from PyKDE4.kdecore import i18

[PyQt] SIP and QString

2012-11-18 Thread Luca Beltrame
Hello, while testing PyKDE4's modules with Python3, I noticed that the i18n() calls, which accept const char*, are not properly handled in Python 3 (both with API version 1 and 2): In [2]: from PyKDE4.kdecore import i18n In [3]: i18n("Test")