[Python-checkins] python/dist/src/Include compile.h,2.36,2.37 pythonrun.h,2.48,2.49
tim_one@sourceforge.net
tim_one@sourceforge.net
Thu, 11 Apr 2002 18:20:13 -0700
- Previous message: [Python-checkins] python/nondist/sandbox/ast astmodule.c,NONE,1.1 setup.py,NONE,1.1 .cvsignore,1.1,1.2 Makefile,1.3,1.4 asdl_c.py,1.5,1.6 python.asdl,1.8,1.9
- Next message: [Python-checkins] python/dist/src/Python future.c,2.11,2.12
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/python/python/dist/src/Include
In directory usw-pr-cvs1:/tmp/cvs-serv28086/python/Include
Modified Files:
compile.h pythonrun.h
Log Message:
Removed more hair in support of future-generator stmts.
Index: compile.h
===================================================================
RCS file: /cvsroot/python/python/dist/src/Include/compile.h,v
retrieving revision 2.36
retrieving revision 2.37
diff -C2 -d -r2.36 -r2.37
*** compile.h 13 Dec 2001 19:47:02 -0000 2.36
--- compile.h 12 Apr 2002 01:20:09 -0000 2.37
***************
*** 41,45 ****
effect, this passes on the "from __future__ import generators" state
in effect when the code block was compiled. */
! #define CO_GENERATOR_ALLOWED 0x1000
#define CO_FUTURE_DIVISION 0x2000
--- 41,45 ----
effect, this passes on the "from __future__ import generators" state
in effect when the code block was compiled. */
! #define CO_GENERATOR_ALLOWED 0x1000 /* no longer used in an essential way */
#define CO_FUTURE_DIVISION 0x2000
Index: pythonrun.h
===================================================================
RCS file: /cvsroot/python/python/dist/src/Include/pythonrun.h,v
retrieving revision 2.48
retrieving revision 2.49
diff -C2 -d -r2.48 -r2.49
*** pythonrun.h 31 Aug 2001 17:40:14 -0000 2.48
--- pythonrun.h 12 Apr 2002 01:20:10 -0000 2.49
***************
*** 8,13 ****
#endif
! #define PyCF_MASK (CO_GENERATOR_ALLOWED | CO_FUTURE_DIVISION)
! #define PyCF_MASK_OBSOLETE (CO_NESTED)
typedef struct {
--- 8,13 ----
#endif
! #define PyCF_MASK (CO_FUTURE_DIVISION)
! #define PyCF_MASK_OBSOLETE (CO_GENERATOR_ALLOWED | CO_NESTED)
typedef struct {
- Previous message: [Python-checkins] python/nondist/sandbox/ast astmodule.c,NONE,1.1 setup.py,NONE,1.1 .cvsignore,1.1,1.2 Makefile,1.3,1.4 asdl_c.py,1.5,1.6 python.asdl,1.8,1.9
- Next message: [Python-checkins] python/dist/src/Python future.c,2.11,2.12
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]