code: def get_compiler_flags(self):
          
          flags = 0
  
          for value in self.get_globals().values():
              if isinstance(value, __future__._Feature):
                  flags |= value.compiler_flag
  
          return flags
docs: Give the current compiler flags by looking for _Feature instances
          in the globals.