Wow! Thanks for writing this! I *just* finished a rough port of xpyb to Python 3, and you're right that it's got a lot of issues. https://github.com/BurntSushi/xpyb I also recently ported xpybutil to python3 ... this weekend I'll try it out against xcffib. I note that you filed a WNPP and not an ITP for this. Is there some way that I can help?