Qf-,ddlmZdZGddeZy))WeakSetc$ tjSN)ABCMeta_abc_invalidation_counter./opt/alt/python312/lib64/python3.12/_py_abc.pyget_cache_tokenr s  , ,,r cJeZdZ dZfdZdZd dZdZdZdZ dZ xZ S) rrc t |||||fi|}|jDchc]\}}t|ddr|}}}|D]H}t|dt D].}t||d}t|dds|j |0Jt ||_t|_ t|_ t|_ tj|_|Scc}}w)N__isabstractmethod__F__abstractmethods__)super__new__itemsgetattrsetadd frozensetrr _abc_registry _abc_cache_abc_negative_cacherr_abc_negative_cache_version) mclsnamebases namespacekwargsclsvalue abstractsbase __class__s r rzABCMeta.__new__#sgodD%EfE)2(9G(9u'=uE(9 GD&;SUCT405"8%@MM$'D #,I"6#I "))*1*K*K' GsC%c t|ts tdt||r|St||r t d|j j |txjdz c_|S)NzCan only register classesz'Refusing to create an inheritance cycle) isinstancetype TypeError issubclass RuntimeErrorrrrr)r subclasss r registerzABCMeta.register6sp (D)78 8 h $O c8 $HI I h'))Q.)r c< td|jd|j|tdt||jD]M}|j dst ||}t|tr t|}t|d||Oy)NzClass: .)filezInv. counter: _abc_z: ) print __module__ __qualname__r __dict__ startswithrr'rr)r r0rr!s r _dump_registryzABCMeta._dump_registryHs5 'q)9)9(:;$G 012>LLDw'T*eW-JEb *6 !r c: |jjyr)rclearr s r _abc_registry_clearzABCMeta._abc_registry_clearSs< !r cn |jj|jjyr)rr9rr:s r _abc_caches_clearzABCMeta._abc_caches_clearWs':  %%'r c |j}|jvryt|}||ur=jtj k(r|j vryj|Stfd||fDS)NTFc3@K|]}j|ywr)__subclasscheck__).0cr s r z,ABCMeta.__instancecheck__..jsI5H3((+5Hs) r$rr(rrrrr@any)r instancer,subtypes` r __instancecheck__zABCMeta.__instancecheck__\s5%% s~~ %x. h //112C333((2 2Ih5HIIIr c" t|ts td||jvry|jt j kr%t|_t j |_n||jvry|j|}|tur<|r|jj||S|jj||S|t|ddvr|jj|y|jD]+}t||s|jj|y|jD]+}t||s|jj|y|jj|y)Nz"issubclass() arg 1 must be a classTF__mro__r)r'r(r)rrrrrr__subclasshook__NotImplementedrrrr*__subclasses__)r r,okrclssclss r r@zABCMeta.__subclasscheck__lsX5(D)@A A s~~ %  * *W-N-N N&-iC #.5.O.OC + 00 0  ! !( + ^ #""8,I''++H5I '(Ir2 2 NN  x (%%D(D)""8,& &&(D(D)""8,) ##H-r r) __name__r3r4rrr-r7r;r=rGr@ __classcell__)r$s@r rrs4 $!"&$ 7"( J 'r rN) _weakrefsetrr r(rrr r rSs-EdEr