[cfe-dev] Python 3 support for clang.cindex

Jonathan Coe via cfe-dev cfe-dev at lists.llvm.org
Thu Oct 27 09:14:31 PDT 2016


I'm working on getting the clang python bindings working with Python 3.

I have many things working but would like to find a nice way to get utf-8
byte strings converted to and from unicode (which Python 3 uses) without
adding lots of code.

I think that adding a c_utf8_p type to ctypes might make this relatively
unintrusive but I'm not sure if this approach is sound to start with.

Any advice much appreciated!

regards,

Jon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20161027/f47cc573/attachment.html>


More information about the cfe-dev mailing list