Файловый менеджер - Редактировать - /opt/imh-python/lib/python3.9/site-packages/tornado/__pycache__/autoreload.cpython-39.pyc
Ðазад
a _�h�6 � @ s� d Z ddlZddlZedkr:ejd ej�t�kr:ejd= ddlZddlZddlZddl Z ddlZddl Z ddlZddlZddl Z ddlmZ ddlmZ ddlmZ ddlmZ zddlZW n ey� dZY n0 ddlZddlmZmZ ej�r dd lmZmZmZ ejd kZe � Z!g Z"da#e �$� Z%da&da'da(d$e)dd �dd�Z*dd�dd�Z+e,dd�dd�Z-eg df dd�dd�Z.ee,e/f dd�dd�Z0ee,e/f e,dd�dd�Z1dd�dd �Z2d!Z3dd�d"d#�Z4edk�r�e4� dS )%a7 Automatically restart the server when a source file is modified. Most applications should not access this module directly. Instead, pass the keyword argument ``autoreload=True`` to the `tornado.web.Application` constructor (or ``debug=True``, which enables this setting and several others). This will enable autoreload mode as well as checking for changes to templates and static resources. Note that restarting is a destructive operation and any requests in progress will be aborted when the process restarts. (If you want to disable autoreload while using other debug-mode features, pass both ``debug=True`` and ``autoreload=False``). This module can also be used as a command-line wrapper around scripts such as unit test runners. See the `main` method for details. The command-line wrapper and Application debug modes can be used together. This combination is encouraged as the wrapper catches syntax errors and other import-time failures, while debug mode catches changes once the server has started. This module will not work correctly when `.HTTPServer`'s multi-process mode is used. Reloading loses any Python interpreter command-line arguments (e.g. ``-u``) because it re-executes Python using ``sys.executable`` and ``sys.argv``. Additionally, modifying these variables will cause reloading to behave incorrectly. � N�__main__)�ioloop)�gen_log)�process)�exec_in)�Callable�Dict)�List�Optional�Union�win32F�� )� check_time�returnc C s\ t j�� }|tv rdS dt|<