summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2008-01-13 15:04:05 (GMT)
committerGeorg Brandl <georg@python.org>2008-01-13 15:04:05 (GMT)
commitd1c131a6e30f7777fe65f6b4fa910150f647b5f5 (patch)
treecb5266bfedc3e74ced5c3ff928b7845c033ba4c5 /Include
parent9e0f116fac93be51b78551e96d9cd8b4e94b369d (diff)
downloadcpython-d1c131a6e30f7777fe65f6b4fa910150f647b5f5.zip
cpython-d1c131a6e30f7777fe65f6b4fa910150f647b5f5.tar.gz
cpython-d1c131a6e30f7777fe65f6b4fa910150f647b5f5.tar.bz2
Back out r59931 - test_ctypes fails with it.
Diffstat (limited to 'Include')
-rw-r--r--Include/object.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/Include/object.h b/Include/object.h
index 7294158..b434a21 100644
--- a/Include/object.h
+++ b/Include/object.h
@@ -345,9 +345,6 @@ typedef struct _typeobject {
PyObject *tp_weaklist;
destructor tp_del;
- /* Type attribute cache version tag. Added in version 2.6 */
- unsigned int tp_version_tag;
-
#ifdef COUNT_ALLOCS
/* these must be last and never explicitly initialized */
Py_ssize_t tp_allocs;
@@ -532,10 +529,6 @@ given type object has a specified feature.
/* Objects support nb_index in PyNumberMethods */
#define Py_TPFLAGS_HAVE_INDEX (1L<<17)
-/* Objects support type attribute cache */
-#define Py_TPFLAGS_HAVE_VERSION_TAG (1L<<18)
-#define Py_TPFLAGS_VALID_VERSION_TAG (1L<<19)
-
/* These flags are used to determine if a type is a subclass. */
#define Py_TPFLAGS_INT_SUBCLASS (1L<<23)
#define Py_TPFLAGS_LONG_SUBCLASS (1L<<24)
@@ -557,7 +550,6 @@ given type object has a specified feature.
Py_TPFLAGS_HAVE_CLASS | \
Py_TPFLAGS_HAVE_STACKLESS_EXTENSION | \
Py_TPFLAGS_HAVE_INDEX | \
- Py_TPFLAGS_HAVE_VERSION_TAG | \
0)
#define PyType_HasFeature(t,f) (((t)->tp_flags & (f)) != 0)