[Python-checkins] CVS: python/dist/src/Include compile.h,2.31,2.32
Guido van Rossum
gvanrossum@users.sourceforge.net
Sun, 15 Jul 2001 14:08:31 -0700
- Previous message: [Python-checkins] CVS: python/dist/src PLAN.txt,1.1.2.27,1.1.2.28 config.h.in,2.92.2.2,2.92.2.3 configure,1.209.2.2,1.209.2.3 configure.in,1.217.2.2,1.217.2.3 setup.py,1.38.4.1,1.38.4.2
- Next message: [Python-checkins] CVS: python/dist/src/Lib __future__.py,1.6,1.7 inspect.py,1.18,1.19 tokenize.py,1.24,1.25 types.py,1.15,1.16
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/python/python/dist/src/Include
In directory usw-pr-cvs1:/tmp/cvs-serv12021/Include
Modified Files:
compile.h
Log Message:
Preliminary support for "from __future__ import generators" to enable
the yield statement. I figure we have to have this in before I can
release 2.2a1 on Wednesday.
Note: test_generators is currently broken, I'm counting on Tim to fix
this.
Index: compile.h
===================================================================
RCS file: /cvsroot/python/python/dist/src/Include/compile.h,v
retrieving revision 2.31
retrieving revision 2.32
diff -C2 -r2.31 -r2.32
*** compile.h 2001/07/12 12:50:23 2.31
--- compile.h 2001/07/15 21:08:29 2.32
***************
*** 66,69 ****
--- 66,72 ----
#define FUTURE_NESTED_SCOPES "nested_scopes"
+ #define GENERATORS_DEFAULT 0
+ #define FUTURE_GENERATORS "generators"
+
/* for internal use only */
#define _PyCode_GETCODEPTR(co, pp) \
- Previous message: [Python-checkins] CVS: python/dist/src PLAN.txt,1.1.2.27,1.1.2.28 config.h.in,2.92.2.2,2.92.2.3 configure,1.209.2.2,1.209.2.3 configure.in,1.217.2.2,1.217.2.3 setup.py,1.38.4.1,1.38.4.2
- Next message: [Python-checkins] CVS: python/dist/src/Lib __future__.py,1.6,1.7 inspect.py,1.18,1.19 tokenize.py,1.24,1.25 types.py,1.15,1.16
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]