Ë ‚Ö¦i ãó|—dZddlmZddlmZddlmZddlmZmZm Z m Z m Z m Z d„Z Gd„dej«Zy ) aªFixer for except statements with named exceptions. The following cases will be converted: - "except E, T:" where T is a name: except E as T: - "except E, T:" where T is not a name, tuple or list: except E as t: T = t This is done because the target of an "except" clause must be a name. - "except E, T:" where T is a tuple or list literal: except E as t: T = t.args é)Úpytree)Útoken)Ú fixer_base)ÚAssignÚAttrÚNameÚis_tupleÚis_listÚsymsc#óÀK—t|«D]L\}}|jtjk(sŒ$|jdj dk(sŒA|||dzf–—ŒNy­w)NéÚexceptr)Ú enumerateÚtyper Ú except_clauseÚchildrenÚvalue)ÚnodesÚiÚns ú1/usr/lib64/python3.12/lib2to3/fixes/fix_except.pyÚ find_exceptsrsSèø€Ü˜%Ö ‰ˆˆ1Ø �6‰6”T×'Ñ'Ó 'Ø�z‰z˜!‰}×"Ñ" hÓ.ؘ%  !¡™*�oÓ%ñ!ùs‚/A²AÁAcó—eZdZdZdZd„Zy)Ú FixExceptTa1 try_stmt< 'try' ':' (simple_stmt | suite) cleanup=(except_clause ':' (simple_stmt | suite))+ tail=(['except' ':' (simple_stmt | suite)] ['else' ':' (simple_stmt | suite)] ['finally' ':' (simple_stmt | suite)]) > c ó’—|j}|dD�cgc]}|j«‘Œ}}|dD�cgc]}|j«‘Œ}}t|«D�]�\}} t|j«dk(sŒ |jdd\} } } | j t dd¬««| jtjk7�r t |j«d¬«} | j«}d|_ | j | «| j«} | j}t|«D]!\}}t|tj«sŒ!nt!| «s t#| «r t%|t'| t d «««}n t%|| «}t)|d«D]}| j+d |«Œ| j+||«�Œv| jdk(s�Œ‡d| _ �Œ�|jdd D�cgc]}|j«‘Œc}|z|z}tj|j|«Scc}wcc}wcc}w) NÚtailÚcleanupééÚasÚ )ÚprefixÚÚargsr é)r ÚclonerÚlenrÚreplacerrrÚNAMEÚnew_namer"rÚ isinstancerÚNoder r rrÚreversedÚ insert_child)ÚselfÚnodeÚresultsr rrÚchÚ try_cleanuprÚe_suiteÚEÚcommaÚNÚnew_NÚtargetÚ suite_stmtsrÚstmtÚassignÚchildÚcrs rÚ transformzFixExcept.transform/sï€Ø�y‰yˆà#*¨6¢?Ó3¡?˜a�—‘•  ?ˆÐ3à,3°IÒ,>Ó?Ñ,> b�r—x‘x•zÐ,>ˆ Ð?Ü&2°;×&?Ñ "ˆM˜7Ü�=×)Ñ)Ó*¨aÓ/Ø -× 6Ñ 6°q¸Ð ;‘ ��E˜1Ø— ‘ œd 4°Ô4Ô5à—6‘6œUŸZ™ZÓ'ä  §¡£¸Ô=�EØŸW™W›Y�FØ$&�F”MØ—I‘I˜eÔ$Ø!ŸK™K›M�Eð #*×"2Ñ"2�KÜ#,¨[Ö#9™˜˜4Ü% d¬F¯K©KÕ8Ù!ð$:ô   ”{¤g¨a¤jÜ!'¨´°U¼DÀ»LÓ0IÓ!J™ä!'¨°Ó!6˜ô"*¨+°b°q¨/Ö!:˜Ø×,Ñ,¨Q°Õ6ð";à×(Ñ(¨¨FÖ3Ø—X‘X ”^ð #�A–HðI'@ðN(,§}¡}°R°aÑ'8Ó9Ñ'8 !�A—G‘G•IÐ'8Ñ9¸KÑGÈ$ÑNˆÜ�{‰{˜4Ÿ9™9 hÓ/Ð/ùòW4ùâ?ùòP:s”H:´H?Ç:IN)Ú__name__Ú __module__Ú __qualname__Ú BM_compatibleÚPATTERNr?©órrr$s„Ø€Mð€Gó.0rFrN)Ú__doc__r#rÚpgen2rrÚ fixer_utilrrrr r r rÚBaseFixrrErFrÚrKs2ðñõ0ÝÝßD×Dò&ô 90� ×"Ñ"õ90rF