+
    G8
kÀ�  ã                  ó^  € R t ^ RIHt ^ RIt^ RIt^ RIt^ RIt^ RIt^ RI	t	^ RI
t
^ RIt^ RIt^ RIt^ RIt^ RIt^ RIHtHt ^ RIHt ^ RIHtHtHtHt ^ RIHtHtHtHtHt ^ RIH t  ^ RI!H"t"H#t#H$t$  ! R	 R
]4      t%]! R4      t&]! R]%R7      t' ! R R]"4      t( ! R R4      t) ! R R4      t*R# )a©  An I/O event loop for non-blocking sockets.

In Tornado 6.0, `.IOLoop` is a wrapper around the `asyncio` event loop, with a
slightly different interface. The `.IOLoop` interface is now provided primarily
for backwards compatibility; new code should generally use the `asyncio` event
loop interface directly. The `IOLoop.current` class method provides the
`IOLoop` instance corresponding to the running `asyncio` event loop.

)ÚannotationsN)Ú	AwaitableÚCallable)Úisawaitable)ÚAnyÚProtocolÚ	TypedDictÚTypeVar)ÚFutureÚchain_futureÚfuture_add_done_callbackÚfuture_set_exc_infoÚ	is_future)Úapp_log)ÚConfigurableÚTimeoutErrorÚimport_objectc                  ó.   € ] tR t^;tR R ltR R ltRtR# )Ú_Selectablec               ó   € V ^8„  d   QhRR/# )é   ÚreturnÚint© )Úformats   "Ú…/opt/data/installs/351f81cc06284494/environments/aa258815729c481f8402f54f4c368f83/venv/lib/python3.14/site-packages/tornado/ioloop.pyÚ__annotate__Ú_Selectable.__annotate__<   s   € ÷ ñ ˜ñ ó    c                	ó   € R # ©Nr   ©Úselfs   &r   ÚfilenoÚ_Selectable.fileno<   ó   € Ùr   c               ó   € V ^8„  d   QhRR/# ©r   r   ÚNoner   )r   s   "r   r   r   ?   s   € ÷ ñ �tñ r   c                	ó   € R # r    r   r!   s   &r   ÚcloseÚ_Selectable.close?   r%   r   r   N)Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__r#   r*   Ú__static_attributes__r   r   r   r   r   ;   s   † õ÷ñ r   r   Ú_TÚ_S)Úboundc                  óD  a € ] tR t^Gt$ Rt^ t^t^t^t]	! 4       t
R]R&   ]! 4       tR]R&   ]R V 3R ll4       t]R R	 l4       tR
 R lt]R R l4       t]P*                  ]R R l4       4       t]P*                  ]RYR R ll4       4       t]RYR R ll4       tR R ltR R lt]R R l4       t]R R l4       tR R lt]R R l4       t]R  R! l4       tRYR" R# lltRZR$ R% llt]P*                  R& R' l4       t ]P*                  R( R) l4       t R* R+ lt R, R- lt!R. R/ lt"R0 R1 lt#R2 R3 lt$R[R4 R5 llt%R6 R7 lt&R8 R9 lt'R: R; lt(R< R= lt)R> R? lt*R@ RA lt+RB RC lt,RD RE lt-RF RG lt.RH RI lt/RJ RK lt0RL RM lt1RN RO lt2RP RQ lt3RR RS lt4RT RU lt5RV RW lt6RXt7V ;t8# )\ÚIOLoopað
  An I/O event loop.

As of Tornado 6.0, `IOLoop` is a wrapper around the `asyncio` event loop.

Example usage for a simple TCP server:

.. testcode::

    import asyncio
    import errno
    import functools
    import socket

    import tornado
    from tornado.iostream import IOStream

    async def handle_connection(connection, address):
        stream = IOStream(connection)
        message = await stream.read_until_close()
        print("message from client:", message.decode().strip())

    def connection_ready(sock, fd, events):
        while True:
            try:
                connection, address = sock.accept()
            except BlockingIOError:
                return
            connection.setblocking(0)
            io_loop = tornado.ioloop.IOLoop.current()
            io_loop.spawn_callback(handle_connection, connection, address)

    async def main():
        sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM, 0)
        sock.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1)
        sock.setblocking(0)
        sock.bind(("", 8888))
        sock.listen(128)

        io_loop = tornado.ioloop.IOLoop.current()
        callback = functools.partial(connection_ready, sock)
        io_loop.add_handler(sock.fileno(), callback, io_loop.READ)
        await asyncio.Event().wait()

    if __name__ == "__main__":
        asyncio.run(main())

Most applications should not attempt to construct an `IOLoop` directly,
and instead initialize the `asyncio` event loop and use `IOLoop.current()`.
In some cases, such as in test frameworks when initializing an `IOLoop`
to be run in a secondary thread, it may be appropriate to construct
an `IOLoop` with ``IOLoop(make_current=False)``.

In general, an `IOLoop` cannot survive a fork or be shared across processes
in any way. When multiple processes are being used, each process should
create its own `IOLoop`, which also implies that any objects which depend on
the `IOLoop` (such as `.AsyncHTTPClient`) must also be created in the child
processes. As a guideline, anything that starts processes (including the
`tornado.process` and `multiprocessing` modules) should do so as early as
possible, ideally the first thing the application does after loading its
configuration, and *before* any calls to `.IOLoop.start` or `asyncio.run`.

.. versionchanged:: 4.2
   Added the ``make_current`` keyword argument to the `IOLoop`
   constructor.

.. versionchanged:: 5.0

   Uses the `asyncio` event loop by default. The ``IOLoop.configure`` method
   cannot be used on Python 3 except to redundantly specify the `asyncio`
   event loop.

.. versionchanged:: 6.3
   ``make_current=True`` is now the default when creating an IOLoop -
   previously the default was to make the event loop current if there wasn't
   already a current one.
