diff options
author | Tim Peters <tim.peters@gmail.com> | 2001-12-25 19:07:38 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2001-12-25 19:07:38 (GMT) |
commit | 10a3bb53a868a5f5b08338fc7c3487d955220488 (patch) | |
tree | fceb2e919f0d9301c1422055e8fa81b92c1ac807 | |
parent | 54b11918beda8454dab062498af81754a7034055 (diff) | |
download | cpython-10a3bb53a868a5f5b08338fc7c3487d955220488.zip cpython-10a3bb53a868a5f5b08338fc7c3487d955220488.tar.gz cpython-10a3bb53a868a5f5b08338fc7c3487d955220488.tar.bz2 |
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.
-rw-r--r-- | Include/pyport.h | 1 | ||||
-rw-r--r-- | Misc/NEWS | 5 |
2 files changed, 5 insertions, 1 deletions
diff --git a/Include/pyport.h b/Include/pyport.h index d1acd8f..5efdf11 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 @@ -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! |