[Python-checkins] r69193 - in python/branches/release30-maint: Objects/typeobject.c
mark.dickinson
python-checkins at python.org
Sun Feb 1 21:37:23 CET 2009
Author: mark.dickinson
Date: Sun Feb 1 21:37:23 2009
New Revision: 69193
Log:
Merged revisions 69192 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r69192 | mark.dickinson | 2009-02-01 20:36:08 +0000 (Sun, 01 Feb 2009) | 2 lines
Remove exception for non-NULL tp_compare that was introduced in r69188.
........
Modified:
python/branches/release30-maint/ (props changed)
python/branches/release30-maint/Objects/typeobject.c
Modified: python/branches/release30-maint/Objects/typeobject.c
==============================================================================
--- python/branches/release30-maint/Objects/typeobject.c (original)
+++ python/branches/release30-maint/Objects/typeobject.c Sun Feb 1 21:37:23 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