z'dict[asyncio.AbstractEventLoop, IOLoop]Ú_ioloop_for_asynciozset[Future]Ú_pending_tasksc               ó$   € V ^8„  d   QhRRRRRR/# )r   ÚimplzNone | str | type[Configurable]Úkwargsr   r   r(   r   )r   s   "r   r   ÚIOLoop.__annotate__«   s#   € ÷ *ñ *Ð<ð *Èð *ÐPTñ *r   c                	óÜ   <€ ^ RI Hp \        V\        4      '       d   \	        V4      p\        V\
        4      '       d   \        W4      '       g   \        R4      h\        SV `$  ! V3/ VB  R# )é    )ÚBaseAsyncIOLoopz5only AsyncIOLoop is allowed when asyncio is availableN)
Útornado.platform.asyncior>   Ú
isinstanceÚstrr   ÚtypeÚ
issubclassÚRuntimeErrorÚsuperÚ	configure)Úclsr9   r:   r>   Ú	__class__s   &&, €r   rF   ÚIOLoop.configureª   sR   ø€ å<ä�dœC× Ò Ü  Ó&ˆDÜ�dœD×!Ò!¬*°T×*KÒ*KÜÐVÓWÐWÜ‰Ò˜$Ñ) &Ô)r   c               ó   € V ^8„  d   QhRR/# ©r   r   r5   r   )r   s   "r   r   r;   µ   s   € ÷  ñ  �fñ  r   c                 ó*   € \         P                  4       # )aÛ  Deprecated alias for `IOLoop.current()`.

.. versionchanged:: 5.0

   Previously, this method returned a global singleton
   `IOLoop`, in contrast with the per-thread `IOLoop` returned
   by `current()`. In nearly all cases the two were the same
   (when they differed, it was generally used from non-Tornado
   threads to communicate back to the main thread's `IOLoop`).
   This distinction is not present in `asyncio`, so in order
   to facilitate integration with that package `instance()`
   was changed to be an alias to `current()`. Applications
   using the cross-thread communications aspect of
   `instance()` should instead set their own global variable
   to point to the `IOLoop` they want to use.

.. deprecated:: 5.0
)r5   Úcurrentr   r   r   ÚinstanceÚIOLoop.instance´   s   € ô( �~‰~ÓÐr   c               ó   € V ^8„  d   QhRR/# r'   r   )r   s   "r   r   r;   Ê   s   € ÷ ñ ˜ñ r   c                ó&   € V P                  4        R# )a(  Deprecated alias for `make_current()`.

.. versionchanged:: 5.0

   Previously, this method would set this `IOLoop` as the
   global singleton used by `IOLoop.instance()`. Now that
   `instance()` is an alias for `current()`, `install()`
   is an alias for `make_current()`.

.. deprecated:: 5.0
N)Úmake_currentr!   s   &r   ÚinstallÚIOLoop.installÊ   s   € ð 	×ÑÖr   c               ó   € V ^8„  d   QhRR/# r'   r   )r   s   "r   r   r;   Ù   s   € ÷ ñ ˜Dñ r   c                 ó.   € \         P                  4        R# )a3  Deprecated alias for `clear_current()`.

.. versionchanged:: 5.0

   Previously, this method would clear the `IOLoop` used as
   the global singleton by `IOLoop.instance()`. Now that
   `instance()` is an alias for `current()`,
   `clear_instance()` is an alias for `clear_current()`.

.. deprecated:: 5.0

N)r5   Úclear_currentr   r   r   Úclear_instanceÚIOLoop.clear_instanceØ   s   € ô 	×ÑÖr   c               ó   € V ^8„  d   QhRR/# rK   r   )r   s   "r   r   r;   ê   s   € ÷ ñ �Vñ r   c                 	ó   € R # r    r   r   r   r   rM   ÚIOLoop.currentè   ó   € ñ 	r   c               ó    € V ^8„  d   QhRRRR/# ©r   rN   Úboolr   zIOLoop | Noner   )r   s   "r   r   r;   ï   s   € ÷ ñ ˜$ð ¨-ñ r   c                	ó   € R # r    r   ©rN   s   &r   rM   r\   í   r]   r   c               ó    € V ^8„  d   QhRRRR/# r_   r   )r   s   "r   r   r;   ó   s   € ÷ *ñ *˜$ð *¨-ñ *r   c                óD  €  \         P                  ! 4       p \
        P                  V,          #   \         d:    T '       g    R# \         P                  ! 4       p\         P                  ! T4        L[i ; i  \         d    T '       d   ^ RIH	p T! 4       p T# Rp T# i ; i)a«  Returns the current thread's `IOLoop`.

If an `IOLoop` is currently running or has been marked as
current by `make_current`, returns that instance.  If there is
no current `IOLoop` and ``instance`` is true, creates one.

.. versionchanged:: 4.1
   Added ``instance`` argument to control the fallback to
   `IOLoop.instance()`.
.. versionchanged:: 5.0
   On Python 3, control of the current `IOLoop` is delegated
   to `asyncio`, with this and other methods as pass-through accessors.
   The ``instance`` argument now controls whether an `IOLoop`
   is created automatically when there is none, instead of
   whether we fall back to `IOLoop.instance()` (which is now
   an alias for this method). ``instance=False`` is deprecated,
   since even if we do not create an `IOLoop`, this method
   may initialize the asyncio loop.

.. deprecated:: 6.2
   It is deprecated to call ``IOLoop.current()`` when no `asyncio`
   event loop is running.
N)ÚAsyncIOMainLoop)
ÚasyncioÚget_event_looprD   Únew_event_loopÚset_event_loopr5   r6   ÚKeyErrorr?   re   )rN   Úloopre   rM   s   &   r   rM   r\   ò   s�   € ð2	)Ü×)Ò)Ó+ˆDð	Ü×-Ñ-¨dÕ3Ð3øô ô 	)ßÚä×)Ò)Ó+ˆDÜ×"Ò" 4Ö(ð	)ûô ô 	ßÝDá)8Ó):‘ð ˆð ‘Øˆð	ús2   ‚/ ˜A6 ¯A3Á+A3Á2A3Á6BÂ	BÂBÂBc               ó   € V ^8„  d   QhRR/# r'   r   )r   s   "r   r   r;     s   € ÷ ñ ˜dñ r   c                ó`   € \         P                  ! R\        ^R7       V P                  4        R# )aƒ  Makes this the `IOLoop` for the current thread.

An `IOLoop` automatically becomes current for its thread
when it is started, but it is sometimes useful to call
`make_current` explicitly before starting the `IOLoop`,
so that code run at startup time can find the right
instance.

.. versionchanged:: 4.1
   An `IOLoop` created while there is no current `IOLoop`
   will automatically become current.

.. versionchanged:: 5.0
   This method also sets the current `asyncio` event loop.

.. deprecated:: 6.2
   Setting and clearing the current event loop through Tornado is
   deprecated. Use ``asyncio.set_event_loop`` instead if you need this.
z6make_current is deprecated; start the event loop first©Ú
stacklevelN)ÚwarningsÚwarnÚDeprecationWarningÚ_make_currentr!   s   &r   rR   ÚIOLoop.make_current  s'   € ô( 	�ŠØDÜØõ	
ð
 	×ÑÖr   c               ó   € V ^8„  d   QhRR/# r'   r   )r   s   "r   r   r;   :  s   € ÷ $ñ $˜tñ $r   c                	ó   € \        4       hr    ©ÚNotImplementedErrorr!   s   &r   rs   ÚIOLoop._make_current:  s   € ä!Ó#Ð#r   c               ó   € V ^8„  d   QhRR/# r'   r   )r   s   "r   r   r;   ?  s   € ÷  ñ  ˜4ñ  r   c                 óh   € \         P                  ! R\        ^R7       \        P	                  4        R# )z×Clears the `IOLoop` for the current thread.

