Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 204700 - Consider adding patch for signal.set_wakeup_fd to dev-lang/python-2.5*
Summary: Consider adding patch for signal.set_wakeup_fd to dev-lang/python-2.5*
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Python Gentoo Team
URL: http://bugs.python.org/issue1583
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-07 01:19 UTC by Mart Raudsepp
Modified: 2008-01-07 17:42 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mart Raudsepp gentoo-dev 2008-01-07 01:19:36 UTC
Hello,

Please consider including the patch for signal.set_wakeup_fd and PySignal_SetWakeupFd(fd) into dev-lang/python-2.5*, so that pygobject and pygtk can work without draining your laptop battery out of juice today, instead of in months when python2.6 is released.
Once/if this is included, newest pygobject and pygtk will detect the presence of the new Python C API via configure and use it to not wakeup every 100ms'ish for no real reason.

Upstream bug here with pointer to commit to python trunk:
http://bugs.python.org/issue1583

pygtk upstream suggestion to include this in distributions today:
http://blogs.gnome.org/johan/2008/01/04/enough-wakeups-in-python-programs/

GNOME upstream bug for solving the power draining/wakeup problem in combination with PySignal_SetWakeupFd:
http://bugzilla.gnome.org/show_bug.cgi?id=481569

Thank you for your consideration
Comment 1 Ali Polatel (RETIRED) gentoo-dev 2008-01-07 17:42:43 UTC
Our patchset for python-2.5.1-r5 includes this. Thanks for reporting ;)