<gh_stars>0
from __future__ import division

# compile() inherits the future flags of the parent module
print 1 / 2
exec "print 1 / 2"
exec compile("print 1 / 2", "<string>", "exec")
# But you can explicitly request that they not be inherited:
# exec compile("print 1 / 2", "<string>", "exec", flags=0, dont_inherit=True)

from __future__ import division

# compile() inherits the future flags of the parent module
print 1 / 2
exec "print 1 / 2"
exec compile("print 1 / 2", "<string>", "exec")
# But you can explicitly request that they not be inherited:
# exec compile("print 1 / 2", "<string>", "exec", flags=0, dont_inherit=True)
# compile() inherits the future flags of the parent module # But you can explicitly request that they not be inherited: # exec compile("print 1 / 2", "<string>", "exec", flags=0, dont_inherit=True)