Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 299897 - dev-python/python-xlib-0.15_rc1 has debug output
Summary: dev-python/python-xlib-0.15_rc1 has debug output
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2010-01-06 15:07 UTC by Mike Kazantsev
Modified: 2018-04-20 21:07 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch to remove the unnecessary output (python-xlib-0.15_rc1-nodebug.patch,505 bytes, patch)
2010-01-06 15:08 UTC, Mike Kazantsev
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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).