Menu

#38 xrandr init spews to stdout on any Xlib.display.Display()

None
closed
nobody
None
5
2014-08-22
2013-01-13
Mark Eichin
No

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...)

Discussion

  • Mike Meyer

    Mike Meyer - 2013-01-13
    • status: open --> closed
    • milestone: -->
     
  • Mike Meyer

    Mike Meyer - 2013-01-13

    Fixed in svn @139.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.