Tornado 6.0 Documentation
subprocess # fixes that behavior. _has_execv = sys.platform != "win32" _watched_files = set() _reload_hooks = [] _reload_attempted = False _io_loops = weakref.WeakKeyDictionary() # type: ignore _autoreload_is_main platform.auto.set_close_exec``) instead of using a reload hook to close them. """ _reload_hooks.append(fn) def _reload_on_update(modify_times: Dict[str, float]) -> None: if _reload_attempted: _reload() -> None: global _reload_attempted _reload_attempted = True for fn in _reload_hooks: fn() if hasattr(signal, "setitimer"): # Clear the alarm signal set by # ioloop0 码力 | 869 页 | 692.83 KB | 1 年前3Tornado 6.1 Documentation
subprocess # fixes that behavior. _has_execv = sys.platform != "win32" _watched_files = set() _reload_hooks = [] _reload_attempted = False _io_loops = weakref.WeakKeyDictionary() # type: ignore _autoreload_is_main `fcntl` or `os.set_inheritable`) instead of using a reload hook to close them. """ _reload_hooks.append(fn) def _reload_on_update(modify_times: Dict[str, float]) -> None: if _reload_attempted: _reload() -> None: global _reload_attempted _reload_attempted = True for fn in _reload_hooks: fn() if hasattr(signal, "setitimer"): # Clear the alarm signal set by # ioloop0 码力 | 931 页 | 708.03 KB | 1 年前3
共 2 条
- 1