Package: python2.4-dev Version: 2.4.3-8 Severity: minor Tags: patch The subject says it all - the other declaration is found in object.h.
The problem is a bit annoying for us, as we use Python in an environment where we wish to consider warnings as errors to be fixed. Fortunately, the problem is extremely easy to solve - see the attached patch. I suggest that the problem and the solution is forwarded upstream -- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.5-7.244-smp Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Versions of packages python2.4-dev depends on: ii python2.4 2.4.3-8 An interactive high-level object-o python2.4-dev recommends no packages. -- no debconf information -- Peder Chr. Nørgaard Senior System Developer, M. Sc. Ericsson Denmark A/S, Telebit Division Skanderborgvej 232 tel: +45 30 91 84 31 DK-8260 Viby J, Denmark fax: +45 89 38 51 01 e-mail: [EMAIL PROTECTED] (old e-mail 2000-2003: [EMAIL PROTECTED]) (old e-mail 1992-2000: [EMAIL PROTECTED]) ---------------------------------------------------------------- This communication is confidential and intended solely for the addressee(s). Any unauthorized review, use, disclosure or distribution is prohibited. If you believe this message has been sent to you in error, please notify the sender by replying to this transmission and delete the message without disclosing it. Thank you. E-mail including attachments is susceptible to data corruption, interruption, unauthorized amendment, tampering and viruses, and we only send and receive e-mails on the basis that we are not liable for any such corruption, interception, amendment, tampering or viruses or any consequences thereof.
--- python2.4-2.4.3/Include/abstract.h~ 2004-03-12 17:38:17.000000000 +0100 +++ python2.4-2.4.3/Include/abstract.h 2006-09-22 07:42:19.282532734 +0200 @@ -283,9 +283,10 @@ */ + /* Declared elsewhere + PyAPI_FUNC(int) PyCallable_Check(PyObject *o); - /* Determine if the object, o, is callable. Return 1 if the object is callable and 0 otherwise.