Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 299897

Summary: dev-python/python-xlib-0.15_rc1 has debug output
Product: Gentoo Linux Reporter: Mike Kazantsev <mk.fraggod>
Component: Current packagesAssignee: Python Gentoo Team <python>
Status: RESOLVED FIXED    
Severity: normal CC: mgorny
Priority: High Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Patch to remove the unnecessary output

Description Mike Kazantsev 2010-01-06 15:07:21 UTC
dev-python/python-xlib-0.15_rc1 has "print" in ext.randr.init method that's completely uncalled for and was probably left there as a debug statement by a developers.
As a result, it prints an extra line each time the module is initialized (and that actually happens on Display class instantiation).


Reproducible: Always

Steps to Reproduce:
1. emerge python-xlib
2. python -c 'import Xlib.display; Xlib.display.Display()'

Actual Results:  
"Xlib.protocol.request.QueryExtension" gets printed to stdout

Expected Results:  
No extra output
Comment 1 Mike Kazantsev 2010-01-06 15:08:56 UTC
Created attachment 215396 [details, diff]
Patch to remove the unnecessary output
Comment 2 Martini peres 2012-03-05 12:08:27 UTC
This comment has been removed because it contained spam. -- idl0r
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2018-04-20 21:07:22 UTC
Seems fixed in the current version (0.23).