0.15rc1 (from the tarball) still has this leftover debugging wart:
python-xlib-0.15rc1/Xlib/ext/randr.py
def init(disp, info):
print info.__class__
This means that any app prints
Xlib.protocol.request.QueryExtension
on startup. Aside from being noisy, it prevents my xtoolwait clone from supporting -pid, because that needs to output only the pid, and not unrelated text.
(Actually ran into this in Ubuntu Precise, python-xlib 0.14+20091101-1 but it's been around for ages, I just hadn't gotten around to complaining...)
Fixed in svn @139.