Ë
    Ž±€e  ã                   ó&   — d Z ddlZddlZddlZd„ Zy)z‰
Copyright 2013 Eygene A. Ryabinkin
Functions to perform stack tracing (for multithreaded programs
as well as for single-threaded ones).
é    Nc                 óê  — i }t        j                  «       D ]  }|j                  ||j                  <   Œ d}t	        t        j                  «       j                  «       «      D ]  \  }}| j                  d||||   fz  «       |dz   }t        j                  |«      D ]S  \  }}}}	| j                  d|||fz  «       |	r"| j                  d|	j                  «       z  «       | j                  d«       ŒU Œ‘ y)z1 Dumps current stack trace into I/O object 'out' r   z
# Thread #%d (id=%d), %s
é   zFile: "%s", line %d, in %sz %sú
N)Ú	threadingÚ	enumerateÚnameÚidentÚlistÚsysÚ_current_framesÚitemsÚwriteÚ	tracebackÚextract_stackÚstrip)
ÚoutÚid2nameÚth_enÚcountÚiÚstackÚfileÚlnor   Úlines
             ú7/usr/share/offlineimap3/offlineimap/utils/stacktrace.pyÚdumpr      sé   € à€GÜ×$Ñ$Ó&ò *ˆØ$Ÿz™zˆ—‘Òð*ð €EÜœ×,Ñ,Ó.×4Ñ4Ó6Ó7ò ‰ˆˆ5Ø	‰	Ð0°E¸1¸gÀa¹jÐ3IÑIÔJØ˜‘	ˆÜ%.×%<Ñ%<¸UÓ%Cò 	Ñ!ˆD#t˜TØI‰IÐ2°d¸CÀÐ5FÑFÔGÙØ—	‘	˜% 4§:¡:£<Ñ0Ô1ØI‰IdOñ		ñó    )Ú__doc__r   r   r   r   © r   r   ú<module>r       s   ðñó Û Û ór   