Lichen

Annotated compiler/consts.py

775:c8ba74a474eb
2017-03-25 Paul Boddie Fixed method name.
paul@0 1
# operation flags
paul@0 2
OP_ASSIGN = 'OP_ASSIGN'
paul@0 3
OP_DELETE = 'OP_DELETE'
paul@0 4
OP_APPLY = 'OP_APPLY'
paul@0 5
paul@0 6
SC_LOCAL = 1
paul@0 7
SC_GLOBAL_IMPLICIT = 2
paul@0 8
SC_GLOBAL_EXPLICT = 3
paul@0 9
SC_FREE = 4
paul@0 10
SC_CELL = 5
paul@0 11
SC_UNKNOWN = 6
paul@0 12
paul@0 13
CO_OPTIMIZED = 0x0001
paul@0 14
CO_NEWLOCALS = 0x0002
paul@0 15
CO_VARARGS = 0x0004
paul@0 16
CO_VARKEYWORDS = 0x0008
paul@0 17
CO_NESTED = 0x0010
paul@0 18
CO_GENERATOR = 0x0020
paul@0 19
CO_GENERATOR_ALLOWED = 0
paul@0 20
CO_FUTURE_DIVISION = 0x2000
paul@0 21
CO_FUTURE_ABSIMPORT = 0x4000
paul@0 22
CO_FUTURE_WITH_STATEMENT = 0x8000
paul@0 23
CO_FUTURE_PRINT_FUNCTION = 0x10000