Intended primarily for use by test frameworks in between tests.

.. versionchanged:: 5.0
   This method also clears the current `asyncio` event loop.
.. deprecated:: 6.2
zclear_current is deprecatedrn   N)rp   rq   rr   r5   Ú_clear_currentr   r   r   rW   ÚIOLoop.clear_current>  s'   € ô 	�ŠØ)ÜØõ	
ô
 	×ÑÖr   c               ó   € V ^8„  d   QhRR/# r'   r   )r   s   "r   r   r;   P  s   € ÷ &ñ &˜Dñ &r   c                 	ó^   € \         P                  R R7      p V e   V P                  4        R# R# )Frb   N)r5   rM   Ú_clear_current_hook)Úolds    r   r|   ÚIOLoop._clear_currentO  s(   € ä�n‰n eˆnÓ,ˆØŠ?Ø×#Ñ#Ö%ñ r   c               ó   € V ^8„  d   QhRR/# r'   r   )r   s   "r   r   r;   U  s   € ÷ ñ  Tñ r   c                ó   € R# )zInstance method called when an IOLoop ceases to be current.

May be overridden by subclasses as a counterpart to make_current.
Nr   r!   s   &r   r€   ÚIOLoop._clear_current_hookU  s   € ñ
 	r   c               ó   € V ^8„  d   QhRR/# ©r   r   ztype[Configurable]r   )r   s   "r   r   r;   ]  s   € ÷ ñ Ð"4ñ r   c                	ó   € \         # r    )r5   )rG   s   &r   Úconfigurable_baseÚIOLoop.configurable_base\  s   € äˆr   c               ó   € V ^8„  d   QhRR/# r‡   r   )r   s   "r   r   r;   a  s   € ÷ ñ Ð%7ñ r   c                	ó   € ^ RI Hp V# )r=   )ÚAsyncIOLoop)r?   r�   )rG   r�   s   & r   Úconfigurable_defaultÚIOLoop.configurable_default`  s   € å8àÐr   c               ó    € V ^8„  d   QhRRRR/# )r   rR   r`   r   r(   r   )r   s   "r   r   r;   f  s   € ÷ !ñ ! tð !°tñ !r   c                	ó:   € V'       d   V P                  4        R # R # r    )rs   )r"   rR   s   &&r   Ú
initializeÚIOLoop.initializef  s   € ßØ×ÑÖ ñ r   c               ó    € V ^8„  d   QhRRRR/# )r   Úall_fdsr`   r   r(   r   )r   s   "r   r   r;   j  s   € ÷ $ñ $˜Tð $¨dñ $r   c                ó   € \        4       h)a  Closes the `IOLoop`, freeing any resources used.

If ``all_fds`` is true, all file descriptors registered on the
IOLoop will be closed (not just the ones created by the
`IOLoop` itself).

Many applications will only use a single `IOLoop` that runs for the
entire lifetime of the process.  In that case closing the `IOLoop`
is not necessary since everything will be cleaned up when the
process exits.  `IOLoop.close` is provided mainly for scenarios
such as unit tests, which create and destroy a large number of
``IOLoops``.

An `IOLoop` must be completely stopped before it can be closed.  This
means that `IOLoop.stop()` must be called *and* `IOLoop.start()` must
be allowed to return before attempting to call `IOLoop.close()`.
Therefore the call to `close` will usually appear just after
the call to `start` rather than near the call to `stop`.

.. versionchanged:: 3.1
   If the `IOLoop` implementation supports non-integer objects
   for "file descriptors", those objects will have their
   ``close`` method when ``all_fds`` is true.
rw   )r"   r•   s   &&r   r*   ÚIOLoop.closej  s   € ô2 "Ó#Ð#r   c               ó(   € V ^8„  d   QhRRRRRRRR/# )r   Úfdr   ÚhandlerzCallable[[int, int], None]Úeventsr   r(   r   )r   s   "r   r   r;   †  s,   € ÷ ñ ØðØ :ðØDGðà	ñr   c                	ó   € R # r    r   ©r"   r™   rš   r›   s   &&&&r   Úadd_handlerÚIOLoop.add_handler…  ó   € ñ 	r   c               ó(   € V ^8„  d   QhRRRRRRRR/# )	r   r™   r2   rš   zCallable[[_S, int], None]r›   r   r   r(   r   )r   s   "r   r   r;   Œ  s,   € ÷ ñ ØðØ8ðØBEðà	ñr   c                	ó   € R # r    r   r�   s   &&&&r   rž   rŸ   ‹  r    r   c               ó(   € V ^8„  d   QhRRRRRRRR/# )	r   r™   úint | _Selectablerš   zCallable[..., None]r›   r   r   r(   r   )r   s   "r   r   r;   ‘  s,   € ÷ $ñ $Ø#ð$Ø.Að$ØKNð$à	ñ$r   c                ó   € \        4       h)aã  Registers the given handler to receive the given events for ``fd``.

The ``fd`` argument may either be an integer file descriptor or
a file-like object with a ``fileno()`` and ``close()`` method.

The ``events`` argument is a bitwise or of the constants
``IOLoop.READ``, ``IOLoop.WRITE``, and ``IOLoop.ERROR``.

When an event occurs, ``handler(fd, events)`` will be run.

.. versionchanged:: 4.0
   Added the ability to pass file-like objects in addition to
   raw file descriptors.
rw   r�   s   &&&&r   rž   rŸ   ‘  s   € ô" "Ó#Ð#r   c               ó$   € V ^8„  d   QhRRRRRR/# )r   r™   r¤   r›   r   r   r(   r   )r   s   "r   r   r;   ¤  s"   € ÷ $ñ $Ð!2ð $¸Cð $ÀDñ $r   c                ó   € \        4       h)z™Changes the events we listen for ``fd``.

.. versionchanged:: 4.0
   Added the ability to pass file-like objects in addition to
   raw file descriptors.
rw   )r"   r™   r›   s   &&&r   Úupdate_handlerÚIOLoop.update_handler¤  ó   € ô "Ó#Ð#r   c               ó    € V ^8„  d   QhRRRR/# ©r   r™   r¤   r   r(   r   )r   s   "r   r   r;   ­  s   € ÷ $ñ $Ð!2ð $°tñ $r   c                ó   € \        4       h)z•Stop listening for events on ``fd``.

