[Python-checkins] CVS: python/dist/src Makefile.pre.in,1.29,1.29.2.1
Guido van Rossum
gvanrossum@usw-pr-cvs1.sourceforge.net
Tue, 13 Mar 2001 02:07:44 -0800
- Previous message: [Python-checkins] CVS: python/dist/src/Lib/test test_support.py,1.16,1.17
- Next message: [Python-checkins] CVS: python/dist/src/Include iterobject.h,NONE,1.1.2.1 Python.h,2.31,2.31.2.1 abstract.h,2.28,2.28.2.1 object.h,2.77,2.77.2.1 opcode.h,2.34,2.34.2.1
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/python/python/dist/src
In directory usw-pr-cvs1:/tmp/cvs-serv16532
Modified Files:
Tag: iter-branch
Makefile.pre.in
Log Message:
This is the first iteration of my iterator patches. Don't worry, this
is on a branch (iter-branch), and it may still change.
Caveats:
- It's incomplete: class instances don't support __iter__ yet.
- It's currently using call notation to get the next item from the
iterator; there have been arguments for making this use the next()
method.
- The iter() built-in function is overloaded: iter(x) returns the
iterator from x, iter(func, value) returns an iterator that calls a
function until it returns or raises value. Note: the 'raises' part
is experimental.
- There is no test suite or documentation yet.
Enjoy!
Index: Makefile.pre.in
===================================================================
RCS file: /cvsroot/python/python/dist/src/Makefile.pre.in,v
retrieving revision 1.29
retrieving revision 1.29.2.1
diff -C2 -r1.29 -r1.29.2.1
*** Makefile.pre.in 2001/03/06 05:52:16 1.29
--- Makefile.pre.in 2001/03/13 10:07:40 1.29.2.1
***************
*** 241,244 ****
--- 241,245 ----
Objects/intobject.o \
Objects/listobject.o \
+ Objects/iterobject.o \
Objects/longobject.o \
Objects/dictobject.o \
***************
*** 432,435 ****
--- 433,437 ----
Include/tupleobject.h \
Include/listobject.h \
+ Include/iterobject.h \
Include/dictobject.h \
Include/methodobject.h \
- Previous message: [Python-checkins] CVS: python/dist/src/Lib/test test_support.py,1.16,1.17
- Next message: [Python-checkins] CVS: python/dist/src/Include iterobject.h,NONE,1.1.2.1 Python.h,2.31,2.31.2.1 abstract.h,2.28,2.28.2.1 object.h,2.77,2.77.2.1 opcode.h,2.34,2.34.2.1
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]