[Python-checkins] CVS: python/dist/src/Python bltinmodule.c,2.215,2.216

Thomas Wouters twouters@users.sourceforge.net
Mon, 09 Jul 2001 05:30:56 -0700


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

Modified Files:
	bltinmodule.c 
Log Message:

Re-add 'advanced' xrange features, adding DeprecationWarnings as discussed
on python-dev. The features will still vanish, however, just one release
later.



Index: bltinmodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Python/bltinmodule.c,v
retrieving revision 2.215
retrieving revision 2.216
diff -C2 -r2.215 -r2.216
*** bltinmodule.c	2001/07/05 14:44:41	2.215
--- bltinmodule.c	2001/07/09 12:30:54	2.216
***************
*** 1764,1768 ****
  		return NULL;
  	}
! 	return PyRange_New(ilow, n, istep);
  }
  
--- 1764,1768 ----
  		return NULL;
  	}
! 	return PyRange_New(ilow, n, istep, 1);
  }