.. versionchanged:: 4.0
   Added the ability to pass file-like objects in addition to
   raw file descriptors.
rw   ©r"   r™   s   &&r   Úremove_handlerÚIOLoop.remove_handler­  rª   r   c               ó   € V ^8„  d   QhRR/# r'   r   )r   s   "r   r   r;   ¶  s   € ÷ $ñ $�tñ $r   c                ó   € \        4       h)zžStarts the I/O loop.

The loop will run until one of the callbacks calls `stop()`, which
will make the loop stop after the current event iteration completes.
rw   r!   s   &r   ÚstartÚIOLoop.start¶  s   € ô "Ó#Ð#r   c               ó   € V ^8„  d   QhRR/# r'   r   )r   s   "r   r   r;   ¾  s   € ÷ $ñ $�dñ $r   c                ó   € \        4       h)aY  Stop the I/O loop.

If the event loop is not currently running, the next call to `start()`
will return immediately.

Note that even after `stop` has been called, the `IOLoop` is not
completely stopped until `IOLoop.start` has also returned.
Some work that was scheduled before the call to `stop` may still
be run before the `IOLoop` shuts down.
rw   r!   s   &r   ÚstopÚIOLoop.stop¾  s   € ô "Ó#Ð#r   c               ó$   € V ^8„  d   QhRRRRRR/# )r   Úfuncr   Útimeoutzfloat | Noner   r   r   )r   s   "r   r   r;   Ë  s&   € ÷ V.ñ V.˜Xð V.°ð V.Èñ V.r   c                ó2  a aa€  ! R R\         4      pRRRR/oR VVV 3R llpS P                  V4       Ve2   R	 VV 3R
 llpS P                  S P                  4       V,           V4      pS P	                  4        Ve   S P                  X4       SR,          f   Q hSR,          P                  4       '       g   SR,          P                  4       '       g-   SR,          '       d   \        RV,          4      h\        R4      hSR,          P                  4       # )a÷  Starts the `IOLoop`, runs the given function, and stops the loop.

The function must return either an awaitable object or
``None``. If the function returns an awaitable object, the
`IOLoop` will run until the awaitable is resolved (and
`run_sync()` will return the awaitable's result). If it raises
an exception, the `IOLoop` will stop and the exception will be
re-raised to the caller.

The keyword-only argument ``timeout`` may be used to set
a maximum duration for the function.  If the timeout expires,
a `TimeoutError` is raised.

This method is useful to allow asynchronous calls in a
``main()`` function::

    async def main():
        # do stuff...

    if __name__ == '__main__':
        IOLoop.current().run_sync(main)

.. versionchanged:: 4.3
   Returning a non-``None``, non-awaitable value is now an error.

.. versionchanged:: 5.0
   If a timeout occurs, the ``func`` coroutine will be cancelled.

.. versionchanged:: 6.2
   ``tornado.util.TimeoutError`` is now an alias to ``asyncio.TimeoutError``.
c                  ó,   € ] tR tRt$ R]R&   R]R&   RtR# )Ú#IOLoop.run_sync.<locals>.FutureCelliì  zFuture | NoneÚfuturer`   Útimeout_calledr   N)r,   r-   r.   r/   Ú__annotations__r0   r   r   r   Ú
FutureCellr¾   ì  s   ‡ Ø!Ó!Ø × r   rÂ   r¿   NrÀ   Fc               ó   € V ^8„  d   QhRR/# r'   r   )r   s   "r   r   Ú%IOLoop.run_sync.<locals>.__annotate__ò  s   € ÷ 	Oñ 	O�Tñ 	Or   c                 ó~  <€  S! 4       p V e   ^ RI Hp V! V 4      p \        V 4      '       d   V SR&   M!\        4       pVSR&   VP	                  V 4        SR,          f   Q hSP                  SR,          V3R l4       R #   \
         d2    \        4       pTSR&   \        T\        P                  ! 4       4        Lgi ; i)N)Úconvert_yieldedr¿   c                ó$   <€ SP                  4       # r    )r·   )r¿   r"   s   &€r   Ú<lambda>Ú.IOLoop.run_sync.<locals>.run.<locals>.<lambda>  s   ø€ À$Ç)Á)Ä+r   )
Útornado.genrÆ   r   r
   Ú
set_resultÚ	Exceptionr   ÚsysÚexc_infoÚ
add_future)ÚresultrÆ   Úfutrº   Úfuture_cellr"   s      €€€r   ÚrunÚIOLoop.run_sync.<locals>.runò  s­   ø€ ð+Ù›�ØÒ%Ý;á,¨VÓ4�Fô ˜V×$Ò$Ø,2�K Ò)ä ›(�CØ,/�K Ñ)Ø—N‘N 6Õ*Ø˜xÕ(Ò4Ð4Ð4Ø�O‰O˜K¨Õ1Ô3MÖNøô ô 9Ü#)£8�Ø(+�˜HÑ%Ü# C¬¯ª«Ö8ð9ús   ƒB  Â 9B<Â;B<c               ó   € V ^8„  d   QhRR/# r'   r   )r   s   "r   r   rÄ   
  s   € ÷ 	 ñ 	  dñ 	 r   c                 óŠ   <€ R S R&   S R,          f   Q hS R,          P                  4       '       g   SP                  4        R# R# )TrÀ   r¿   N)Úcancelr·   )rÒ   r"   s   €€r   Útimeout_callbackÚ)IOLoop.run_sync.<locals>.timeout_callback
  sC   ø€ à04�Ð,Ñ-ð
 # 8Õ,Ò8Ð8Ð8Ø" 8Õ,×3Ñ3×5Ò5Ø—I‘I–Kñ 6r   z$Operation timed out after %s secondsz+Event loop stopped before Future completed.)r   Úadd_callbackÚadd_timeoutÚtimer³   Úremove_timeoutÚ	cancelledÚdoner   rD   rÐ   )r"   rº   r»   rÂ   rÓ   rØ   Útimeout_handlerÒ   s   ff&    @r   Úrun_syncÚIOLoop.run_syncË  s  ú€ ôB	!œô 	!ð $,¨TÐ3CÀUÐ"Kˆ÷	Oò 	Oð* 	×Ñ˜#ÔØÒ÷	 ñ 	 ð "×-Ñ-¨d¯i©i«k¸GÕ.CÐEUÓVˆNØ�
