[Python-checkins] CVS: python/nondist/peps pep-0260.txt,1.1,1.2

Guido van Rossum gvanrossum@users.sourceforge.net
Thu, 05 Jul 2001 07:50:58 -0700


Update of /cvsroot/python/python/nondist/peps
In directory usw-pr-cvs1:/tmp/cvs-serv29722

Modified Files:
	pep-0260.txt 
Log Message:
Mention changes to PyRange_New().


Index: pep-0260.txt
===================================================================
RCS file: /cvsroot/python/python/nondist/peps/pep-0260.txt,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** pep-0260.txt	2001/06/26 17:57:11	1.1
--- pep-0260.txt	2001/07/05 14:50:56	1.2
***************
*** 44,58 ****
          x.start, x.stop, x.step attributes
  
      By implementing a custom iterator type, we could speed up the
      common use, but this is optional (the default sequence iterator
      does just fine).
  
-     I expect it will take at most an hour to rip it all out; another
-     hour to reduce the test suite and documentation.
- 
  
  Scope
  
!     This PEP only affects the xrange() built-in function.
  
  
--- 44,59 ----
          x.start, x.stop, x.step attributes
  
+     I also propose to change the signature of the PyRange_New() C API
+     to remove the 4th argument (the repetition count).
+ 
      By implementing a custom iterator type, we could speed up the
      common use, but this is optional (the default sequence iterator
      does just fine).
  
  
  Scope
  
!     This PEP affects the xrange() built-in function and the
!     PyRange_New() C API.