Package: python2.5
Version: 2.5.1-3
Severity: important
Tags: patch
Hi,
python2.5 currently FTBFS because python doesn't correctly work around
poll() on systems on which it returns an error on invalid FDs, here is a
patch.
Samuel
-- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1,
'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.18-xen
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/bash
Versions of packages python2.5 depends on:
ii libbz2-1.0 1.0.3-7 high-quality block-sorting file co
ii libc6 2.6-2 GNU C Library: Shared libraries
ii libdb4.4 4.4.20-8 Berkeley v4.4 Database Libraries [
ii libncursesw5 5.6+20070716-1 Shared libraries for terminal hand
ii libreadline5 5.2-3 GNU readline and history libraries
ii libsqlite3-0 3.4.1-1 SQLite 3 shared library
ii libssl0.9.8 0.9.8e-5 SSL shared libraries
ii mime-support 3.39-1 MIME files 'mime.types' & 'mailcap
ii python2.5-minimal 2.5.1-3 A minimal subset of the Python lan
python2.5 recommends no packages.
-- no debconf information
--
Samuel
<L> pour moi le seul qui est autorisé à fasciser, c moi :-)
--- python2.5-2.5.1/Modules/selectmodule.c.orig 2007-08-20 19:52:15.550800000
+0200
+++ python2.5-2.5.1/Modules/selectmodule.c 2007-08-20 19:53:20.571839000
+0200
@@ -672,7 +672,7 @@
static PyMethodDef select_methods[] = {
{"select", select_select, METH_VARARGS, select_doc},
-#if defined(HAVE_POLL)
+#if defined(HAVE_POLL) && !defined(HAVE_BROKEN_POLL)
{"poll", select_poll, METH_NOARGS, poll_doc},
#endif /* HAVE_POLL */
{0, 0}, /* sentinel */
@@ -695,7 +695,7 @@
SelectError = PyErr_NewException("select.error", NULL, NULL);
Py_INCREF(SelectError);
PyModule_AddObject(m, "error", SelectError);
-#if defined(HAVE_POLL)
+#if defined(HAVE_POLL) && !defined(HAVE_BROKEN_POLL)
#ifdef __APPLE__
if (select_have_broken_poll()) {