‰
ŒØÒØ×Ñ Ô/Ø˜8Õ$Ò0Ð0Ð0Ø�xÕ ×*Ñ*×,Ò,°KÀÕ4I×4NÑ4N×4PÒ4PØÐ+×,Ô,Ü"Ð#IÈGÕ#SÓTÐTô #Ð#PÓQÐQØ˜8Õ$×+Ñ+Ó-Ð-r   c               ó   € V ^8„  d   QhRR/# )r   r   Úfloatr   )r   s   "r   r   r;   #  s   € ÷ ñ �eñ r   c                ó,   € \         P                   ! 4       # )aO  Returns the current time according to the `IOLoop`'s clock.

The return value is a floating-point number relative to an
unspecified time in the past.

Historically, the IOLoop could be customized to use e.g.
`time.monotonic` instead of `time.time`, but this is not
currently supported and so this method is equivalent to
`time.time`.

)rÜ   r!   s   &r   rÜ   ÚIOLoop.time#  s   € ô �yŠy‹{Ðr   c          
     ó,   € V ^8„  d   QhRRRRRRRRRR	/# )
r   Údeadlinezfloat | datetime.timedeltaÚcallbackr   Úargsr   r:   r   Úobjectr   )r   s   "r   r   r;   1  sC   € ÷ 'Bñ 'Bà,ð'Bð ð'Bð ð	'Bð
 ð'Bð 
ñ'Br   c                óF  € \        V\        P                  4      '       d   V P                  ! W.VO5/ VB # \        V\        P
                  4      '       d;   V P                  ! V P                  4       VP                  4       ,           V.VO5/ VB # \        RV,          4      h)a  Runs the ``callback`` at the time ``deadline`` from the I/O loop.

Returns an opaque handle that may be passed to
`remove_timeout` to cancel.

``deadline`` may be a number denoting a time (on the same
scale as `IOLoop.time`, normally `time.time`), or a
`datetime.timedelta` object for a deadline relative to the
current time.  Since Tornado 4.0, `call_later` is a more
convenient alternative for the relative case since it does not
require a timedelta object.

Note that it is not safe to call `add_timeout` from other threads.
Instead, you must use `add_callback` to transfer control to the
`IOLoop`'s thread, and then call `add_timeout` from there.

Subclasses of IOLoop must implement either `add_timeout` or
`call_at`; the default implementations of each will call
the other.  `call_at` is usually easier to implement, but
subclasses that wish to maintain compatibility with Tornado
versions prior to 4.0 must use `add_timeout` instead.

.. versionchanged:: 4.0
   Now passes through ``*args`` and ``**kwargs`` to the callback.
úUnsupported deadline %r)	r@   ÚnumbersÚRealÚcall_atÚdatetimeÚ	timedeltarÜ   Útotal_secondsÚ	TypeError)r"   rè   ré   rê   r:   s   &&&*,r   rÛ   ÚIOLoop.add_timeout1  s�   € ô@ �h¤§¡×-Ò-Ø—<’< ÐD°TÒD¸VÑDÐDÜ˜¤(×"4Ñ"4×5Ò5Ø—<’<Ø—	‘	“˜h×4Ñ4Ó6Õ6¸ðØCGòØKQñð ô Ð5¸Õ@ÓAÐAr   c          
     ó,   € V ^8„  d   QhRRRRRRRRRR	/# )
r   Údelayrä   ré   r   rê   r   r:   r   rë   r   )r   s   "r   r   r;   Z  s;   € ÷ Lñ LØðLØ&.ðLØ7:ðLØFIðLà	ñLr   c                óZ   € V P                   ! V P                  4       V,           V.VO5/ VB # )aR  Runs the ``callback`` after ``delay`` seconds have passed.

Returns an opaque handle that may be passed to `remove_timeout`
to cancel.  Note that unlike the `asyncio` method of the same
name, the returned object does not have a ``cancel()`` method.

See `add_timeout` for comments on thread-safety and subclassing.

.. versionadded:: 4.0
)rð   rÜ   )r"   r÷   ré   rê   r:   s   &&&*,r   Ú
call_laterÚIOLoop.call_laterZ  s*   € ð �|Š|˜DŸI™I›K¨%Õ/°ÐK¸DÒKÀFÑKÐKr   c          
     ó,   € V ^8„  d   QhRRRRRRRRRR	/# )
r   Úwhenrä   ré   r   rê   r   r:   r   rë   r   )r   s   "r   r   r;   i  s;   € ÷ Añ AØðAØ%-ðAØ69ðAØEHðAà	ñAr   c                ó.   € V P                   ! W.VO5/ VB # )a¦  Runs the ``callback`` at the absolute time designated by ``when``.

``when`` must be a number using the same reference point as
`IOLoop.time`.

Returns an opaque handle that may be passed to `remove_timeout`
to cancel.  Note that unlike the `asyncio` method of the same
name, the returned object does not have a ``cancel()`` method.

See `add_timeout` for comments on thread-safety and subclassing.

.. versionadded:: 4.0
)rÛ   )r"   rü   ré   rê   r:   s   &&&*,r   rð   ÚIOLoop.call_ati  s   € ð  ×Ò Ð@°Ò@¸Ñ@Ð@r   c               ó    € V ^8„  d   QhRRRR/# )r   r»   rë   r   r(   r   )r   s   "r   r   r;   {  s   € ÷ $ñ $ fð $°ñ $r   c                ó   € \        4       h)z£Cancels a pending timeout.

The argument is a handle as returned by `add_timeout`.  It is
safe to call `remove_timeout` even if the callback has already
been run.
rw   )r"   r»   s   &&r   rÝ   ÚIOLoop.remove_timeout{  rª   r   c               ó(   € V ^8„  d   QhRRRRRRRR/# ©r   ré   r   rê   r   r:   r   r(   r   )r   s   "r   r   r;   „  s(   € ÷ 
$ñ 
$ Xð 
$°cð 
$ÀSð 
$ÈTñ 
$r   c                ó   € \        4       h)a¡  Calls the given callback on the next I/O loop iteration.

It is safe to call this method from any thread at any time,
except from a signal handler.  Note that this is the **only**
method in `IOLoop` that makes this thread-safety guarantee; all
other interaction with the `IOLoop` must be done from that
`IOLoop`'s thread.  `add_callback()` may be used to transfer
control from other threads to the `IOLoop`'s thread.
rw   ©r"   ré   rê   r:   s   &&*,r   rÚ   ÚIOLoop.add_callback„  s   € ô "Ó#Ð#r   c               ó(   € V ^8„  d   QhRRRRRRRR/# r  r   )r   s   "r   r   r;   �  s,   € ÷ $ñ $Ø ð$Ø),ð$Ø8;ð$à	ñ$r   c                ó   € \        4       h)aQ  Calls the given callback on the next I/O loop iteration.

Intended to be safe for use from a Python signal handler; should not be
used otherwise.

.. deprecated:: 6.4
   Use ``asyncio.AbstractEventLoop.add_signal_handler`` instead.
   This method is suspected to have been broken since Tornado 5.0 and
   will be removed in version 7.0.
