[Python-checkins] python/dist/src/Objects object.c,2.213,2.214

bcannon at projects.sourceforge.net bcannon at projects.sourceforge.net
Tue Jan 27 15:17:58 EST 2004


Update of /cvsroot/python/python/dist/src/Objects
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12911/Objects

Modified Files:
	object.c 
Log Message:
Removed two unneeded lines from PyObject_Compare().

Closes bug #885293 (thanks, Josiah Carlson).


Index: object.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Objects/object.c,v
retrieving revision 2.213
retrieving revision 2.214
diff -C2 -d -r2.213 -r2.214
*** object.c	20 Nov 2003 01:44:58 -0000	2.213
--- object.c	27 Jan 2004 20:17:54 -0000	2.214
***************
*** 747,751 ****
  PyObject_Compare(PyObject *v, PyObject *w)
  {
- 	PyTypeObject *vtp;
  	int result;
  
--- 747,750 ----
***************
*** 756,760 ****
  	if (v == w)
  		return 0;
- 	vtp = v->ob_type;
  	if (Py_EnterRecursiveCall(" in cmp"))
  		return -1;
--- 755,758 ----




More information about the Python-checkins mailing list