grthtrhthjhtyjytjytkergtrhtrjytjerhrfh4:24 29/09/2026a ´i ã@sRdZddlZddlmZddlmZdZdZdZd d „Z d d „Z e ƒZ d d„Z dS)©éN)Ú get_identé)Úformat_helpersÚPENDINGÚ CANCELLEDÚFINISHEDcCst|jdƒo|jduS)zÓCheck for a Future. This returns True when obj is a Future instance or is advertising itself as duck-type compatible by setting _asyncio_future_blocking. See comment in Future for more details. Ú_asyncio_future_blockingN)ÚhasattrÚ __class__r )Úobjrrú,/usr/lib64/python3.9/asyncio/base_futures.pyÚisfutures ÿrcCsžt|ƒ}|sd}dd„}|dkr2||ddƒ}n`|dkr`d ||ddƒ||ddƒ¡}n2|dkr’d ||ddƒ|d||d dƒ¡}d |›d �S) ú#helper function for Future.__repr__ÚcSs t |d¡S)Nr)rZ_format_callback_source)Úcallbackrrr Ú format_cbsz$_format_callbacks..format_cbrréz{}, {}z{}, <{} more>, {}éÿÿÿÿzcb=[ú])ÚlenÚformat)ÚcbÚsizerrrr Ú_format_callbackss&þrc CsÚ|j ¡g}|jtkr’|jdur4| d|j›�¡n^t|ƒtƒf}|tvrPd}n2t |¡zt   |j ¡}Wt  |¡n t  |¡0| d|›�¡|j r¨| t|j ƒ¡|jrÖ|jd}| d|d›d|d ›�¡|S) rNz exception=z...zresult=rz created at rú:r)Ú_stateÚlowerÚ _FINISHEDÚ _exceptionÚappendÚidrÚ _repr_runningÚaddÚreprlibÚreprÚ_resultÚdiscardZ _callbacksrZ_source_traceback)ÚfutureÚinfoÚkeyÚresultÚframerrr Ú_future_repr_info7s$     r-)Ú__all__r$Ú_threadrrrZ_PENDINGZ _CANCELLEDrrrÚsetr"r-rrrr Ús