rw   r  s   &&*,r   Úadd_callback_from_signalÚIOLoop.add_callback_from_signal�  s   € ô "Ó#Ð#r   c               ó(   € V ^8„  d   QhRRRRRRRR/# r  r   )r   s   "r   r   r;   Ÿ  s(   € ÷ 5ñ 5 xð 5¸ð 5Àsð 5Ètñ 5r   c                ó2   € V P                   ! V.VO5/ VB  R# )z�Calls the given callback on the next IOLoop iteration.

As of Tornado 6.0, this method is equivalent to `add_callback`.

.. versionadded:: 4.0
N©rÚ   r  s   &&*,r   Úspawn_callbackÚIOLoop.spawn_callbackŸ  s   € ð 	×Ò˜(Ð4 TÒ4¨VÔ4r   c               ó$   € V ^8„  d   QhRRRRRR/# )r   r¿   z*Future[_T] | concurrent.futures.Future[_T]ré   zCallable[[Future[_T]], None]r   r(   r   )r   s   "r   r   r;   ¨  s-   € ÷ Wñ Wà:ðWð /ðWð 
ñ	Wr   c                ó®   a a€ \        V\        4      '       d   VP                  VV 3R l4       R# \        V4      '       g   Q h\	        VVV 3R l4       R# )a	  Schedules a callback on the ``IOLoop`` when the given
`.Future` is finished.

The callback is invoked with one argument, the
`.Future`.

This method only accepts `.Future` objects and not other
awaitables (unlike most of Tornado where the two are
interchangeable).
c                óP   <€ SP                  \        P                  ! SV 4      4      # r    )Ú_run_callbackÚ	functoolsÚpartial©Úfré   r"   s   &€€r   rÈ   Ú#IOLoop.add_future.<locals>.<lambda>Á  s   ø€ ˜$×,Ñ,¬Y×->Ò->¸xÈÓ-KÔLr   c                ó(   <€ SP                  SV 4      # r    r  r  s   &€€r   rÈ   r  Ç  s   ø€ °t×7HÑ7HÈÐSTÔ7Ur   N)r@   r
   Úadd_done_callbackr   r   )r"   r¿   ré   s   f&fr   rÏ   ÚIOLoop.add_future¨  sE   ù€ ô �fœf×%Ò%ð ×$Ñ$ÝLöô ˜V×$Ò$Ð$Ð$ô % VÕ-UÖVr   c               ó(   € V ^8„  d   QhRRRRRRRR/# )	r   Úexecutorz"concurrent.futures.Executor | Nonerº   zCallable[..., _T]rê   r   r   z
Future[_T]r   )r   s   "r   r   r;   É  s2   € ÷ ñ à4ðð  ðð ð	ð
 
ñr   c                ó"  a€ VfV   \        V R4      '       g8   ^ RIHp \        P                  P                  V! 4       ^,          R7      V n        V P                  pVP                  ! V.VO5!  p\        4       oV P                  VV3R l4       S# )z×Runs a function in a ``concurrent.futures.Executor``. If
``executor`` is ``None``, the IO loop's default executor will be used.

Use `functools.partial` to pass keyword arguments to ``func``.

.. versionadded:: 5.0
Ú	_executor)Ú	cpu_count)Úmax_workersc                ó   <€ \        V S4      # r    )r   )r  Út_futures   &€r   rÈ   Ú(IOLoop.run_in_executor.<locals>.<lambda>â  s   ø€ ¬L¸¸HÔ,Er   )
ÚhasattrÚtornado.processr   Ú
concurrentÚfuturesÚThreadPoolExecutorr  Úsubmitr
   rÏ   )r"   r  rº   rê   r   Úc_futurer#  s   &&&*  @r   Úrun_in_executorÚIOLoop.run_in_executorÉ  s}   ø€ ð ÒÜ˜4 ×-Ò-Ý5ô ×&Ñ&×9Ñ9ÁyÃ{ÐUVÅÐ9ÓXð ”ð —~‘~ˆHØ—?’? 4Ð/¨$Ó/ˆô  &›xˆØ�‰˜Ô"EÔFØˆr   c               ó    € V ^8„  d   QhRRRR/# )r   r  zconcurrent.futures.Executorr   r(   r   )r   s   "r   r   r;   å  s   € ÷ "ñ "Ð-Hð "ÈTñ "r   c                ó   € Wn         R# )zVSets the default executor to use with :meth:`run_in_executor`.

.. versionadded:: 5.0
N©r  )r"   r  s   &&r   Úset_default_executorÚIOLoop.set_default_executorå  s	   € ð
 "Žr   c               ó    € V ^8„  d   QhRRRR/# )r   ré   zCallable[[], Any]r   r(   r   )r   s   "r   r   r;   ì  s   € ÷ Oñ OÐ&7ð O¸Dñ Or   c                ó<  €  V! 4       pVe6   ^ RI Hp  VP                  V4      pV P                  W P                  4       R# R#   TP
                   d     R# i ; i  \        P                   d     R# \         d    \        P                  ! RTRR7        R# i ; i)zhRuns a callback with error handling.

.. versionchanged:: 6.0

   CancelledErrors are no longer logged.
N)ÚgenúException in callback %rT©rÎ   )Útornador5  rÆ   rÏ   Ú_discard_future_resultÚBadYieldErrorrf   ÚCancelledErrorrÌ   r   Úerror)r"   ré   Úretr5  s   &&  r   r  ÚIOLoop._run_callbackì  s™   € ð	OÙ“*ˆCØŠÝ'ðFØ×-Ñ-¨cÓ2�Cð —O‘O C×)DÑ)DÖEñ øð ×(Ñ(ô ò ð	ûô ×%Ñ%ô 	ÚÜô 	OÜ�MŠMÐ4°hÈ×NÐNð	Oús?   ‚A ”A ¥A ÁAÁA ÁAÁA ÁBÁ4BÁ=BÂBc               ó    € V ^8„  d   QhRRRR/# )r   r¿   r
   r   r(   r   )r   s   "r   r   r;   
  s   € ÷ ñ ¨Vð ¸ñ r   c                ó&   € VP                  4        R# )z;Avoid unhandled-exception warnings from spawned coroutines.N)rÐ   )r"   r¿   s   &&r   r9  ÚIOLoop._discard_future_result
  s   € à�‰Žr   c               ó    € V ^8„  d   QhRRRR/# )r   r™   r¤   r   ztuple[int, int | _Selectable]r   )r   s   "r   r   r;     s   € ÷ ñ Ð,ð Ð1Nñ r   c                	óX   € \        V\        4      '       d   W3# VP                  4       V3# r    )r@   r   r#   r®   s   &&r   Úsplit_fdÚIOLoop.split_fd  s(   € ô  �bœ#×ÒØ�6ˆMØ�y‰y‹{˜BˆÐr   c               ó    € V ^8„  d   QhRRRR/# r¬   r   )r   s   "r   r   r;   "  s   € ÷ ñ Ð,ð °ñ r   c                	ó¨   €  \        V\        4      '       d   \        P                  ! V4       R # VP                  4        R #   \         d     R # i ; ir    )r@   r   Úosr*   ÚOSErrorr®   s   &&r   Úclose_fdÚIOLoop.close_fd"  s:   € ð	Ü˜"œc×"Ò"Ü—’˜–à—‘–
