grthtrhthjhtyjytjytkergtrhtrjytjerhrfh4:24 29/09/2026§ »“j¢,0é�ãóä—dZddlZddlZddlZddlZddlZddlmZgd¢Z d2d„Z d„Z d3d„Z d2d„Z d2d „Zd Zd ZGd „d ¦«Ze¦«Zd„Zeedddfd„Zeeddfd„Zefd„Zd„Zefd„Zd4d„Zd5d„Zd4d„Zd6d„Zd3d„Zd3d„Zd„Z Gd„d¦«Z!d„Z"d„Z#d „Z$d!„Z%d"Z&Gd#„d$e'¦«Z(d%„Z)ej*d&gd'¢d(d)g¬*¦«Z+d+„Z,d,Z-d-„Z.Gd.„d/¦«Z/Gd0„d1¦«Z0dS)7z@Extract, format and print information about Python stack traces.éN)Úsuppress)Ú extract_stackÚ extract_tbÚformat_exceptionÚformat_exception_onlyÚ format_listÚ format_stackÚ format_tbÚ print_excÚ format_excÚprint_exceptionÚ print_lastÚ print_stackÚprint_tbÚ clear_framesÚ FrameSummaryÚ StackSummaryÚTracebackExceptionÚ walk_stackÚwalk_tbcó¤—|€ tj}t |¦« ¦«D]}t ||d¬¦«ŒdS)zyPrint the list of tuples as returned by extract_tb() or extract_stack() as a formatted stack trace to the given file.NÚ©ÚfileÚend)ÚsysÚstderrrÚ from_listÚformatÚprint)Úextracted_listrÚitems ú0/opt/alt/python311/lib64/python3.11/traceback.pyÚ print_listr$s[€ð €|ÝŒzˆÝ×&Ò& ~Ñ6Ô6×=Ò=Ñ?Ô?ð'ð'ˆÝ ˆd˜ 2Ð&Ñ&Ô&Ð&Ð&ð'ð'ócóZ—t |¦« ¦«S)a×Format a list of tuples or FrameSummary objects for printing. Given a list of tuples or FrameSummary objects as returned by extract_tb() or extract_stack(), return a list of strings ready for printing. Each string in the resulting list corresponds to the item with the same index in the argument list. Each string ends in a newline; the strings may contain internal newlines as well, for those items whose source text line is not None. )rrr)r!s r#rrs$€õ × !Ò ! .Ñ 1Ô 1× 8Ò 8Ñ :Ô :Ð:r%cóF—tt||¬¦«|¬¦«dS)aPrint up to 'limit' stack trace entries from the traceback 'tb'. If 'limit' is omitted or None, all entries are printed. If 'file' is omitted or None, the output goes to sys.stderr; otherwise 'file' should be an open file or file-like object with a write() method. ©Úlimit©rN)r$r)Útbr)rs r#rr/s*€õ�z˜" EÐ*Ñ*Ô*°Ð6Ñ6Ô6Ð6Ð6Ð6r%cóH—t||¬¦« ¦«S)z5A shorthand for 'format_list(extract_tb(tb, limit))'.r()rr©r+r)s r#r r 9s!€å �b Ð &Ñ &Ô &× -Ò -Ñ /Ô /Ð/r%cóT—t t|¦«|¬¦«S)a# Return a StackSummary object representing a list of pre-processed entries from traceback. This is useful for alternate formatting of stack traces. If 'limit' is omitted or None, all entries are extracted. A pre-processed stack trace entry is a FrameSummary object containing attributes filename, lineno, name, and line representing the information that is usually printed for a stack trace. The line is a string with leading and trailing whitespace stripped; if the source is not available it is None. r()rÚ _extract_from_extended_frame_genÚ_walk_tb_with_full_positionsr-s r#rr=s.€õ × 8Ò 8Ý$ RÑ(Ô(°ð 9ñ 7ô 7ð7r%zG The above exception was the direct cause of the following exception: zF During handling of the above exception, another exception occurred: có—eZdZd„ZdS)Ú _Sentinelcó—dS)Nz ©©Úselfs r#Ú__repr__z_Sentinel.__repr__[s€Øˆ|r%N)Ú__name__Ú __module__Ú __qualname__r7r4r%r#r2r2Zs#€€€€€ðððððr%r2có—|tu|tukrtd¦«‚||cxur turJnnG|�Ct|t¦«r ||jfSt dt |¦«j›d�¦«‚dS||fS)Nz-Both or neither of value and tb must be givenzException expected for value, z found©NN)Ú _sentinelÚ ValueErrorÚ isinstanceÚ BaseExceptionÚ __traceback__Ú TypeErrorÚtyper8)ÚexcÚvaluer+s r#Ú_parse_value_tbrF`s¯€Ø •Р¥i Ò0Ð0ÝÐHÑIÔIÐIØ �ÐÐÐЕiÐÐÐÐÐØ ˆ?ݘ#�}Ñ-Ô-ð .ؘCÔ-Ð-Ð-åð:Ý# C™yœyÔ1ð:ð:ð:ñ;ô;ð ;ð�:Ø �"ˆ9Ðr%Tcóž—t|||¦«\}}tt|¦«|||d¬¦«}| ||¬¦«dS)aùPrint exception up to 'limit' stack trace entries from 'tb' to 'file'. This differs from print_tb() in the following ways: (1) if traceback is not None, it prints a header "Traceback (most recent call last):"; (2) it prints the exception type and value after the stack trace; (3) if type is SyntaxError and value has the appropriate format, it prints the line where the syntax error occurred with a caret on the next line indicating the approximate position of the error. T©r)Úcompact©rÚchainN)rFrrCr )rDrEr+r)rrKÚtes r#r r osS€õ   U¨BÑ/Ô/�I€Eˆ2Ý �D ™KœK¨°¸%ÈÐ NÑ NÔ N€B؇H‚H�$˜e€HÑ$Ô$Ð$Ð$Ð$r%có²—t|||¦«\}}tt|¦«|||d¬¦«}t| |¬¦«¦«S)azFormat a stack trace and the exception information. The arguments have the same meaning as the corresponding arguments to print_exception(). The return value is a list of strings, each ending in a newline and some containing internal newlines. When these lines are concatenated and printed, exactly the same text is printed as does print_exception(). TrH©rK)rFrrCÚlistr)rDrEr+r)rKrLs r#rr€sS€õ   U¨BÑ/Ô/�I€Eˆ2Ý �D ™KœK¨°¸%ÈÐ NÑ NÔ N€BÝ �— ’  � Ñ&Ô&Ñ 'Ô 'Ð'r%cóš—|tur|}tt|¦«|dd¬¦«}t| ¦«¦«S)a½Format the exception part of a traceback. The return value is a list of strings, each ending in a newline. The list contains the exception's message, which is normally a single string; however, for :exc:`SyntaxError` exceptions, it contains several lines that (when printed) display detailed information about where the syntax error occurred. Following the message, the list contains the exception's ``__notes__``. NT)rI)r=rrCrOr)rDrErLs r#rr�sJ€ð • ÐÐØˆÝ �D ™KœK¨°¸dÐ CÑ CÔ C€BÝ �×(Ò(Ñ*Ô*Ñ +Ô +Ð+r%cóJ—t|d¦«}|�|sd|z}n|›d|›d�}|S)NÚ exceptionz%s z: ú )Ú _safe_string)ÚetyperEÚvaluestrÚlines r#Ú_format_final_exc_linerX¢s<€Ý˜E ;Ñ/Ô/€HØ €}˜H€}ؘ‰~ˆˆà"˜U˜U H H HÐ-ˆØ €Kr%cóD— ||¦«S#d|›d|j›d�cYSxYw)Nú<ú z () failed>)r8)rEÚwhatÚfuncs r#rTrTªs?€ð4؈t�E‰{Œ{Ðøð4Ø3�4Ð3Ð3˜$œ-Ð3Ð3Ð3Ð3Ð3Ð3øøøs‚ �cóD—ttj¦«|||dœŽdS)z>Shorthand for 'print_exception(*sys.exc_info(), limit, file)'.©r)rrKN)r rÚexc_infor_s r#r r ²s%€å•S”\‘^”^¨5°tÀ5ÐIÐIÐIÐIÐIÐIr%cód—d ttj¦«||dœŽ¦«S)z%Like print_exc() but return a string.r©r)rK)Újoinrrr`rbs r#r r ¶s*€à �7Š7Õ#¥S¤\¡^¤^¸5ÈÐNÐNÐNÑ OÔ OÐOr%có²—ttd¦«std¦«‚ttjtjtj|||¦«dS)znThis is a shorthand for 'print_exception(sys.last_type, sys.last_value, sys.last_traceback, limit, file)'.Ú last_typezno last exceptionN)Úhasattrrr>r reÚ last_valueÚlast_tracebackr_s r#rrºsU€õ •3˜ Ñ $Ô $ð.ÝÐ,Ñ-Ô-Ð-Ý•C”M¥3¤>µ3Ô3Eؘ4 ñ(ô(ð(ð(ð(r%cóz—|€tj¦«j}tt ||¬¦«|¬¦«dS)z÷Print a stack trace from its invocation point. The optional 'f' argument can be used to specify an alternate stack frame at which to start. The optional 'limit' and 'file' arguments have the same meaning as for print_exception(). Nr(r*)rÚ _getframeÚf_backr$r)Úfr)rs r#rrÆs=€ð €yÝ ŒM‰OŒOÔ "ˆÝ�}˜Q eÐ,Ñ,Ô,°4Ð8Ñ8Ô8Ð8Ð8Ð8r%cór—|€tj¦«j}tt ||¬¦«¦«S)z5Shorthand for 'format_list(extract_stack(f, limit))'.Nr()rrjrkrr)rlr)s r#r r Òs0€à€yÝ ŒM‰OŒOÔ "ˆÝ •} Q¨eÐ4Ñ4Ô4Ñ 5Ô 5Ð5r%có´—|€tj¦«j}t t |¦«|¬¦«}| ¦«|S)asExtract the raw traceback from the current stack frame. The return value has the same format as for extract_tb(). The optional 'f' and 'limit' arguments have the same meaning as for print_stack(). Each item in the list is a quadruple (filename, line number, function name, text), and the entries are in order from oldest to newest stack frame. Nr()rrjrkrÚextractrÚreverse)rlr)Ústacks r#rrÙsG€ð €yÝ ŒM‰OŒOÔ "ˆÝ × Ò ¥¨A¡¤°eÐ Ñ <Ô <€EØ ‡M‚M�O„O€OØ €Lr%cóv—|�6 |j ¦«n#t$rYnwxYw|j}|­4dSdS)zEClear all references to local variables in the frames of a traceback.N)Útb_frameÚclearÚ RuntimeErrorÚtb_next©r+s r#rrés[€à ˆ.ð Ø ŒK× Ò Ñ Ô Ð Ð øÝð ð ð à ˆDð øøøðŒZˆð ˆ.ˆ.ˆ.ˆ.ˆ.s „ž +ª+cóv—eZdZdZdZdddddddœd„Zd„Zd„Zd „Zd „Z d „Z e d „¦«Z e d „¦«Z dS)ra>Information about a single frame from a traceback. - :attr:`filename` The filename for the frame. - :attr:`lineno` The line within filename for the frame that was active when the frame was captured. - :attr:`name` The name of the function or method that was executing when the frame was captured. - :attr:`line` The text from the linecache module for the of code that was running when the frame was captured. - :attr:`locals` Either None if locals were not supplied, or a dict mapping the name to the repr() of the variable. )ÚfilenameÚlinenoÚ end_linenoÚcolnoÚ end_colnoÚnameÚ_lineÚlocalsTN)Ú lookup_liner€rWr{r|r}cóÈ—||_||_||_||_|r|j|rd„| ¦«D¦«nd|_||_||_| |_ dS)a›Construct a FrameSummary. :param lookup_line: If True, `linecache` is consulted for the source code line. Otherwise, the line will be looked up when first needed. :param locals: If supplied the frame locals, which will be captured as object representations. :param line: If provided, use this instead of looking up the line in the linecache. có4—i|]\}}|t|¦«“ŒSr4)Úrepr)Ú.0ÚkÚvs r#ú z)FrameSummary.__init__..s$€Ð=Ð=Ð=¡d a¨�q�$˜q™'œ'Ð=Ð=Ð=r%N) ryrzr~rrWÚitemsr€r{r|r}) r6ryrzr~r�r€rWr{r|r}s r#Ú__init__zFrameSummary.__init__sp€ð!ˆŒ ؈Œ ؈Œ ؈Œ Ø ð Ø ŒIˆIØAGÐQÐ=Ð=¨f¯lªl©n¬nÐ=Ñ=Ô=Ð=ÈTˆŒ Ø$ˆŒØˆŒ Ø"ˆŒˆˆr%có —t|t¦«r@|j|jko/|j|jko|j|jko|j|jkSt|t ¦«r|j|j|j|jf|kStS©N) r?rryrzr~r€ÚtuplerWÚNotImplemented©r6Úothers r#Ú__eq__zFrameSummary.__eq__s‘€Ý �e�\Ñ *Ô *ð 1Ø”M U¤^Ò3ð0Ø”K 5¤<Ò/ð0à”I ¤Ò+ð0ð”K 5¤<Ò/ð 1õ �e�UÑ #Ô #ð OØ”M 4¤;°´ ¸4¼9ÐEÈÒNÐ NÝÐr%cóB—|j|j|j|jf|SrŒ)ryrzr~rW)r6Úposs r#Ú __getitem__zFrameSummary.__getitem__&s€Ø” ˜tœ{¨D¬I°t´yÐAÀ#ÔFÐFr%cóP—t|j|j|j|jg¦«SrŒ)Úiterryrzr~rWr5s r#Ú__iter__zFrameSummary.__iter__)s!€Ý�T”] D¤K°´¸D¼IÐFÑGÔGÐGr%cóP—d |j|j|j¬¦«S)Nz7)ryrzr~)rryrzr~r5s r#r7zFrameSummary.__repr__,s0€ØH×OÒOØ”]¨4¬;¸T¼YðPñHôHð Hr%có—dS)Nér4r5s r#Ú__len__zFrameSummary.__len__0s€Øˆqr%có—|j|jSrŒ)rWrr5s r#Ú_original_linezFrameSummary._original_line3s€ð Œ ˆ ØŒzÐr%cóœ—|j€-|j€dStj|j|j¦«|_|j ¦«SrŒ)rrzÚ linecacheÚgetlineryÚstripr5s r#rWzFrameSummary.line9sC€à Œ:Ð ØŒ{Ð"Ø�tÝ"Ô*¨4¬=¸$¼+ÑFÔFˆDŒJØŒz×ÒÑ!Ô!Ð!r%)r8r9r:Ú__doc__Ú __slots__rŠr‘r”r—r7r›Úpropertyr�rWr4r%r#rrôsÚ€€€€€ð ð ð,€Ið?CؘdØ 4°4ð#ð#ð#ð#ð#ð.ðððGðGðGðHðHðHðHðHðHððððððñ„Xðð ð"ð"ñ„Xð"ð"ð"r%rc#óŒK—|€'tj¦«jjjj}|�||jfV—|j}|­dSdS)zÖWalk a stack yielding the frame and line number for each frame. This will follow f.f_back from the given frame. If no frame is given, the current stack is used. Usually used with StackSummary.extract. N)rrjrkÚf_lineno)rls r#rrBsQèè€ð  €yÝ ŒM‰OŒOÔ "Ô )Ô 0Ô 7ˆØ ˆ-Ø�”ˆmÐÐÐØ ŒHˆð ˆ-ˆ-ˆ-ˆ-ˆ-r%c#óDK—|�|j|jfV—|j}|­dSdS)zÈWalk a traceback yielding the frame and line number for each frame. This will follow tb.tb_next (and thus is in the opposite order to walk_stack). Usually used with StackSummary.extract. N)rsÚ tb_linenorvrws r#rrOs8èè€ð ˆ.ØŒk˜2œ<Ð'Ð'Ð'Ð'Ø ŒZˆð ˆ.ˆ.ˆ.ˆ.ˆ.r%c#óÂK—|�Zt|jj|j¦«}|d€|j|jf|dd…zfV—n |j|fV—|j}|­XdSdS)Nré)Ú_get_code_positionrsÚf_codeÚtb_lastir¨rv)r+Ú positionss r#r0r0Zs€èè€ð ˆ.Ý& r¤{Ô'9¸2¼;ÑGÔGˆ ð �QŒ<Ð Ø”+ ¤ Ð/°)¸A¸B¸B´-Ñ?Ð?Ð ?Ð ?Ð ?Ð ?à”+˜yÐ(Ð (Ð (Ð (Ø ŒZˆð ˆ.ˆ.ˆ.ˆ.ˆ.r%có†—|dkrdS| ¦«}ttj||dzd¦«¦«S)Nr)NNNNé)Ú co_positionsÚnextÚ itertoolsÚislice)ÚcodeÚinstruction_indexÚ positions_gens r#r«r«hsG€Ø˜1ÒÐØ'Ð'Ø×%Ò%Ñ'Ô'€MÝ • Ô  Ð0AÀQÑ0FÈÑMÔMÑ NÔ NÐNr%écót—eZdZdZeddddœd„¦«Zeddddœd„¦«Zed„¦«Zd „Zd „Z dS) rz?A list of FrameSummary objects, representing a stack of frames.NTF©r)Ú lookup_linesÚcapture_localscóP‡—ˆfd„}| |¦«|||¬¦«S)aWCreate a StackSummary from a traceback or stack object. :param frame_gen: A generator that yields (frame, lineno) tuples whose summaries are to be included in the stack. :param limit: None to include all frames or the number of frames to include. :param lookup_lines: If True, lookup lines for each frame immediately, otherwise lookup is deferred until the frame is rendered. :param capture_locals: If True, the local variables from each frame will be captured as object representations into the FrameSummary. c3ó0•K—‰D]\}}||dddffV—ŒdSrŒr4)rlrzÚ frame_gens €r#Úextended_frame_genz0StackSummary.extract..extended_frame_gen‚sAøèè€Ø&ð 4ð 4‘ ��6ؘ& $¨¨dÐ3Ð3Ð3Ð3Ð3Ð3ð 4ð 4r%rº)r/)Úklassr¿r)r»r¼rÀs ` r#rozStackSummary.extracttsNø€ð 4ð 4ð 4ð 4ð 4ð×5Ò5Ø Ð Ñ Ô ¨¸LØ)ð6ñ+ô+ð +r%c ó@—|€ ttdd¦«}|�|dkrd}|�3|dkrtj||¦«}nt j|| ¬¦«}|¦«}t ¦«}|D]„\}\}} } } |j} | j} | j }|  | ¦«tj | |j ¦«|r|j}nd}| t!| ||d|| | | ¬¦«¦«Œ…|D]} tj| ¦«Œ|r |D] }|jŒ |S)NÚtracebacklimitr)ÚmaxlenF)r�r€r{r|r})Úgetattrrr³r´Ú collectionsÚdequeÚsetr¬Ú co_filenameÚco_nameÚaddrŸÚ lazycacheÚ f_globalsÚf_localsÚappendrÚ checkcacherW)rÁr¿r)r»r¼ÚresultÚfnamesrlrzr{r|r}Úcoryr~rÎs r#r/z-StackSummary._extract_from_extended_frame_genŠs|€ð ˆ=Ý�CÐ!1°4Ñ8Ô8ˆEØÐ  U¨Q¢Y YØ�Ø Ð Ø˜ŠzˆzÝ%Ô,¨Y¸Ñ>Ô>� � å'Ô-¨iÀÀÐGÑGÔG� à�‘”ˆÝ‘”ˆØ9Bð Jð JÑ 5ˆAÑ5�˜  E¨9Ø”ˆBØ”~ˆHØ”:ˆDà �JŠJ�xÑ Ô Ð Ý Ô  ¨!¬+Ñ 6Ô 6Ð 6àð Øœ:��à�Ø �MŠM�,ؘ& $°EÀ(Ø%¨U¸iðIñIôIñ Jô Jð Jð Jðð +ð +ˆHÝ Ô  Ñ *Ô *Ð *Ð *à ð Øð ð �Ø”��؈ r%c óÜ—t¦«}|D]Z}t|t¦«r| |¦«Œ-|\}}}}| t||||¬¦«¦«Œ[|S)z€ Create a StackSummary object from a supplied list of FrameSummary objects or old-style list of tuples. ©rW)rr?rrÏ)rÁÚa_listrÑÚframeryrzr~rWs r#rzStackSummary.from_list´s€õ‘”ˆØð Oð OˆEݘ%¥Ñ.Ô.ð OØ— ’ ˜eÑ$Ô$Ð$Ð$à/4Ñ,�˜& $¨Ø— ’ �l¨8°V¸TÈÐMÑMÔMÑNÔNÐNÐN؈ r%cóV—g}| d |j|j|j¦«¦«|j�ru|j ¦«}| d |¦«¦«|j}t|¦«}t|j  ¦«¦«}||z }|j ��ë|j ��ãt||j ¦«}t||j ¦«} ||| …} d} |j|j krÀÔAXÑ$XÐ[\Ò$\Ñ$\õ'5°T¸<Ñ&HÔ&HÈ1Ñ&L�OÝ$2°4¸Ñ$DÔ$DÀqÑ$H�Mà—J’J˜vÑ&Ô&Ð&Ø—J’J˜s oÐ8KÑ&KÑLÑMÔMÐMàðLÝ-;¸LÈ'ÔJaÑ-bÔ-bÐ*Ý0>¸|ÈWÔMgÑ0hÔ0hÐ-ØŸ š  7Ô#7Ð:LÑ#LÑMÔMÐMØŸ š  7Ô#9Ð=RÐUgÑ=gÑ#hÑiÔiÐiØŸ š  7Ô#7¸=È?Ñ;ZÐ]rÑ;rÑ#sÑtÔtÐtÐtàŸ š  3¨-¸/Ñ*IÑ#JÑKÔKÐKà—J’J˜tÑ$Ô$Ð$à Ô ð TÝ% mÔ&:×&@Ò&@Ñ&BÔ&BÑCÔCð Tð T‘ ��eØ— ’ Ð3×:Ò:ÀÈEÐ:ÑRÔRÑSÔSÐSÐSà�wŠw�s‰|Œ|ÐsÄ0E Å EÅEcó—g}d}d}d}d}|D]·}| |¦«}|€Œ|�%||jks|�||jks |� ||jkrP|tkr.|tz}| d|›d|dkrdnd›d�¦«|j}|j}|j}d}|dz }|tkrŒ¢| |¦«Œ¸|tkr.|tz}| d|›d|dkrdnd›d�¦«|S) aFormat the stack ready for printing. Returns a list of strings ready for printing. Each string in the resulting list corresponds to a single frame from the stack. Each string ends in a newline; the strings may contain internal newlines as well, for those items with source text lines. For long sequences of the same frame and line, the first few repetitions are shown, followed by a summary line stating the exact number of further repetitions. Nrz [Previous line repeated z more timerªÚsrz] )rõryrzr~Ú_RECURSIVE_CUTOFFrÏ)r6rÑÚ last_fileÚ last_lineÚ last_nameÚcountrçÚformatted_frames r#rzStackSummary.formatsŒ€ðˆØˆ ؈ ؈ ؈Ø!ð +ð +ˆMØ"×7Ò7¸ ÑFÔFˆOØÐ&ØØÐ! Y°-Ô2HÒ%HÐ%HØÐ! Y°-Ô2FÒ%FÐ%FØÐ! Y°-Ô2DÒ%DÐ%DØÕ,Ò,Ð,ØÕ.Ñ.�EØ—M’Mð=°Uð=ð=Ø&+¨a¢i i˜s˜s°Rð=ð=ð=ñôðð*Ô2� Ø)Ô0� Ø)Ô.� Ø�Ø �Q‰JˆEØÕ(Ò(Ð(ØØ �MŠM˜/Ñ *Ô *Ð *Ð *à Õ$Ò $Ð $Ø Õ&Ñ &ˆEØ �MŠMð5¨Uð5ð5Ø# aši˜i�s�s¨Rð5ð5ð5ñ ô ð ðˆ r%) r8r9r:r¢Ú classmethodror/rrõrr4r%r#rrqs­€€€€€ØIÐIàØ+/¸dØ ð+ð+ð+ð+ñ„[ð+ð*ØDHبeð'ð'ð'ð'ñ„[ð'ðRððñ„[ðð$?ð?ð?ðB-ð-ð-ð-ð-r%rcó„—| d¦«}t|d|… dd¬¦«¦«S)Nzutf-8Úreplace)Úerrors)ÚencoderÛÚdecode)ÚstrÚoffsetÚas_utf8s r#rÝrÝ8s=€Ø�jŠj˜Ñ!Ô!€GÝ ˆw�w˜�wÔ×&Ò& w°yÐ&ÑAÔAÑ BÔ BÐBr%Ú_Anchors)râráräråú~rÚ)Údefaultscó‡—ddl} | ‰¦«}n#t$rYdSwxYwt|j¦«dkrdSˆfd„}|jd}||jd˜x��™\}|x|jd˜x��F\||jj¦«}||j j ¦«}‰||…}t|¦«t|  ¦«¦«z } |jj| z} | dz} | dzt|¦«kr"|| dz  ¦«s| dz } | t‰¦«kr]‰| x}   ¦«s| dvr=| dz } | dz } | t‰¦«kr ‰| x}   ¦«°9| dv°=t|| ¦«|| ¦«¦«S|jd˜x��5\||jj¦«} ||jjdz¦«} | t‰¦«kr\‰| x}   ¦«s| dkr:| dz } | t‰¦«kr"‰| x}   ¦«°4| dk°:| t‰¦«kr\‰| x}   ¦«s| dkr:| dz } | t‰¦«kr"‰| x}   ¦«°4| dk°:| t‰¦«kr| dz } t| | ¦«SndS)Nrrªcó$•—t‰|¦«SrŒ)rÝ)rÚsegments €r#úz:_extract_caret_anchors_from_line_segment..Ssø€Õ?ÀÈÑPÔP€r%r4z)#ú[ú])ÚastÚparseÚ SyntaxErrorrÛÚbodyÚExprÚBinOpÚleftÚend_col_offsetÚrightÚ col_offsetrÜÚisspacerÚ SubscriptrEÚslice) r rÚtreeÚ normalizeÚ statementÚexprÚoperator_startÚ operator_endÚ operator_strÚoperator_offsetÚ left_anchorÚ right_anchorÚchs ` r#rßrßHs€ø€Ø€J€J€JðØ�yŠy˜Ñ!Ô!ˆˆøÝ ððð؈tˆtðøøøõ ˆ4Œ9�~„~˜ÒÐØˆtàPÐPÐPÐP€IØ” ˜!” €IØ Ø ŒXˆ^ˆ^ˆ^‰^‰^�dØØ �S”Y�[�[�[‘[‘[�[Ø%. Y¨t¬yÔ/GÑ%HÔ%H�NØ#, 9¨T¬ZÔ-BÑ#CÔ#C�LØ#*¨>¸,Ð+FÔ#G�LÝ&)¨,Ñ&7Ô&7½#¸l×>QÒ>QÑ>SÔ>SÑ:TÔ:TÑ&T�Oà"&¤)Ô":¸_Ñ"L�KØ#.°¡?�Là'¨!Ñ+­c°,Ñ.?Ô.?Ò?Ð?Ø ,¨_¸qÑ-@Ô A× IÒ IÑ KÔ Kð@ð%¨Ñ)˜ à%­¨G© ¬ Ò4Ð4ÀÈÔAUÐ;U¸2×:^Ò:^Ñ:`Ô:`Ð4ÐdfÐjnÐdnÐdnØ# qÑ(˜ Ø$¨Ñ)˜ ð&­¨G© ¬ Ò4Ð4ÀÈÔAUÐ;U¸2×:^Ò:^Ñ:`Ô:`Ð4ÐdfÐjnÐdnÐdnõ$ I I¨kÑ$:Ô$:¸I¸IÀlÑÔ>Ð>ð%�_ð)ð> ˆ4s ‡� +ª+ÚWFcó~‡—| ¦«r|SddlŠtˆfd„|d|…D¦«¦«S)zÂCalculate the extra amount of width space the given source code segment might take if it were to be displayed on a fixed width output device. Supports wide unicode characters and emojis.rNc3óX•K—|]$}‰ |¦«tvrdndV—Œ%dS)r°rªN)Úeast_asian_widthÚ_WIDE_CHAR_SPECIFIERS)r…ÚcharÚ unicodedatas €r#ú z!_display_width..„sTøèè€ððà ð× )Ò )¨$Ñ /Ô /Õ3HÐ HÐ HˆˆÈaððððððr%)Úisasciir.Úsum)rWrr.s @r#rãrãysfø€ð  ‡|‚|�~„~ðØˆ àÐÐÐå ððððà˜˜&˜”Mðñôñ ô ðr%có"—eZdZd„Zd„Zdd„ZdS)Ú_ExceptionPrintContextcóH—t¦«|_d|_d|_dS)NrF)rÈÚseenÚexception_group_depthÚ need_closer5s r#rŠz_ExceptionPrintContext.__init__Œs €Ý‘E”EˆŒ Ø%&ˆÔ"؈Œˆˆr%có—dd|jzzS)Nr[r°)r6r5s r#Úindentz_ExceptionPrintContext.indent‘s€Ø�a˜$Ô4Ñ4Ñ5Ð5r%Nc#óôK—|€d}| ¦«}|jr||dzz }t|t¦«rt j||d„¦«V—dS|D]}t j||d„¦«V—ŒdS)Nú|r[có—dS©NTr4rÕs r#r z-_ExceptionPrintContext.emit..œó€ÀT€r%có—dSr=r4rÕs r#r z-_ExceptionPrintContext.emit..Ÿr>r%)r9r6r?rÚtextwrap)r6Útext_genÚ margin_charÚ indent_strÚtexts r#Úemitz_ExceptionPrintContext.emit”s­èè€Ø Р؈KØ—[’[‘]”]ˆ Ø Ô %ð ,Ø ˜+¨Ñ+Ñ +ˆJå �h¥Ñ $Ô $ð KÝ”/ (¨JÐ8IÐ8IÑJÔJÐ JÐ JÐ JÐ JÐ Jà ð Kð K�Ý”o d¨JÐ8IÐ8IÑJÔJÐJÐJÐJÐJð Kð Kr%rŒ)r8r9r:rŠr9rEr4r%r#r3r3‹sL€€€€€ð ð ð ð 6ð6ð6ð Kð Kð Kð Kð Kð Kr%r3cóz—eZdZdZddddddddœd„Zed „¦«Zd „Zd „Zd „Z d „Z d„Z dddœd„Z dddœd„Z dS)ra“An exception ready for rendering. The traceback module captures enough attributes from the original exception to this intermediary form to ensure that no references are held, while still being able to fully print or format it. max_group_width and max_group_depth control the formatting of exception groups. The depth refers to the nesting level of the group, and the width refers to the size of a single exception group's exceptions array. The formatted output is truncated when either limit is exceeded. Use `from_exception` to create TracebackException instances from exception objects, or the constructor to create TracebackException instances from individual components. - :attr:`__cause__` A TracebackException of the original *__cause__*. - :attr:`__context__` A TracebackException of the original *__context__*. - :attr:`exceptions` For exception groups - a list of TracebackException instances for the nested *exceptions*. ``None`` for other exceptions. - :attr:`__suppress_context__` The *__suppress_context__* value from the original exception. - :attr:`stack` A `StackSummary` representing the traceback. - :attr:`exc_type` The class of the original traceback. - :attr:`filename` For syntax errors - the filename where the error occurred. - :attr:`lineno` For syntax errors - the linenumber where the error occurred. - :attr:`end_lineno` For syntax errors - the end linenumber where the error occurred. Can be `None` if not present. - :attr:`text` For syntax errors - the text where the error occurred. - :attr:`offset` For syntax errors - the offset into the text where the error occurred. - :attr:`end_offset` For syntax errors - the end offset into the text where the error occurred. Can be `None` if not present. - :attr:`msg` For syntax errors - the compiler error message. NTFéé )r)r»r¼rIÚmax_group_widthÚmax_group_depthÚ_seenc óú—| du} | €t¦«} |  t|¦«¦«||_| |_t  t|¦«|||¬¦«|_||_ t|d¦«|_ t|dd¦«|_ n6#t$r)} dt| dt¦«›�g|_ Yd} ~ nd} ~ wwxYw|r�t!|t"¦«rz|j|_|j} | �t)| ¦«nd|_|j}|�t)|¦«nd|_|j|_|j|_|j|_|j|_|r| ¦«|�|jnd|_| �sà||fg}|�rÚ| ¦«\}} | rW| j�Pt| j¦«| vr:t=t?| j¦«| j| jj ||||| | ¬¦ « }nd}|r|duo | duo| j }nd}| rY| j!�R|rPt| j!¦«| vr:t=t?| j!¦«| j!| j!j ||||| | ¬¦ « }nd}| ratE| tF¦«rLg}| j$D]A}t=t?|¦«||j ||||| | ¬¦ « }| %|¦«ŒBnd}||_||_!||_$|r!| %|j| jf¦«|r!| %|j!| j!f¦«|r-| &tO|j$| j$¦«¦«|�°ÖdSdSdS)NrºrRÚ __notes__z!Ignored error getting __notes__: F)r)r»r¼rIrJrKT)(rÈrËÚidrIrJrr/r0rqÚexc_typerTÚ_strrÅrMrÞr„Ú issubclassrryrzrr{rDrrîÚmsgÚ _load_linesÚ__suppress_context__ÚpopÚ __cause__rrCrAÚ __context__r?ÚBaseExceptionGroupÚ exceptionsrÏÚextendÚzip)r6rOÚ exc_valueÚ exc_tracebackr)r»r¼rIrIrJrKÚis_recursive_callÚeÚlnoÚend_lnoÚqueuerLÚcauseÚ need_contextÚcontextrYrDÚtexcs r#rŠzTracebackException.__init__ÉsA€ð"¨Ð-ÐØ ˆ=Ý‘E”EˆEØ � Š •"�Y‘-”-Ñ Ô Ð à.ˆÔØ.ˆÔå!×BÒBÝ (¨Ñ 7Ô 7Ø lØ)ðCñ+ô+ˆŒ ð!ˆŒ õ! ¨KÑ8Ô8ˆŒ ð ZÝ$ Y° ¸TÑBÔBˆDŒNˆNøÝð Zð Zð ZàXµLÀÀKÕQUÑ4VÔ4VÐXÐXðZˆDŒNˆNˆNˆNˆNˆNøøøøð Zøøøð ð %�  8­[Ñ9Ô9ð %à%Ô.ˆDŒMØÔ"ˆCØ&) o�#˜c™(œ(˜(¸4ˆDŒKØÔ*ˆGØ.5Ð.A�c '™lœl˜lÀtˆDŒOØ!œˆDŒIØ#Ô*ˆDŒKØ'Ô2ˆDŒOØ ”}ˆDŒHØ ð Ø × Ò Ñ Ô Ð à.7Ð.CˆIÔ *Ð *Èð Ô!ð !ñA CؘIÐ&Ð'ˆEØñ? CØŸ š ™ œ ‘��AØð !˜!œ+Ð1ݘ1œ;™œ¨uÐ4Ð4Ý.ݘQœ[Ñ)Ô)Øœ Øœ Ô1Ø#Ø%1Ø'5Ø(7Ø(7Ø#ð %ñ %ô %�E�Eð!�Eàð(Ø$)¨T Mð%?Ø$%¨T Mð%?à()Ô(>Ð$>ð!�Lð$(�LØð #˜!œ-Ð3Ø$ð4Ý)+¨A¬MÑ):Ô):À%Ð)GÐ)GÝ0ݘQœ]Ñ+Ô+Øœ Øœ Ô3Ø#Ø%1Ø'5Ø(7Ø(7Ø#ð %ñ %ô %�G�Gð#�Gàð&� AÕ'9Ñ:Ô:ð&Ø!#�JØ œ|ð 0ð 0˜Ý1Ý  ™IœIØØÔ-Ø"'Ø)5Ø+9Ø,;Ø,;Ø"'ð )ñ )ô )˜ð#×)Ò)¨$Ñ/Ô/Ð/Ð/ð 0ð"&�Jà$�” Ø!(�”Ø *�” Øð>Ø—L’L "¤,°´ Ð!<Ñ=Ô=Ð=ØðBØ—L’L "¤.°!´-Ð!@ÑAÔAÐAØðCØ—L’L¥ R¤]°A´LÑ!AÔ!AÑBÔBÐBðñ? Cð? Cð? CðA CðA Cð? Cð? CsÂB)Â) CÂ3CÃCcóB—|t|¦«||jg|¢Ri|¤ŽS)z.Create a TracebackException from an exception.)rCrA)ÚclsrDÚargsÚkwargss r#Úfrom_exceptionz!TracebackException.from_exception;s1€ðˆs•4˜‘9”9˜c 3Ô#4ÐF°tÐFÐFÐF¸vÐFÐFÐFr%có(—|jD] }|jŒ dS)z7Private API. force all lines in the stack to be loaded.N)rqrW)r6r×s r#rSzTracebackException._load_lines@s&€à”Zð ð ˆEØ ŒJˆJˆJð ð r%cóZ—t|t¦«r|j|jkStSrŒ)r?rÚ__dict__rŽr�s r#r‘zTracebackException.__eq__Es*€Ý �eÕ/Ñ 0Ô 0ð 3Ø”= E¤NÒ2Ð 2ÝÐr%có—|jSrŒ)rPr5s r#Ú__str__zTracebackException.__str__Js €ØŒyÐr%c#órK—|j€td|j¦«V—dS|jj}|jj}|dvrt |t ¦«sd}|dz|z}t|jt¦«st||j¦«V—n|  |¦«Ed{V—†t |j tj j ¦«rA|j D]7}t|d¦«}d„| d¦«D¦«Ed{V—†Œ8dS|j � t|j dt ¬ ¦«V—dSdS) aëFormat the exception part of the traceback. The return value is a generator of strings, each ending in a newline. Generator yields the exception message. For :exc:`SyntaxError` exceptions, it also yields (before the exception message) several lines that (when printed) display detailed information about where the syntax error occurred. Following the message, generator also yields all the exception's ``__notes__``. N)Ú__main__Úbuiltinsz ú.Únotecó—g|]}|dz‘ŒS)rSr4)r…Úls r#ú z.ls€Ð?Ð?Ð?¨˜A ™HÐ?Ð?Ð?r%rSrM)r])rOrXrPr:r9r?rrQrÚ_format_syntax_errorrMrÆÚabcÚSequencerTÚsplitr„)r6ÚstypeÚsmodrus r#rz(TracebackException.format_exception_onlyMsyèè€ð Œ=Ð Ý(¨¨t¬yÑ9Ô9Ð 9Ð 9Ð 9Ø ˆFà” Ô*ˆØŒ}Ô'ˆØ Ð/Ð /Ð /ݘd¥CÑ(Ô(ð #Ø"�ؘ3‘J Ñ&ˆEå˜$œ-­Ñ5Ô5ð 8Ý(¨°´ Ñ:Ô:Ð :Ð :Ð :Ð :à×0Ò0°Ñ7Ô7Ð 7Ð 7Ð 7Ð 7Ð 7Ð 7Ð 7Ý �d”n¥k¤oÔ&>Ñ ?Ô ?ð GØœð @ð @�Ý# D¨&Ñ1Ô1�Ø?Ð?¨d¯jªj¸Ñ.>Ô.>Ð?Ñ?Ô?Ð?Ð?Ð?Ð?Ð?Ð?Ð?Ð?ð @ð @ðŒ^Ð 'ݘtœ~¨{ÅÐFÑFÔFÐ FÐ FÐ FÐ FÐ Fð(Ð 'r%c#óÜK—d}|j�%d |jpd|j¦«V—n!|j�d |j¦«}|j}|�ï| d¦«}| d¦«}t |¦«t |¦«z }d |¦«V—|j�ˆ|j}|jd vr|jn|}||ks|d kr|d z}|d z |z } |d z |z } | d krHd „|d| …D¦«} d d  | ¦«d| | z zdz¦«V—|j pd} d || |¦«V—dS)z0Format SyntaxError exceptions (internal helper).rNz File "{}", line {} zz ({})rSz rÙ>Nréÿÿÿÿrªrc3óFK—|]}| ¦«r|ndV—ŒdS)r[N)r)r…Úcs r#r/z:TracebackException._format_syntax_error..�s3èè€Ð!UÐ!UÀ!¨¯ ª © ¬ Ð#< 1 1¸Ð!UÐ!UÐ!UÐ!UÐ!UÐ!Ur%z {}{}rÚzz {}: {}{} ) rzrryrDràrÜrÛrrîrcrR) r6r}Úfilename_suffixrDÚrtextÚltextÚspacesrrîr|r}Ú caretspacerRs r#ryz'TracebackException._format_syntax_errorps·èè€ðˆØ Œ;Ð "Ø*×1Ò1Ø” Ð+ ¨T¬[ñ:ô:ð :ð :ð :ð :à Œ]Ð &Ø%Ÿnšn¨T¬]Ñ;Ô;ˆOàŒyˆØ Ð ð—K’K Ñ%Ô%ˆEØ—L’L Ñ)Ô)ˆEݘ‘Z”Z¥# e¡*¤*Ñ,ˆFØ×#Ò# EÑ*Ô*Ð *Ð *Ð *àŒ{Ð&Øœ�Ø04´ÀyÐ0PÐ0P˜Tœ_˜_ÐV\� ؘZÒ'Ð'¨:¸Ò+;Ð+;Ø!'¨!¡�Jð ™  VÑ+�Ø&¨™N¨VÑ3� ؘA’:�:à!UÐ!UÀuÈVÈeÈVÄ}Ð!UÑ!UÔ!U�JØ$×+Ò+¨B¯GªG°JÑ,?Ô,?À#ÈÐUZÑIZÑB[Ð^bÑBbÑdÔdÐdÐdÐdØŒhÐ1Ð1ˆØ×!Ò! %¨¨oÑ>Ô>Ð>Ð>Ð>Ð>Ð>r%©rKÚ_ctxc #óàK—|€t¦«}g}|}|rU|rR|j�t}|j}n!|j�|jst }|j}nd}d}| ||f¦«|}|°Rn| d|f¦«t|¦«D�]Ø\}}|�| |¦«Ed{V—†|j €‚|j rM| d¦«Ed{V—†| |j   ¦«¦«Ed{V—†| |  ¦«¦«Ed{V—†Œ¬|j |jkr%| d|j›d�¦«Ed{V—†Œá|j dk}|r|xj dz c_ |j rS| d|rdnd¬ ¦«Ed{V—†| |j   ¦«¦«Ed{V—†| |  ¦«¦«Ed{V—†t|j ¦«} | |jkr| } n |jdz} d |_t%| ¦«D�]} | | dz k} | rd |_|j� | |jk} nd } | s| dz›nd }| ¦«| dkrd ndzd|›d�zV—|xj dz c_ | s)|j |   ||¬¦«Ed{V—†n6| |jz }|dkrdnd}| d|›d|›d�¦«Ed{V—†| r'|jr | ¦«dzV—d |_|xj dzc_ �Œ|rd|_ �ŒÚdS)a¼Format the exception. If chain is not *True*, *__cause__* and *__context__* will not be formatted. The return value is a generator of strings, each ending in a newline and some containing internal newlines. `print_exception` is a wrapper around this method which just prints the lines to a file. The message indicating which exception occurred is always the last string in the output. Nz#Traceback (most recent call last): z... (max_group_depth is z) rrªz3Exception Group Traceback (most recent call last): ú+)rBFTz...z+-z z+---------------- z ---------------- rˆr÷rzand z more exceptionrSz&+------------------------------------ )r3rVÚ_cause_messagerWrTÚ_context_messagerÏÚreversedrErYrqrrr6rJrÛrIr7Úranger9)r6rKr‰ÚoutputrDÚ chained_msgÚ chained_excrRÚ is_toplevelÚnum_excsÚnÚiÚlast_excÚ truncatedÚtitleÚ remainingÚplurals r#rzTracebackException.format”söèè€ð ˆ<Ý)Ñ+Ô+ˆDàˆØˆØ ð 'Øð "Ø”=Ð,Ý"0�KØ"%¤-�K�KØ”oÐ2ØÔ2ð3å"2�KØ"%¤/�K�Kà"&�KØ"&�Kà— ’ ˜{¨CÐ0Ñ1Ô1Ð1Ø!�ðð "øð �MŠM˜4 ˜+Ñ &Ô &Ð &å  Ñ(Ô(ð> 3ñ> 3‰HˆC�؈؟9š9 S™>œ>Ð)Ð)Ð)Ð)Ð)Ð)Ð)ØŒ~Ð%Ø”9ð=Ø#ŸyšyÐ)OÑPÔPÐPÐPÐPÐPÐPÐPÐPØ#Ÿyšy¨¬×)9Ò)9Ñ);Ô);Ñ<Ô<Ð<Ð<Ð<Ð<Ð<Ð<Ð<ØŸ9š9 S×%>Ò%>Ñ%@Ô%@ÑAÔAÐAÐAÐAÐAÐAÐAÐAÐAØÔ+¨dÔ.BÒBÐBàŸ9š9ØH¨tÔ/CÐHÐHÐHñJôJðJðJðJðJðJðJðJðJð $Ô9¸QÒ>� Øð4ØÐ.Ô.°!Ñ3Ð.Ô.à”9ð=Ø#ŸyšyØNØ-8Ð&B c c¸dð )ñ Dô DðDðDðDðDðDðDðDð $Ÿyšy¨¬×)9Ò)9Ñ);Ô);Ñ<Ô<Ð<Ð<Ð<Ð<Ð<Ð<Ð<àŸ9š9 S×%>Ò%>Ñ%@Ô%@ÑAÔAÐAÐAÐAÐAÐAÐAÐAݘsœ~Ñ.Ô.�ؘtÔ3Ò3Ð3Ø �A�AàÔ,¨qÑ0�AØ"'�”ݘq™œð4ñ4�AØ ! Q q¡S¢�HØð/à*.˜œàÔ+Ð7Ø%&¨$Ô*>Ò%>˜ ˜ à$)˜ Ø,5Ð@˜q ™s˜H˜H¸5�EØŸ;š;™=œ=Ø$% q¢D D˜D˜D¨dñ4àJ°ÐJÐJÐJñKðLðLðLðÐ.Ô.°!Ñ3Ð.Ô.Ø$ðIØ#&¤>°!Ô#4×#;Ò#;À%ÈdÐ#;Ñ#SÔ#SÐSÐSÐSÐSÐSÐSÐSÐSà$,¨tÔ/CÑ$C˜ Ø(1°Aª ¨   ¸2˜Ø#'§9¢9ØG 9ÐGÐG¸VÐGÐGÐGñ$Iô$IðIðIðIðIðIðIðIð ð0 D¤Oð0Ø#Ÿ{š{™}œ}ØHñ IðJðJðJà*/˜œØÐ.Ô.°!Ñ3Ð.Ô.Ñ.àð3à12�DÔ.ùð}> 3ð> 3r%rJcóx—|€ tj}| |¬¦«D]}t||d¬¦«ŒdS)z7Print the result of self.format(chain=chain) to 'file'.NrNrr)rrrr )r6rrKrWs r#r zTracebackException.printùsM€à ˆ<Ý”:ˆDØ—K’K e�KÑ,Ô,ð +ð +ˆDÝ �$˜T rÐ *Ñ *Ô *Ð *Ð *ð +ð +r%)r8r9r:r¢rŠrþrkrSr‘rprryrr r4r%r#rr¢s €€€€€ð$ð$ðLEIبe¸Uذ¸$ðpCðpCðpCðpCðpCðdðGðGñ„[ðGðððð ððð ððð!Gð!Gð!GðF"?ð"?ð"?ðH#¨ðb3ðb3ðb3ðb3ðb3ðJ!¨ð+ð+ð+ð+ð+ð+ð+r%rrŒr<)NNTr=)NNN)1r¢Úcollections.abcrÆr³rŸrr@Ú contextlibrÚ__all__r$rrr rrŒr�r2r=rFr rrrXrrTr r rrr rrrrrr0r«rørOrrÝÚ namedtuplerrßr,rãr3rr4r%r#úr¡s³ðØFÐFàÐÐÐØÐÐÐØÐÐÐØ € € € Ø€€€ØÐÐÐÐÐð $ð $ð $€ð'ð'ð'ð'ð ;ð ;ð ;ð$7ð7ð7ð7ð0ð0ð0ð0ð7ð7ð7ð7ð*&ðð &ðð ððððñôðð ˆI‰KŒK€ ð ð ð ð#,° ÀØ Tð%ð%ð%ð%ð"$-°À$Øð (ð (ð (ð (ð)2ð,ð,ð,ð,ð&ððð$'ð4ð4ð4ð4ðJðJðJðJðPðPðPðPð(ð(ð(ð(ð 9ð 9ð 9ð 9ð6ð6ð6ð6ð ð ð ð ð ðððK"ðK"ðK"ðK"ðK"ñK"ôK"ðK"ð\ ð ð ðððð ð ð ðOðOðOðÐðDðDðDðDðD�4ñDôDðDðNCðCðCð "ˆ;Ô !Øðððð �3ˆZð ñ ô €ð-ð-ð-ð^Ððððð$KðKðKðKðKñKôKðKð.\+ð\+ð\+ð\+ð\+ñ\+ô\+ð\+ð\+ð\+r%