FlagMnemonicsDescriptionSource codeFlags
0001hOPTIMIZED?
?
?
0002hNEWLOCALS?
?
?
0004hVARARGSFuncdef has ``"*" identifier''
def f(*a): pass
f: (OPTIMIZED, NEWLOCALS, VARARGS, NOFREE)
0008hVARKEYWORDSFuncdef has ``"**" identifier''
def f(**a): pass
f: (OPTIMIZED, NEWLOCALS, VARKEYWORDS, NOFREE)
0010hNESTEDFunction is nested
def f():
        def g(): pass
f: (OPTIMIZED, NEWLOCALS, NOFREE)
g: (OPTIMIZED, NEWLOCALS, NOFREE, NESTED)
0020hGENERATORFunction is a generator
def f(): yield 1
f: (GENERATOR, OPTIMIZED, NEWLOCALS, NOFREE)
0040hNOFREENo free and cell vars
def f():
	a = 1
	def g(): return a + 1
	return g()
<module>: (NOFREE)
f: (OPTIMIZED, NEWLOCALS)
g: (OPTIMIZED, NEWLOCALS, NESTED)
1000hGENERATOR_ALLOWED?
?
?
2000hFUTURE_DIVISIONFuture division is enabled
from __future__ import division
def f(): pass
<module>: (FUTURE_DIVISION, NOFREE)
f: (OPTIMIZED, NEWLOCALS, FUTURE_DIVISION, NOFREE)
4000hFUTURE_ABSOLUTE_IMPORTFuture absolute import is enabled
from __future__ import absolute_import
<module>: (NOFREE, FUTURE_ABSOLUTE_IMPORT)
8000hFUTURE_WITH_STATEMENTFuture with statement is enabled
from __future__ import with_statement
<module>: (NOFREE, FUTURE_WITH_STATEMENT)