code: def _make_rewritten_pyc(state, fn, pyc, co):
      
      if sys.platform.startswith("win"):
          # Windows grants exclusive access to open files and doesn't have atomic
          # rename, so just write into the final file.
          _write_pyc(state, co, fn, pyc)
      else:
          # When not on windows, assume rename is atomic. Dump the code object
          # into a file specific to this process and atomically replace it.
          proc_pyc = pyc + "." + str(os.getpid())
          if _write_pyc(state, co, fn, proc_pyc):
              os.rename(proc_pyc, pyc)
docs: Try to dump rewritten code to *pyc*.