--- /org/python/compiler/Module.java Tue Dec 5 23:58:46 2006 +++ Module.java Mon Jan 15 16:47:03 2007 @@ -530,6 +530,10 @@ code.moreflags |= org.python.core.PyTableCode.CO_FUTUREDIVISION; } } + if(futures.areDivisionOn()) + code.moreflags |= org.python.core.PyTableCode.CO_FUTUREDIVISION; + if(futures.areGeneratorsAllowed()) + code.moreflags |= org.python.core.PyTableCode.CO_GENERATOR_ALLOWED; code.module = this; code.name = code.fname;