[Python-checkins] CVS: python/dist/src/PCbuild pythoncore.dsp,1.9,1.9.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/Objects iterobject.c,NONE,1.1.2.1 abstract.c,2.57,2.57.2.1
- Next message: [Python-checkins] CVS: python/dist/src/Python bltinmodule.c,2.194,2.194.2.1 ceval.c,2.230,2.230.2.1 compile.c,2.186,2.186.2.1
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/python/python/dist/src/PCbuild
In directory usw-pr-cvs1:/tmp/cvs-serv16532/PCbuild
Modified Files:
Tag: iter-branch
pythoncore.dsp
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: pythoncore.dsp
===================================================================
RCS file: /cvsroot/python/python/dist/src/PCbuild/pythoncore.dsp,v
retrieving revision 1.9
retrieving revision 1.9.2.1
diff -C2 -r1.9 -r1.9.2.1
*** pythoncore.dsp 2001/03/01 02:43:40 1.9
--- pythoncore.dsp 2001/03/13 10:07:42 1.9.2.1
***************
*** 969,972 ****
--- 969,987 ----
# Begin Source File
+ SOURCE=..\Objects\iterobject.c
+
+ !IF "$(CFG)" == "pythoncore - Win32 Release"
+
+ !ELSEIF "$(CFG)" == "pythoncore - Win32 Debug"
+
+ !ELSEIF "$(CFG)" == "pythoncore - Win32 Alpha Debug"
+
+ !ELSEIF "$(CFG)" == "pythoncore - Win32 Alpha Release"
+
+ !ENDIF
+
+ # End Source File
+ # Begin Source File
+
SOURCE=..\Parser\listnode.c
- Previous message: [Python-checkins] CVS: python/dist/src/Objects iterobject.c,NONE,1.1.2.1 abstract.c,2.57,2.57.2.1
- Next message: [Python-checkins] CVS: python/dist/src/Python bltinmodule.c,2.194,2.194.2.1 ceval.c,2.230,2.230.2.1 compile.c,2.186,2.186.2.1
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]