[Python-checkins] CVS: python/dist/src/Include object.h,2.84,2.85

Fred L. Drake fdrake@users.sourceforge.net
Wed, 15 Aug 2001 11:32:35 -0700


Update of /cvsroot/python/python/dist/src/Include
In directory usw-pr-cvs1:/tmp/cvs-serv11518

Modified Files:
	object.h 
Log Message:

Added comments before recently added/assigned slots in the type object,
so the backward compatibility issues will be easier to understand.  I only
added comments indicating additions and assignments back to Python 2.0.


Index: object.h
===================================================================
RCS file: /cvsroot/python/python/dist/src/Include/object.h,v
retrieving revision 2.84
retrieving revision 2.85
diff -C2 -d -r2.84 -r2.85
*** object.h	2001/08/10 17:37:02	2.84
--- object.h	2001/08/15 18:32:33	2.85
***************
*** 151,154 ****
--- 151,155 ----
  	unaryfunc nb_oct;
  	unaryfunc nb_hex;
+ 	/* Added in release 2.0 */
  	binaryfunc nb_inplace_add;
  	binaryfunc nb_inplace_subtract;
***************
*** 163,166 ****
--- 164,168 ----
  	binaryfunc nb_inplace_or;
  
+ 	/* Added in release 2.2 */
  	/* The following require the Py_TPFLAGS_HAVE_CLASS flag */
  	binaryfunc nb_floor_divide;
***************
*** 179,182 ****
--- 181,185 ----
  	intintobjargproc sq_ass_slice;
  	objobjproc sq_contains;
+ 	/* Added in release 2.0 */
  	binaryfunc sq_inplace_concat;
  	intargfunc sq_inplace_repeat;
***************
*** 251,254 ****
--- 254,258 ----
  	char *tp_doc; /* Documentation string */
  
+ 	/* Assigned meaning in release 2.0 */
  	/* call function for all accessible objects */
  	traverseproc tp_traverse;
***************
*** 257,260 ****
--- 261,265 ----
  	inquiry tp_clear;
  
+ 	/* Assigned meaning in release 2.1 */
  	/* rich comparisons */
  	richcmpfunc tp_richcompare;
***************
*** 263,266 ****
--- 268,272 ----
  	long tp_weaklistoffset;
  
+ 	/* Added in release 2.2 */
  	/* Iterators */
  	getiterfunc tp_iter;