[prev in list] [next in list] [prev in thread] [next in thread]
List: kwrite-devel
Subject: Re: Review Request: Tidy up Python 3 support.
From: Luca Beltrame <einar () heavensinferno ! net>
Date: 2012-11-21 22:43:50
Message-ID: 1590702.UKsrrs8E1x () leon ! lan
[Download RAW message or body]
[Attachment #2 (multipart/signed)]
In data mercoledì 21 novembre 2012 21:44:30, Shaheed Haque ha scritto:
> fix that? The code around it is the same for 3.2 and 3.3, so if you
> can get it to build on 3.3, that would be a start.
I managed to get it to build if I used PyUnicode_AS_DATA rather than 1_BYTE
etc. to get the string which is then passed to QString:
http://docs.python.org/3.2/c-api/unicode.html#PyUnicode_AS_DATA
--
Luca Beltrame - KDE Forums team
KDE Science supporter
GPG key ID: 6E1A4E79
["signature.asc" (application/pgp-signature)]
_______________________________________________
KWrite-Devel mailing list
KWrite-Devel@kde.org
https://mail.kde.org/mailman/listinfo/kwrite-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic