parameters: (self)
docstring: Run the server forever
docstring_summary: Run the server forever
docstring_tokens: Run the server forever
function: def serve_forever(self):
          '''
          Run the server forever
          '''
          current_process()._manager_server = self
          try:
              try:
                  while 1:
                      try:
                          c = self.listener.accept()
                      except (OSError, IOError):
                          continue
                      t = threading.Thread(target=self.handle_request, args=(c,))
                      t.daemon = True
                      t.start()
              except (KeyboardInterrupt, SystemExit):
                  pass
          finally:
              self.stop = 999
              self.listener.close()
function_tokens: def serve_forever ( self ) : current_process ( ) . _manager_server = self try : try : while 1 : try : c = self . listener . accept ( ) except ( OSError , IOError ) : continue t = threading . Thread ( target = self . handle_request , args = ( c , ) ) t . daemon = True t . start ( ) except ( KeyboardInterrupt , SystemExit ) : pass finally : self . stop = 999 self . listener . close ( )