øÜô 	Úð	ús   ‚,A °A ÁAÁAc               ó    € V ^8„  d   QhRRRR/# ©r   r  r
   r   r(   r   )r   s   "r   r   r;   6  s   € ÷ #ñ # ð #¨4ñ #r   c                	ó<   € V P                   P                  V4       R # r    )r7   Úadd©r"   r  s   &&r   Ú_register_taskÚIOLoop._register_task6  s   € Ø×Ñ×Ñ Ö"r   c               ó    € V ^8„  d   QhRRRR/# rM  r   )r   s   "r   r   r;   9  s   € ÷ 'ñ ' &ð '¨Tñ 'r   c                	ó<   € V P                   P                  V4       R # r    )r7   ÚdiscardrP  s   &&r   Ú_unregister_taskÚIOLoop._unregister_task9  s   € Ø×Ñ×#Ñ# AÖ&r   r0  )T)Fr    )9r,   r-   r.   r/   Ú__doc__ÚNONEÚREADÚWRITEÚERRORÚdictr6   rÁ   Úsetr7   ÚclassmethodrF   ÚstaticmethodrN   rS   rX   ÚtypingÚoverloadrM   rR   rs   rW   r|   r€   r‰   rŽ   r’   r*   rž   r¨   r¯   r³   r·   rá   rÜ   rÛ   rù   rð   rÝ   rÚ   r	  r  rÏ   r,  r1  r  r9  rD  rJ  rQ  rV  r0   Ú__classcell__)rH   s   @r   r5   r5   G   sî  ø‡ ñKð\ €DØ€DØ€EØ€Eñ DHÃ6ÐÐ@ÓIñ #&£%€N�KÓ'à÷*ó ð*ð ô ó ð õ*ð ôó ðð ‡_�_Øôó ó ðð ‡_�_Øöó ó ðð ö*ó ð*õXõ6$ð ô ó ð ð  ô&ó ð&õ
ð ôó ðð ôó ð÷
!÷$ð6 ‡_�_ôó ðð
 ‡_�_ôó ðõ
$õ&$õ$õ$õ$÷V.õpõ'BõRLõAõ$$õ
$õ$õ5õWõBõ8"õOõ<õõ(õ(#÷'ó 'r   r5   c                  óF   € ] tR tRtRt. ROtR R ltR R ltR R ltR	t	R
# )Ú_Timeouti=  z2An IOLoop timeout, a UNIX timestamp and a callbackc               ó(   € V ^8„  d   QhRRRRRRRR/# )	r   rè   rä   ré   zCallable[[], None]Úio_loopr5   r   r(   r   )r   s   "r   r   Ú_Timeout.__annotate__C  s,   € ÷ 

ñ 

Øð

Ø);ð

ØFLð

à	ñ

r   c                	óº   € \        V\        P                  4      '       g   \        R V,          4      hWn        W n        V\        VP                  4      3V n        R# )rí   N)	r@   rî   rï   rô   rè   ré   ÚnextÚ_timeout_counterÚ	tdeadline)r"   rè   ré   rg  s   &&&&r   Ú__init__Ú_Timeout.__init__C  sJ   € ô ˜(¤G§L¡L×1Ò1ÜÐ5¸Õ@ÓAÐAØ ŒØ ŒàÜ�×)Ñ)Ó*ð-
ˆŽr   c               ó    € V ^8„  d   QhRRRR/# ©r   Úotherre  r   r`   r   )r   s   "r   r   rh  S  s   € ÷ 0ñ 0˜Hð 0¨ñ 0r   c                	ó4   € V P                   VP                   8  # r    ©rl  ©r"   rq  s   &&r   Ú__lt__Ú_Timeout.__lt__S  s   € Ø�~‰~ §¡Ñ/Ð/r   c               ó    € V ^8„  d   QhRRRR/# rp  r   )r   s   "r   r   rh  V  s   € ÷ 1ñ 1˜Hð 1¨ñ 1r   c                	ó4   € V P                   VP                   8*  # r    rs  rt  s   &&r   Ú__le__Ú_Timeout.__le__V  s   € Ø�~‰~ §¡Ñ0Ð0r   )ré   rè   rl  N)rè   ré   rl  )
r,   r-   r.   r/   rX  Ú	__slots__rm  ru  ry  r0   r   r   r   re  re  =  s    † Ù<ò 6€Iõ

õ 0÷1ñ 1r   re  c                  ór   € ] tR tRtRtRR R lltR R ltR R ltR	 R
 ltR R lt	R R lt
R R ltRtR# )ÚPeriodicCallbackiZ  a  Schedules the given callback to be called periodically.

The callback is called every ``callback_time`` milliseconds when
``callback_time`` is a float. Note that the timeout is given in
milliseconds, while most other time-related functions in Tornado use
seconds. ``callback_time`` may alternatively be given as a
`datetime.timedelta` object.

If ``jitter`` is specified, each callback time will be randomly selected
within a window of ``jitter * callback_time`` milliseconds.
Jitter can be used to reduce alignment of events with similar periods.
A jitter of 0.1 means allowing a 10% variation in callback time.
The window is centered on ``callback_time`` so the total number of calls
within a given interval should not be significantly affected by adding
jitter.

If the callback runs for longer than ``callback_time`` milliseconds,
subsequent invocations will be skipped to get back on schedule.

`start` must be called after the `PeriodicCallback` is created.

.. versionchanged:: 5.0
   The ``io_loop`` argument (deprecated since version 4.1) has been removed.

.. versionchanged:: 5.1
   The ``jitter`` argument is added.

.. versionchanged:: 6.2
   If the ``callback`` argument is a coroutine, and a callback runs for
   longer than ``callback_time``, subsequent invocations will be skipped.
   Previously this was only true for regular functions, not coroutines,
   which were "fire-and-forget" for `PeriodicCallback`.

   The ``callback_time`` argument now accepts `datetime.timedelta` objects,
   in addition to the previous numeric milliseconds.
