[Python-checkins] r69192 - python/branches/py3k/Objects/typeobject.c
mark.dickinson
python-checkins at python.org
Sun Feb 1 21:36:08 CET 2009
Author: mark.dickinson
Date: Sun Feb 1 21:36:08 2009
New Revision: 69192
Log:
Remove exception for non-NULL tp_compare that was introduced in r69188.
Modified:
python/branches/py3k/Objects/typeobject.c
Modified: python/branches/py3k/Objects/typeobject.c
==============================================================================
--- python/branches/py3k/Objects/typeobject.c (original)
+++ python/branches/py3k/Objects/typeobject.c Sun Feb 1 21:36:08 2009
@@ -3886,13 +3886,6 @@
goto error;
}
- /* Check reserved slots */
- if (type->tp_compare) {
- PyErr_Format(PyExc_TypeError,
- "type %s has tp_compare",
- type->tp_name);
- }
-
/* All done -- set the ready flag */
assert(type->tp_dict != NULL);
type->tp_flags =
More information about the Python-checkins
mailing list