From: Tim Peters Date: Tue, 25 Dec 2001 19:07:38 +0000 (+0000) Subject: SF bug #495548: troublesome #define in pyport.h X-Git-Tag: v2.3c1~6956 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=10a3bb53a868a5f5b08338fc7c3487d955220488;p=python SF bug #495548: troublesome #define in pyport.h Removed the ancient "#define ANY void". Bugfix candidate? Hard call. The bug report claims the existence of this #define creates conflicts with other packages, which is easy to believe. OTOH, some extension authors may still be relying on its presence. I'm afraid you can't win on this one. --- diff --git a/Include/pyport.h b/Include/pyport.h index d1acd8ff6a..5efdf118d6 100644 --- a/Include/pyport.h +++ b/Include/pyport.h @@ -33,7 +33,6 @@ Used in: LONG_LONG /* For backward compatibility only. Obsolete, do not use. */ -#define ANY void #ifdef HAVE_PROTOTYPES #define Py_PROTO(x) x #else diff --git a/Misc/NEWS b/Misc/NEWS index fb9226654f..65ee65b9a0 100644 --- a/Misc/NEWS +++ b/Misc/NEWS @@ -16,6 +16,11 @@ Build C API +- An old #define of ANY as void has been removed from pyport.h. This + hasn't been used since Python's pre-ANSI days, and the #define has + been marked as obsolete since then. SF bug 495548 says it created + conflicts with other packages, so keeping it around wasn't harmless. + - Because Python's magic number scheme broke on January 1st, we decided to stop Python development. Thanks for all the fish!