[Python-checkins] CVS: python/dist/src/Tools/compiler/compiler consts.py,1.3,1.4

Jeremy Hylton jhylton@users.sourceforge.net
Fri, 14 Sep 2001 15:44:37 -0700


Update of /cvsroot/python/python/dist/src/Tools/compiler/compiler
In directory usw-pr-cvs1:/tmp/cvs-serv23038

Modified Files:
	consts.py 
Log Message:
the new new doesn't define CO_xxx as the old new did


Index: consts.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Tools/compiler/compiler/consts.py,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** consts.py	2001/08/30 20:25:54	1.3
--- consts.py	2001/09/14 22:44:35	1.4
***************
*** 1,3 ****
- from new import * # import all the CO_xxx flags
  del classobj, code, function, instance, instancemethod, module
  
--- 1,2 ----
***************
*** 12,13 ****
--- 11,21 ----
  SC_CELL = 4
  SC_UNKNOWN = 5
+ 
+ CO_OPTIMIZED = 0x0001
+ CO_NEWLOCALS = 0x0002
+ CO_VARARGS = 0x0004
+ CO_VARKEYWORDS = 0x0008
+ CO_NESTED = 0x0010
+ CO_GENERATOR = 0x0020
+ CO_GENERATOR_ALLOWED = 0x1000
+ CO_FUTURE_DIVISION = 0x2000