def wait_until_shutdown():
  while not _shutting_down:
    try:
      time.sleep(1)
    except __HOLE__:
      # On Windows time.sleep raises IOError when interrupted.
      pass
dataset/ETHPy150Open GoogleCloudPlatform/python-compat-runtime/appengine-compat/exported_appengine_sdk/google/appengine/tools/devappserver2/shutdown.py/wait_until_shutdown