python-2.5.2-1.fc10 includes a patch titled python-2.5.2-set_wakeup_fd4.patch which came from http://bugs.python.org/issue1583
However, the final patch on that bug (and the one that is included in F10) is not the version that went upstream. The version that went upstream adds a C API. I'm attaching the final version, which should replace the current patch.
This is needed to decrease wakeups in PyGTK programs:
[sidenote, PyGTK also needs fixing, which I'm working on at http://bugzilla.gnome.org/show_bug.cgi?id=481569 )
First step is to fix Python though. Please commit the updated patch, or let me know that it's OK for me to do so.
Created attachment 326003 [details]
It doesn't break the existing API, so I've applied it in cvs.
Can this now be closed?