[Python-checkins] cpython: remove unused flag (closes #16505)

benjamin.peterson python-checkins at python.org
Mon Nov 19 03:50:06 CET 2012


http://hg.python.org/cpython/rev/cf606c403f14
changeset:   80526:cf606c403f14
parent:      80524:6b74a93a2b8a
user:        Benjamin Peterson <benjamin at python.org>
date:        Sun Nov 18 20:49:39 2012 -0600
summary:
  remove unused flag (closes #16505)

files:
  Include/object.h |  1 -
  Misc/NEWS        |  2 ++
  2 files changed, 2 insertions(+), 1 deletions(-)


diff --git a/Include/object.h b/Include/object.h
--- a/Include/object.h
+++ b/Include/object.h
@@ -632,7 +632,6 @@
 #define Py_TPFLAGS_IS_ABSTRACT (1UL << 20)
 
 /* These flags are used to determine if a type is a subclass. */
-#define Py_TPFLAGS_INT_SUBCLASS         (1UL << 23)
 #define Py_TPFLAGS_LONG_SUBCLASS        (1UL << 24)
 #define Py_TPFLAGS_LIST_SUBCLASS        (1UL << 25)
 #define Py_TPFLAGS_TUPLE_SUBCLASS       (1UL << 26)
diff --git a/Misc/NEWS b/Misc/NEWS
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -10,6 +10,8 @@
 Core and Builtins
 -----------------
 
+- Issue #16505: Remove unused Py_TPFLAGS_INT_SUBCLASS.
+
 - Issue #16306: Fix multiple error messages when unknown command line
   parameters where passed to the interpreter.  Patch by Hieu Nguyen.
 

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list