| Server IP : 54.37.205.81 / Your IP : 216.73.216.76 Web Server : nginx/1.22.1 System : Linux vps-249481fa 6.1.0-50-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.176-1 (2026-07-02) x86_64 User : debian ( 1000) PHP Version : 8.2.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /lib/python3/dist-packages/tornado/__pycache__/ |
Upload File : |
�
��b�0 � � � d Z ddlZddlZddlZddlmZmZ ddlmZm Z ddl
mZ ddlm
Z
mZmZmZmZ ddlZej r
ddlmZmZmZ ed� � Zg d �Z G d
� de� � Z G d� d
e� � Zdede
deej f ddfd�Z G d� dee � � Z G d� dee � � Z G d� de� � Z G d� de� � Z!dS )a� Asynchronous queues for coroutines. These classes are very similar
to those provided in the standard library's `asyncio package
<https://docs.python.org/3/library/asyncio-queue.html>`_.
.. warning::
Unlike the standard library's `queue` module, the classes defined here
are *not* thread-safe. To use these queues from another thread,
use `.IOLoop.add_callback` to transfer control to the `.IOLoop` thread
before calling any queue methods.
� N)�gen�ioloop)�Future�"future_set_result_unless_cancelled)�Event)�Union�TypeVar�Generic� Awaitable�Optional)�Deque�Tuple�Any�_T)�Queue�
PriorityQueue� LifoQueue� QueueFull�
QueueEmptyc � � e Zd ZdZdS )r z:Raised by `.Queue.get_nowait` when the queue has no items.N��__name__�
__module__�__qualname__�__doc__� � �0/usr/lib/python3/dist-packages/tornado/queues.pyr r / s � � � � � �D�D��Dr r c � � e Zd ZdZdS )r zBRaised by `.Queue.put_nowait` when a queue is at its maximum size.Nr r r r r r 5 s � � � � � �L�L��Dr r �future�timeout�returnc � � ��� |rUd� fd�}t j � � � ��� ||� � �� � ��fd�� � d S d S )Nr"