c               ó(   € V ^8„  d   QhRRRRRRRR/# )	r   ré   zCallable[[], Awaitable | None]Úcallback_timezdatetime.timedelta | floatÚjitterrä   r   r(   r   )r   s   "r   r   ÚPeriodicCallback.__annotate__€  s2   € ÷ %ñ %à0ð%ð 2ð%ð ð	%ð
 
ñ%r   c                	óò   € Wn         \        V\        P                  4      '       d%   V\        P                  ! ^R7      ,          V n        MV^ 8:  d   \        R4      hW n        W0n        RV n        RV n        R# )é   )Úmillisecondsz4Periodic callback must have a positive callback_timeFN)	ré   r@   rñ   rò   r  Ú
ValueErrorr€  Ú_runningÚ_timeout)r"   ré   r  r€  s   &&&&r   rm  ÚPeriodicCallback.__init__€  sb   € ð !ŒÜ�m¤X×%7Ñ%7×8Ò8Ø!.´×1CÒ1CÐQRÔ1SÕ!SˆDÕà Ô!Ü Ð!WÓXÐXØ!.ÔØŒØˆŒØ $ˆŽr   c               ó   € V ^8„  d   QhRR/# r'   r   )r   s   "r   r   r�  ‘  s   € ÷ ñ �tñ r   c                ó¤   € \         P                  4       V n        RV n        V P                  P	                  4       V n        V P                  4        R# )zStarts the timer.TN)r5   rM   rg  r†  rÜ   Ú_next_timeoutÚ_schedule_nextr!   s   &r   r³   ÚPeriodicCallback.start‘  s:   € ô
 —~‘~Ó'ˆŒØˆŒØ!Ÿ\™\×.Ñ.Ó0ˆÔØ×ÑÖr   c               ó   € V ^8„  d   QhRR/# r'   r   )r   s   "r   r   r�  ›  s   € ÷ !ñ !�dñ !r   c                óŒ   € RV n         V P                  e/   V P                  P                  V P                  4       RV n        R# R# )zStops the timer.FN)r†  r‡  rg  rÝ   r!   s   &r   r·   ÚPeriodicCallback.stop›  s5   € àˆŒØ�=‰=Ò$Ø�L‰L×'Ñ'¨¯©Ô6Ø ˆDŽMñ %r   c               ó   € V ^8„  d   QhRR/# )r   r   r`   r   )r   s   "r   r   r�  ¢  s   € ÷ ñ ˜Dñ r   c                ó   € V P                   # )zVReturns ``True`` if this `.PeriodicCallback` has been started.

.. versionadded:: 4.1
)r†  r!   s   &r   Ú
is_runningÚPeriodicCallback.is_running¢  s   € ð
 �}‰}Ðr   c               ó   € V ^8„  d   QhRR/# r'   r   )r   s   "r   r   r�  ©  s   € ÷ 
"ñ 
"˜Dñ 
"r   c              ƒ  	óL  "  € V P                   '       g   R #  V P                  4       pVe   \        V4      '       d   VG R j  x€L
  T P                  4        R #  L  \         d'    \        P
                  ! RT P                  RR7        LDi ; i  T P                  4        i ; i5i)Nr6  Tr7  )r†  ré   r   rÌ   r   r<  rŒ  )r"   Úvals   & r   Ú_runÚPeriodicCallback._run©  s~   é € Ø�}�}ˆ}Ùð	"Ø—-‘-“/ˆCØŠ¤;¨s×#3Ò#3Ø—	�	ð ×ÑÖ!ñ	 øÜô 	TÜ�MŠMÐ4°d·m±mÈd×Sð	Tûð ×ÑÕ!üsF   ‚B$˜*A ÁAÁA ÁB$ÁA Á.BÂ	B ÂBÂB ÂB!Â!B$c               ó   € V ^8„  d   QhRR/# r'   r   )r   s   "r   r   r�  µ  s   € ÷ Tñ T ñ Tr   c                	óê   € V P                   '       da   V P                  V P                  P                  4       4       V P                  P	                  V P
                  V P                  4      V n        R # R # r    )r†  Ú_update_nextrg  rÜ   rÛ   r‹  r˜  r‡  r!   s   &r   rŒ  ÚPeriodicCallback._schedule_nextµ  sM   € Ø�=�=ˆ=Ø×Ñ˜dŸl™l×/Ñ/Ó1Ô2Ø ŸL™L×4Ñ4°T×5GÑ5GÈÏÉÓSˆDŽMñ r   c               ó    € V ^8„  d   QhRRRR/# )r   Úcurrent_timerä   r   r(   r   )r   s   "r   r   r�  º  s   € ÷ 4ñ 4¨ð 4°4ñ 4r   c                	óÂ  € V P                   R ,          pV P                  '       d<   V^V P                  \        P                  ! 4       R,
          ,          ,           ,          pV P                  V8:  dU   V ;P                  \        P
                  ! WP                  ,
          V,          4      ^,           V,          ,          un        R# V ;P                  V,          un        R# )g     @�@g      à?N)r  r€  Úrandomr‹  ÚmathÚfloor)r"   rŸ  Úcallback_time_secs   && r   rœ  ÚPeriodicCallback._update_nextº  sž   € Ø ×.Ñ.°Õ7ÐØ�;�;ˆ;à  d§k¡k´V·]²]³_ÀsÕ5JÕ&KÕ!LÕLÐØ×Ñ Ô-ð
 ×ÒÜ—
’
˜L×+=Ñ+=Õ=ÐARÕRÓSÐVWÕWØ!õ#"õ "×ð$ ×ÒÐ"3Õ3×r   )r‹  r†  r‡  ré   r  rg  r€  N)r=   )r,   r-   r.   r/   rX  rm  r³   r·   r“  r˜  rŒ  rœ  r0   r   r   r   r}  r}  Z  s1   † ñ#÷J%õ"õ!õõ
"õT÷
4ñ 4r   r}  )+rX  Ú
__future__r   rf   Úconcurrent.futuresr'  rñ   r  r¢  rî   rH  r¡  rÍ   rÜ   ra  rp   Úcollections.abcr   r   Úinspectr   r   r   r   r	   Útornado.concurrentr
   r   r   r   r   Útornado.logr   Útornado.utilr   r   r   r   r1   r2   r5   re  r}  r   r   r   Ú<module>r­     s    ðñ õ #ã Û Û Û Û Û Û 	Û Û 
Û Û Û ß /Ý ß 4Ó 4÷õ õ  ÷ñ ô�(ô ñ ˆTƒ]€ÙˆT˜Ô%€ôs'ˆ\ô s'÷l1ñ 1÷:|4ó |4r   