class_docstr: A compiler that caches code compiled from interactive statements.
      
class_docstr_tok: ["A","compiler","that","caches","code","compiled","from","interactive","statements","."]
code: def extra_flags(self, flags):
      ## bits that we'll set to 1
      turn_on_bits = ~self.flags & flags
  
      self.flags = self.flags | flags
      try:
          yield
      finally:
          # turn off only the bits we turned on so that something like
          # __future__ that set flags stays.
          self.flags &= ~turn_on_bits
  
imports: import __future__
  from ast import PyCF_ONLY_AST
  import codeop
  import functools
  import hashlib
  import linecache
  import operator
  import time
  from contextlib import contextmanager
label_desc: Use image node_id 8 for calling the CachingCompiler obj's underlying member method code with example usage: obj.extra_flags(flags) without return types