403Webshell
Server IP : 121.121.20.254  /  Your IP : 216.73.217.51
Web Server : Microsoft-IIS/10.0
System : Windows NT WEB-SERVER 10.0 build 20348 (Windows Server 2022) AMD64
User : IUSR ( 0)
PHP Version : 8.3.28
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  C:/Python315/Lib/test/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : C:/Python315/Lib/test/__pycache__/test_sys_settrace.cpython-315.pyc
R
>lqjfc�V�]QHGs]PHs]PHs]PHs]PHs]QHGs]QH G	s	G
s
Gs]PH0s]PH4s
]PH8s]PH<s]PH@s]PHDs]PHJsQQ2sQQ2sQsQ	sQ
s,Q9N\mQs,Q<N\mQs,Q<N\mQ
s,Q=N\mQs,Q>N\mQs,Q@N\mQs,QAN\mQs Qs!,QBN\!mQs"Qs#,QCN\#mQs$Qs%Q8,\%mQs&Qs',QDN\'mQs(,QEN\(mQs),QFN\)mQs*,QGN\*mQs+Qs,,QHNQ:Q?,]
**Q:Q;,*\,mQs-QQ 2s.Q!Q"\O^2s0,QINs1Q#Q$\02s2\OfQ%Q&\022s4Q'Q(\O^2s5Q)Q*2s6Q+s7Q,s8Q-Q.\O^2s9Q/Q0\O^2s:Q1Q2\O^2s;Q3Q4\02s<Q5Q6\02s=\>Q76Xc\O~2P!P!\cPsCK�h9h)J�)�support��wraps)�
import_helper�requires_subprocess�run_no_yield_async_fnc�8`�\sQs]snQsQsQsQsQsUs	P!)�tracecontextz/Context manager that traces its enter and exit.c� �VmV mP!�N��output�value��selfr
rs&&&�+C:\Python315\\Lib\test\test_sys_settrace.py�__init__�tracecontext.__init__������
�c�R�UOOUO2P!r�r
�appendr�rs&r�	__enter__�tracecontext.__enter__s�������4�:�:�&rc�T�UOOUO'2P!rr�r�exc_infos&*r�__exit__�tracecontext.__exit__s�������D�J�J�;�'rr)
�__name__�
__module__�__qualname__�__firstlineno__�__doc__rrr�__static_attributes__�__classdictcell__��
__classdict__s@rr	r	s����9��'�(�(rr	c�8`�\sQs]!snQsQsQsQsQsUs	P!)�asynctracecontextz>Asynchronous context manager that traces its aenter and aexit.c� �VmV mP!rrrs&&&rr�asynctracecontext.__init__#rrc��Z �UOOUO2P!3hrrrs&r�
__aenter__�asynctracecontext.__aenter__'s��������4�:�:�&�s�)+c��\ �UOOUO'2P!3hrrrs&*r�	__aexit__�asynctracecontext.__aexit__*s��������D�J�J�;�'�s�*,r)
r!r"r#r$r%rr/r2r&r'r(s@rr+r+!s����H��'�(�(rr+c�0 �SFD	oU3w�	J	P!3h)z0Convert an iterable to an asynchronous iterator.�)�iterable�xs& r�	asynciterr8-s���
�����s�c�2`�[R2U1Qk2oU!)c��:` �,nU1QkoRU-U@QU-@EPiw�K
R%c"RO22EPiw�K
J)!K-K	R%c#RO22EPiw�K
J*h9h3h)c�V:�[U2oROUO2U!r)r8r�aclose)r6�it�cleanupss& �r�wrapped_asynciter�;clean_asynciter.<locals>.wrapper.<locals>.wrapped_asynciter6s"����8�$�B��O�O�B�I�I�&��Irr8��pop)�args�kwargsr?r>�tests*, @�r�wrapper� clean_asynciter.<locals>.wrapper3sp������	�	'��t�K�v�K�9J�K�K�K���l�l�n�&�&�&��L�'����l�l�n�&�&�&��sT�
B�A�A�A�B�B�A�B�A�B�A?�A?�5A9
�6	A?�?Br)rErFsf r�clean_asynciterrH2s ���
�4�[�
'��
'��Nrc��]!��r5r5rr�basicrLBs��rc��]o=]oP!rJr5�r7s r�arigo_example0rOQs��	�A�	�
�	�Arc��]o=]oP!rJr5rNs r�arigo_example1rQ_s��	�A�	��	�Arc��]o=]oP!rJr5rNs r�arigo_example2rSms��	�A�	��
��rc��]o=]oP!rJr5rNs r�one_instr_linerU�s��	�A�	�	�Arc�N�]o[]2FDoU%c]oJ]oJ	P!rJ��range)r7�as  r�no_pop_topsrZ�s"��	�A�
�1�X����A��A�	rc�0�]oU%f	[J]oP!rJ)�bla)�yr7s  r�
no_pop_blocksr^�s��	�A���	�Arc��]oP!rJr5rNs r�calledr`�s��	�Arc��[2P!r)r`r5rr�callrb�s��
�Hrc��[gr��	Exceptionr5rr�raisesrf�s��
�Orc�B�[2P![cP!h9hr)rfrer5rr�
test_raiserh�s��
�����
��
�s�
�	��c�|�[OU2U[O2OmP!r)�sys�settrace�	_getframe�f_back�f_trace��	tracefuncs&r�_settrace_and_returnrq�s"���L�L���%.�C�M�M�O���"rc��[U2P!r)rqros&r�settrace_and_returnrs�s
����#rc��[OU2U[O2Om[
gr)rjrkrlrmrn�RuntimeErrorros&r�_settrace_and_raiserv�s(���L�L���%.�C�M�M�O���"�
�rc�D�[U2P![cP!h9hr)rvruros&r�settrace_and_raiserx�s!��
��I�&���
��
�s��	��c�2�]o]oV6XcU]*oP!P!��r5)rY�bs  r�ireturn_exampler}�s��	�A�	�A��v�
�a�C��rc�l�[]]2o]oV*p!]*
oJ[cP!h9h�r�rX�
IndexError)�items�ir|s   r�tightloop_exampler��s9���!�Q�K�E�
�
�����A�Q�$�!���
��
�s�$�	3�3�3c�Z�[]]2o]oV*oJ
[cP!h9hrJr�)r�r�s  r�tighterloop_exampler�s0���!�Q�K�E�
�
���X����
��
�s��	*�*�*c#�( �P	w�P!h9h3h�Tr5r5rr�generator_functionr�*s�����
����	�s��
���c�X�[[22o[]
2FDoSoJ	P!)�
)�anyr�rX)r7r]s  r�generator_exampler�0s%���� �!�A��2�Y��
��rc��PoUOO2FD&vq#oV Ot96:c
U6fJ LJ$SoJ(	VO6H!r)�f_code�co_lines�f_lasti�f_lineno)�frame�	last_line�start�end�lines&    r�lineno_matches_lastir�FsI���I�!�L�L�1�1�3���D��M�M�'�C�'�'��I�4����&�&rc�>`�\sQsQsnQQksQsQsQsQsUs	P!)�Tracer�Mc�.�VmV m,UmP!r)�trace_line_events�trace_opcode_events�events)rr�r�s&&&rr�Tracer.__init__Ns��!2��#6� ���rc��UOdUOUmUOdUOUmP!P!r)r��
f_trace_linesr��f_trace_opcodes)rr�s&&r�_reconfigure_frame�Tracer._reconfigure_frameSs;���!�!�-�"&�"8�"8�E���#�#�/�$(�$<�$<�E�!�0rc��[U2%fPgUOU2UOOUOU12UO
!r)r�r�r�rr��trace�rr��event�args&&&&rr��Tracer.traceYsF��#�E�*�*�*�*�����&������E�N�N�E�2�3��z�z�rc��UOU2Q],2UOOUOU12UO!)c3�0�SF �Dpw�	J		P!3hrr5)�.0�os& r�	<genexpr>�)Tracer.traceWithGenexp.<locals>.<genexpr>as��C���C�q��C�s�)r�r�rr�r�r�s&&&&r�traceWithGenexp�Tracer.traceWithGenexp_s?������&��Q�C�������E�N�N�E�2�3��z�z�r)r�r�r�)NN)
r!r"r#r$rr�r�r�r&r'r(s@rr�r�Ms�����
=���rr�c�$`�\sQsQsnQsQs\Q2sQsQs	Qs
QsQ	sQ
s
QsQsQ
sQsQsQsQsQsQsQsQsQsQsQsQsQsQsQsQs Qs!Qs"Q s#Q!s$Q"s%Q#s&Q$s'Q%s(Q&s)Q's*Q(s+Q)s,Q*s-Q+s.Q,s/Q-s0Q.s1Q/s2Q0s3Q1s4Q2s5Q3s6Q4s7Q5s8Q6s9Q7s:Q8s;Q9s<Q:s=Q;s>Q<s?Q=s@Q>sAQ?sBQ@sCQAsDQBsEQCsFQDsGQEsHQFsI\JO�QG2sLQHsMQIsN\JO�QJ2sOQKsPQLsQUsRP!)M�
TraceTestCase�fc�6�[OOQ2Q6XcUOQ2[O
2Um[O2UO[O[O22P!)�PYTHON_UOPS_OPTIMIZE�0z<Line tracing behavior differs when JIT optimizer is disabled)�os�environ�get�skipTest�gc�	isenabled�using_gc�disable�
addCleanuprjrk�gettracers&r�setUp�TraceTestCase.setUpjsS��
�:�:�>�>�0�1�S�8��M�M�X�Y������
�
�
�
��������c�l�l�n�5rc�Z�UO%c[O2P!P!r)r�r��enablers&r�tearDown�TraceTestCase.tearDownqs���=�=�=��I�I�K�rc��[2!)z@Helper to allow test subclasses to configure tracers differently�r�r5rr�make_tracer�TraceTestCase.make_tracerus���x�rc�`�STTt,tFDvqEUd	VA*
LPU1MJ	oooV#6wcsSOQQO[OSTt,tFDo[	U2MJ	toSTt,tFDo[	U2MJ	to22*2P!P!ttoohttohttoh)Nz"events did not match expectation:
�
)�fail�join�difflib�ndiff�str)r�line_offsetr��expected_events�l�er7s&&&&   r�compare_events�TraceTestCase.compare_eventszs���PV�W�PV�f�q�a�m�1�?��q�A�PV��W��$��I�I�5��	�	�'�-�-��(I��A��Q���(I�9?�(@��A��Q���(@�B�C�C�
D�%��X��)J��(@s�B �B �B&�1B+c��UO2o[OUO2U2[OP2UO	UO
OUOU2P!r)r�rjrkr�r��__code__�co_firstlinenor�)r�funcr��tracers&&& r�run_and_compare�TraceTestCase.run_and_compare�sT���!�!�#�����V�\�\�"������T�����D�M�M�8�8�"�M�M�6�	3rc�>�UOVO2P!r)r�r��rr�s&&r�run_test�TraceTestCase.run_test�s�����T�;�;�/rc���UO2oUUO2[OP2UO	UO
OUOUO2P!r)r�r�rjrkr�r�r�r�)rr�r�s&& r�	run_test2�TraceTestCase.run_test2�sO���!�!�#���V�\�\�����T�����D�M�M�8�8�"�M�M�4�;�;�	8rc�f�[OP2[O2dPgP!r�rjrkr�rs&r�test_set_and_retrieve_none�(TraceTestCase.test_set_and_retrieve_none�s �����T���|�|�~�%�%�%rc���Qo[OU2[O2UIfPg[OP2P![OP2h9h)c��P!rr5�rCs*r�fn�4TraceTestCase.test_set_and_retrieve_func.<locals>.fn����rr�)rr�s& r�test_set_and_retrieve_func�(TraceTestCase.test_set_and_retrieve_func�sG��	�	���R��	��<�<�>�R�'�'�'��L�L����C�L�L���s�A�A�A(c�2�UO[2P!r)r�rLrs&r�
test_01_basic�TraceTestCase.test_01_basic�s���
�
�e�rc�2�UO[2P!r)r�rOrs&r�test_02_arigo0�TraceTestCase.test_02_arigo0�����
�
�n�%rc�2�UO[2P!r)r�rQrs&r�test_02_arigo1�TraceTestCase.test_02_arigo1�r�rc�2�UO[2P!r)r�rSrs&r�test_02_arigo2�TraceTestCase.test_02_arigo2�r�rc�2�UO[2P!r)r�rUrs&r�test_03_one_instr�TraceTestCase.test_03_one_instr�r�rc�2�UO[2P!r)r�r^rs&r�test_04_no_pop_blocks�#TraceTestCase.test_04_no_pop_blocks�s���
�
�m�$rc�2�UO[2P!r)r�rZrs&r�test_05_no_pop_tops�!TraceTestCase.test_05_no_pop_tops�s���
�
�k�"rc�2�UO[2P!r)r�rbrs&r�test_06_call�TraceTestCase.test_06_call�s���
�
�d�rc�2�UO[2P!r)r�rhrs&r�
test_07_raise�TraceTestCase.test_07_raise�s���
�
�j�!rc�2�UO[2P!r)r�rsrs&r�test_08_settrace_and_return�)TraceTestCase.test_08_settrace_and_return�s�����*�+rc�2�UO[2P!r)r�rxrs&r�test_09_settrace_and_raise�(TraceTestCase.test_09_settrace_and_raise�s�����)�*rc�2�UO[2P!r)r�r}rs&r�test_10_ireturn�TraceTestCase.test_10_ireturn�s���
�
�o�&rc�2�UO[2P!r)r�r�rs&r�test_11_tightloop�TraceTestCase.test_11_tightloop�s���
�
�'�(rc�2�UO[2P!r)r�r�rs&r�test_12_tighterloop�!TraceTestCase.test_12_tighterloop�s���
�
�)�*rc�X�UO[2UO2o[OUO
2[2[OP2UO
[OOUO[O2P!r)
r�r�r�rjrkr�r�r�r�r�)rr�s& r�test_13_genexp�TraceTestCase.test_13_genexp�sq���
�
�'�(�
�!�!�#�����V�+�+�,������T�����-�6�6�E�E�"�M�M�+<�+C�+C�	Erc�6�QoUOU,QN2P!)c��P
o]!r�r5rNs r�onliners�2TraceTestCase.test_14_onliner_if.<locals>.onliners�s
���Q�r)�rrb�rKr���r��r*�return�r�)rr%s& r�test_14_onliner_if� TraceTestCase.test_14_onliner_if�s��	�	
����
�	rc�d�QoUOU,QN2QoUOU,QN2P!)c�.�[]2FDoJ	P!��rWrNs r�for_example�0TraceTestCase.test_15_loops.<locals>.for_example�s���1�X���rc�0�]oU]6�cU]*oJP!r2r5rNs r�
while_example�2TraceTestCase.test_15_loops.<locals>.while_example�s���A��a�%��Q���r)r'r(�r3r�r(r9r(�rKr,)r'r9r)��r�r)r;r)r+r-)rr4r7s&  r�
test_15_loops�TraceTestCase.test_15_loops�s<��	�	
����
�	�	�
	
����
�		rc�Z�-o[QU2UOUQ*,QN2P!)z	def f():
�fadef f():
































































































































































































































































    pass)r')�r�)rAr,��execr�)r�	namespaces& r�test_16_blank_lines�!TraceTestCase.test_16_blank_lines�s,���	��
3�Y�?�����c�N�
�	rc�6�QoUOUQQ,2P!)c�@�P[O2m]oP!r)rjrlrn)�linenos rr��0TraceTestCase.test_17_none_f_trace.<locals>.funcs��&*�C�M�M�O�#��Frr'r(r-r�s& r�test_17_none_f_trace�"TraceTestCase.test_17_none_f_traces$��	�	
���T�
�
�
�	rc�6�QoUOU,QN2P!)c�`�[g[cogPo=hh9h[cP!h9h��	Somethingrd)r�r7r]s   rr��4TraceTestCase.test_18_except_with_name.<locals>.funcs7��
�$�#�O�� �$���$���
��
�s$�
�	�����	-�-�-)
r'r(r9r)�r*�	exceptionr;�r{r���r���	r�)rXr,r-r�s& r�test_18_except_with_name�&TraceTestCase.test_18_except_with_name
s��		�	
���T�	
�
	rc�6�QoUOU,QN2P!)c�J�[gQoh9h[c]oP!h9hrOrd)r]r|s  rr��7TraceTestCase.test_19_except_with_finally.<locals>.func#s+��
�$�#�O��#�A���
���
�s�
���	"�"�")	r'r(r9r)rRrT��r���r��rar,r-r�s& r�test_19_except_with_finally�)TraceTestCase.test_19_except_with_finally"s��	�	
���T�
�		rc�``�QQ2nU1QknU1QkoUO2o,QMQMQMQMQMQ	MQ
MQMQMQ
MQMQMQMQMQMQMQ
MQMQMQMQMQMQMQ
MQMQMQMQMQMQMQ
MQMQMQMQMQMQMQMQMQMoUUO2UOROO
UOU2P![cK@h9h)c�4`�\sQsQsnQsQsQsQsUsP!)�BTraceTestCase.test_20_async_for_loop.<locals>.AsyncIteratorWrapper�8c�(�[U2UmP!r)�iter�_it)r�objs&&rr�KTraceTestCase.test_20_async_for_loop.<locals>.AsyncIteratorWrapper.__init__9s
����9��rc��U!rr5rs&r�	__aiter__�LTraceTestCase.test_20_async_for_loop.<locals>.AsyncIteratorWrapper.__aiter__<����rc��b �[UO2![c[gh9h3hr)�nextrk�
StopIteration�StopAsyncIterationrs&r�	__anext__�LTraceTestCase.test_20_async_for_loop.<locals>.AsyncIteratorWrapper.__anext__?s,���-�����>�)��$�-�,�,�-�s�/��/�	,�,�/)rk)	r!r"r#r$rrorvr&r'r(s@r�AsyncIteratorWrapperrg8s����
%�
�
-�
-rrxc��L: �RQ2Piw�K
oSoJK	B
]*oP!3h)�abcr5)�letterr7r]rxs   �r�
doit_async�8TraceTestCase.test_20_async_for_loop.<locals>.doit_asyncEs,���� 4�U� ;�
�
�f���
� ;��A�s�
$����$��$c��:�R2o[OU2UOP2[OP2P![OP2h9hr)rjrk�send)r�r7r|s& �r�run�1TraceTestCase.test_20_async_for_loop.<locals>.runJs?�����A�
#����V�$����t�����T�"�����T�"�s�'A
�
A"r'r()i�rb)���r�)r�r,�i����rb����r��r�r,����rb����r�����r��r�r,�rKrSr9�r�rS����r�����r��r�rS�r�r,r)r+)r�r�rer�r�r�r�)rr�r�r�rxr|s&   @@r�test_20_async_for_loop�$TraceTestCase.test_20_async_for_loop7s���	-�	-�	�
	#��!�!�#��(��(��(��(��	(�
 �(��
(��(��(��(��(��(��(�!�(��(��(� �!(�"�#(�$�%(�&�'(�(!�)(�*�+(�,�-(�.�/(�0�1(�2�3(�4�5(�6!�7(�8�9(�:�;(�<�=(�>�?(�@�A(�B"�C(�D�E(�F�G(�H"�I(�J�K(�L!�M(�N�O(�P�Q(��R	������	
���J�/�/�>�>�"�M�M�6�	3���	��	�s�=C�	C�C�Cc�`�QnU1QkoUO2oU2o[OUO2UO	P2[OP2,QNoUO
UOOUOU2P![
cKZh9h[OP2h9h)c�B �[U2FD	oU3w�	J	P!3hrrW)�nr�s& r�arange�GTraceTestCase.test_async_for_backwards_jump_has_no_line.<locals>.arange�s����1�X�����s�c��X: �R]2Piw�K
oU]d6�fJP!KBP!3h�r*r5)r�r�s �rr@�BTraceTestCase.test_async_for_backwards_jump_has_no_line.<locals>.f�s*����!�!�9�
�
�a��s�7��
�9�s �
*�'�%�'�*�*�'�*)r'r(�r�rbr�����r��r�r,r9r(�r�rbr�r�r�r9r(r�r�r�r�r9r(r�r�r�r�r:)
r�rjrkr�rrer�r�r�r�)rr@r��coror�r�s&    @r�)test_async_for_backwards_jump_has_no_line�7TraceTestCase.test_async_for_backwards_jump_has_no_line�s����	�	�
�!�!�#���s��	��L�L����&��I�I�d�O�
�L�L���
��6	
���A�J�J�5�5�"�M�M�6�	3��A�	��	��
�L�L���s)�1B"�"	B0�,B0�-B3�/B0�0B3�3Cc�6�QoUOU,QN2P!)c�
�P!rr5r5rrr��1TraceTestCase.test_21_repeated_pass.<locals>.func�s���r�r'r(r9�r3r,r-r�s& r�test_21_repeated_pass�#TraceTestCase.test_21_repeated_pass�s��	�	
���T�
�	rc�6�QoUOU,QN2P!)c�.�QFDoJ	]!]!9h)rKr5r5�r�s rr��3TraceTestCase.test_loop_in_try_except.<locals>.func�s��
��A�T����
��s�
��r'r(r9r)r+r-r�s& r�test_loop_in_try_except�%TraceTestCase.test_loop_in_try_except�s��	�	
���T�
�	rc�>`�U1QknUOR,QN2P!)c�P:�ROQ6XcP!K9hh9h�F�Fred)r!�r�s�rr��8TraceTestCase.test_try_except_no_exception.<locals>.func�s:���

������=�=�F�*����
����s�#�#� �#�%�	r'r(r9r^r`�r�r���r���r��r�r,r-r�s&@r�test_try_except_no_exception�*TraceTestCase.test_try_except_no_exception�����	� 	
���T�
�		rc�6�QoUOU,QN2P!)c�P�[gL9hLh9hL9hP!h9hrrdr5rrr��6TraceTestCase.test_try_exception_in_else.<locals>.func�s>��

����#�O��	���A�
��B��
������s$����#����#�%)r'r(r9r)r`rU)rVrSr�r���r�r�r�r-r�s& r�test_try_exception_in_else�(TraceTestCase.test_try_exception_in_else�s��	� 	
���T�
�	rc�6�QoUOU,QN2P!)c�j�[]2FDo[]2FDoV*oJ
	J 	W]6H!r2rW)r��jrYs   rr��-TraceTestCase.test_nested_loops.<locals>.funcs0���1�X���q��A���A�"����6�Mr)r'r(r9r)r9r)r9r(r9r)r9r)r9r(r;�r<r,r-r�s& r�test_nested_loops�TraceTestCase.test_nested_loops
s��	�	
���T�
�	rc�6�QoUOU,QN2P!)c�^�]],oU%cUO2oU%fJ"U!]coU!rJrA)�seqr�s  rr��)TraceTestCase.test_if_break.<locals>.func)s4���a�&�C���G�G�I���1���H����Hr)r'r(r9r)r;r9r)r;rTrU�rVr,r-r�s& r�
test_if_break�TraceTestCase.test_if_break's��	�	
���T�

�	rc�H�QoSOS,QNQQ,*2P!)c��Qvqq#[]2FDo]oU]6�c]
oL	]o]
oJ	U]6XcU]
6XcU]6XfPgP!]
oh9h]oK&9h)rK)rKrKrK�crW)rY�c�dr�s    rr��6TraceTestCase.test_break_through_finally.<locals>.funcBsv��$�J�A�!�

��q��A�����q�5�!�������"���6�a�2�g�!�q�&�0�0�&�����
���s+�A�A	�A�A	�A�	A
�
A�A)r'r(r9r)r;rTr^rUr�r)r;rTr^r`r���
r��r�r,r-r�s& r�test_break_through_finally�(TraceTestCase.test_break_through_finally@s/��
	1�	
���T�
��^�,�
Q�	Rrc�H�QoSOS,QNQQ,*2P!)c��Qvqq#o[]2FDo]oU]6�c]
oJ]o]
oJ	VV#1Q6XfPgP!]
oh9h]oK9h)rK)rKrKrKrKr�)r{rVr�rKrW)rYr|r�r�r�s     rr��9TraceTestCase.test_continue_through_finally.<locals>.funceso��*�M�A�!��

��q��A�����q�5�$�������"��!�<�=�0�0�0�����
���s(�A�<�A�<�A�A�A�A	)r'r(r9r)r;rTr^rUr�r)r;rTr^r`r�r)r�r�r-r�s& r�test_continue_through_finally�+TraceTestCase.test_continue_through_finallycs/��
	1�	
���T�
� �^�,�!
P�	Qrc�6�QoUOU,QN2P!)c��]!h9hr2r5r5rrr��7TraceTestCase.test_return_through_finally.<locals>.func�s��
�����s��r'r(r9r;r�r-r�s& r�test_return_through_finally�)TraceTestCase.test_return_through_finally�s��	�	
���T�
�	rc�6�QoUOU,QN2P!)c�\�]]*]
![cKh9hh9h]
!9hr2)r�r5rrr��;TraceTestCase.test_try_except_with_wrong_type.<locals>.func�sC��
���a�C����
"�������
���s$�	�	��!��!�#�&�+)r'r(r9r)rRr;r`rUrWr��r�r,r-r�s& r�test_try_except_with_wrong_type�-TraceTestCase.test_try_except_with_wrong_type�s��
	�	
���T�

�	rc�B`�P	nU1QkoUOU,QN2P!)Tc�J:�[gR%c]ohh9h]oS!9hrJrd)�result�	conditions �rr��9TraceTestCase.test_finally_with_conditional.<locals>.func�s1���
�#�#�O�� �!"��!��
����M�s�����")r'r(r9r)rRrTr^rUrWr�r�r-)rr�r�s& @r�test_finally_with_conditional�+TraceTestCase.test_finally_with_conditional�s&����	�
	�	
���T�

�	rc�6�QoUOU,QN2P!)c�X�]o],oU%cUO2U%cJ#P!rJrA��TRUEr7s  rr��3TraceTestCase.test_break_to_continue1.<locals>.func�s(���D���A���������	r)
r'r(r9r)r;rTr^r`r)r+r-r�s& r�test_break_to_continue1�%TraceTestCase.test_break_to_continue1�s��	�	
���T�	
�
	rc�6�QoUOU,QN2P!)c�Z�]o],oU%cUO2U%cJ"J$P!rJrArs  rr��3TraceTestCase.test_break_to_continue2.<locals>.func�s(���D���A���������r)	r'r(r9r)r;rTr^r)r+r-r�s& r�test_break_to_continue2�%TraceTestCase.test_break_to_continue2�s��	�	
���T�
�		rc�6�QoUOU,QN2P!)c�6�]oU%cU%cP!P!P!rJr5)rs rr��/TraceTestCase.test_break_to_break.<locals>.func�s���D�����r)r'r(r9r)r;rT�r{r,r-r�s& r�test_break_to_break�!TraceTestCase.test_break_to_break�s��	�	
���T�
�	rc�6�QoUOU,QN2P!)c�>�]9qU]6XcU]6Xc]oP!]oP!]oP!rJr5)rYr|r7r]�zs     rr��+TraceTestCase.test_nested_ifs.<locals>.funcs&���I�A��A�v���6��A��A��r�r'r(r9r)r;r�r-r�s& r�test_nested_ifs�TraceTestCase.test_nested_ifss��	�	
���T�
�	rc�R```�UUU1QkoP	9nnP
nUOU,QN2P!)c�:�R%c%R%cR%c[%cP
!P!P!P
![%c[%cP	!P!P!�F)�D�E�F)�A�B�Cs���rr��4TraceTestCase.test_nested_ifs_with_and.<locals>.func$s6�������1�#(���!���q�q���rr�r-)rr�rrrs& @@@r�test_nested_ifs_with_and�&TraceTestCase.test_nested_ifs_with_and"s-���		����A������T�
�	rc�6�QoUOU,QN2P!)c�n�Qo]]*]oP![cSQ6Xc[2g]oP!h9h)�hello�raise)�ZeroDivisionError�
ValueError)r7r@s  rr��.TraceTestCase.test_nested_try_if.<locals>.func;sD���A�
'��!���A��%�
'���<�$�,�&� ��A�
'�s�	�	4�4�
4�4�	r'r(r9r)rRr;rTr`rbr-r�s& r�test_nested_try_if� TraceTestCase.test_nested_try_if9���	�	
���T�
�		rc�R`�QQ2nU1QkoUOU,QN2P!)c�.`�\sQsQsnQsQsQsUsP!)�.TraceTestCase.test_if_false_in_with.<locals>.CiQc��U!rr5rs&rr�8TraceTestCase.test_if_false_in_with.<locals>.C.__enter__Rrqrc��P!rr5r�s*rr�7TraceTestCase.test_if_false_in_with.<locals>.C.__exit__T���rr5�r!r"r#r$rrr&r'r(s@rrr0Q�����
�
�
rrc�d:�R29^tt^2PPP2P!)%fhP!9hrr5�rs�rr��1TraceTestCase.test_if_false_in_with.<locals>.funcWs��������������/	�/	)r'r(�r�rbr�r�r9r(r�r�r�r:r-)rr�rs& @r�test_if_false_in_with�#TraceTestCase.test_if_false_in_withOs)���	�	�	�
	
���T�

�	rc�6�QoUOU,QN2P!)c�:�P![c[P!h9hr)re�Xr5rrr��7TraceTestCase.test_if_false_in_try_except.<locals>.funcks��
����
���
�s�	��r�r-r�s& r�test_if_false_in_try_except�)TraceTestCase.test_if_false_in_try_exceptis��	�	
���T�
�	rc�6�QoUOU,QN2P!)c��QQ2oP!)c�6�\sQsQs]]	6c]sQsP!]sQsP!)�DTraceTestCase.test_implicit_return_in_class.<locals>.func.<locals>.Ai{r5)r!r"r#r$rYr&r5rrrrH{s���q�5��A��Arrr5)rs rr��9TraceTestCase.test_implicit_return_in_class.<locals>.funczs��
�
r�r'r(�rKrbr(r9r)r+r:r-r�s& r�test_implicit_return_in_class�+TraceTestCase.test_implicit_return_in_classxs��	�	
���T�
�	rc�6�QoUOU,QN2P!)c�b�P![coPo=P!Po=hh9h[cP!h9hrrd��exs rr��+TraceTestCase.test_try_in_try.<locals>.func�s3��
���� �������
��
�s �	�����	.�.�.r�r-r�s& r�test_try_in_try�TraceTestCase.test_try_in_try�s��	�	
���T�
�	rc�d�QoUOU,QN2QoUOU,QN2P!)c�j�[g[coPo=P!Po=hh9h[cP!h9hr)�	TypeErrorr(rPs rr��:TraceTestCase.test_try_in_try_with_exception.<locals>.func�s5��
��#�O��!�������
��
��$�
�	 � �#� �#�	2�2�2c�j�[g[coPo=P!Po=hh9h[cP!h9hr�r(rWrPs rr�rX�s6��
��$�$��!�������
��
�rY�	r'r(r9r)rRr;r^r`rb)r'r(r9r)rRr;rTr
r-r�s& r�test_try_in_try_with_exception�,TraceTestCase.test_try_in_try_with_exception�s:��	�	
���T�
�		�	�	
���T�
�	rc�:�QQkoUOU,QN2P!)rc�D�U%cU%c
U%cP!P!P!P!rr5)rY�prs&&&rr��/TraceTestCase.test_if_in_if_in_if.<locals>.func�s�������	�r)rrKrKr�r-r�s& r�test_if_in_if_in_if�!TraceTestCase.test_if_in_if_in_if�s��	�	
���T�
�	rc�`�QQ2nU1QkoU1QkoUOU,QN2UOU,QN2P!)c�.`�\sQsQsnQsQsQsUsP!)�-TraceTestCase.test_early_exit_with.<locals>.Ci�c��U!rr5rs&rr�7TraceTestCase.test_early_exit_with.<locals>.C.__enter__�rqrc��P!rr5r�s*rr�6TraceTestCase.test_early_exit_with.<locals>.C.__exit__�r5rr5r6r(s@rrrg�r7rrc	�|:�QFDoR29^tt^2PPP2P!	P!)%fhJ59h�rK�rKr3r5)r�rs �r�
func_break�6TraceTestCase.test_early_exit_with.<locals>.func_break�s0������S�S���S���
��S�S�s�*	�;
�;
c�d:�R29^tt^2PPP2P!)%fhP!9hrr5r9s�r�func_return�7TraceTestCase.test_early_exit_with.<locals>.func_return�s�����������r;)
r'r(r9r<r�r�r)r9r�r�r�r;r�)r'r()r�rb)���r�)rtr,r9r(r�r�r�r:r-)rrorrrs&  @r�test_early_exit_with�"TraceTestCase.test_early_exit_with�sE���	�	�	�	�	
���Z�
�
	�	
���[�

�	rc�D`�QnU1QkoUOU,QN2P!)c�b�U%c]U]*
*U!U![cS!h9hrJ�r'rNs&r�foo�;TraceTestCase.test_flow_converges_on_same_line.<locals>.foos9�����q�1�u�I��H�1�H��)����H��s��	.�.�.c�@:�[]2FDoRU2J
	P!r2rW)r�rzs �rr��<TraceTestCase.test_flow_converges_on_same_line.<locals>.funcs����1�X���A��r)r'r(r9�r�rb�i����r�r�r�r(r9r~r)r�r�r�)r�rSr�r�r�r�r(r:r-)rr�rzs& @r� test_flow_converges_on_same_line�.TraceTestCase.test_flow_converges_on_same_lines$���	�	�	
���T�
�	rc�6�QoUOU,QN2P!)c�d�]o]U*Q![coS%cgPo=Q!Po=hh9h)r�donery)r7�errors  rr��CTraceTestCase.test_no_tracing_of_named_except_cleanup.<locals>.func*s8���A�
��!����%�
������
�s�	�	/�/�*�*�/r*r-r�s& r�'test_no_tracing_of_named_except_cleanup�5TraceTestCase.test_no_tracing_of_named_except_cleanup(s��	�	
���T�	�		rc�R`�QQ2nU1QkoUOU,QN2P!)c�.`�\sQsQsnQsQsQsUsP!)�DTraceTestCase.test_tracing_exception_raised_in_with.<locals>.NullCtxi@c��U!rr5rs&rr�NTraceTestCase.test_tracing_exception_raised_in_with.<locals>.NullCtx.__enter__Arqrc��P!rr5)r�excinfos&*rr�MTraceTestCase.test_tracing_exception_raised_in_with.<locals>.NullCtx.__exit__Cr5rr5r6r(s@r�NullCtxr�@r7rr�c�:�R29^tt^2]]*PPP2P!)%fhP!9h[cP!h9hrJry)r�s�rr��ATraceTestCase.test_tracing_exception_raised_in_with.<locals>.funcFs3���
��Y�Y��a�C��Y�Y�Y��$�
��
�s-�;�
'�;�8	�8	�;�;�	A
�A
�	A
)r'r(r9r<r�r�r)rRr9r�r�r�r;rTr
r-)rr�r�s& @r�%test_tracing_exception_raised_in_with�3TraceTestCase.test_tracing_exception_raised_in_with>s)���	�	�	�	
���T�
�	rc�>`�U1QknUOR,QN2P!)c�:�ROQ6XcP!,9[9dMLMMLM49eK th9hh9hr�)rer!r�s�rr��=TraceTestCase.test_try_except_star_no_exception.<locals>.func`sH���

������=�=�F�*����
�I�
���
����s!�A�A�=�
=�=�A�Ar�r-r�s&@r�!test_try_except_star_no_exception�/TraceTestCase.test_try_except_star_no_exception^r�rc�6�QoUOU,QN2P!)c�l�P!,9[9doPo=ML	Po=MMLM49eK&th9hh9hrrd�r�s rr��CTraceTestCase.test_try_except_star_named_no_exception.<locals>.func}s0��
�����
�I�
���
���
�s�1�.�.�.�1�3)r'r(r9r^rUr�r-r�s& r�'test_try_except_star_named_no_exception�5TraceTestCase.test_try_except_star_named_no_exception{s��	�	
���T�
�	rc�6�QoUOU,QN2P!)c�r�[]2g,9[9dMLMMLM49eLth9hP!h9hr2�r(r5rrr��ATraceTestCase.test_try_except_star_exception_caught.<locals>.func�s2��
� ��m�#��
�J�
���
���
���s��/�
/�/�4�6�r'r(r9�r3rSr)r;rUr�r-r�s& r�%test_try_except_star_exception_caught�3TraceTestCase.test_try_except_star_exception_caught����	�	
���T�
�	rc�6�QoUOU,QN2P!)c�~�[]2g,9[9doPo=ML	Po=MMLM49eLth9hP!h9hr2r�r�s rr��GTraceTestCase.test_try_except_star_named_exception_caught.<locals>.func�s2��
� ��m�#��
�J�
���
���
���s��5�5�5�:�<r�r-r�s& r�+test_try_except_star_named_exception_caught�9TraceTestCase.test_try_except_star_named_exception_caught�r�rc�6�QoUOU,QN2P!)c��[]2g,9[9dMLMMLM49eP!th9h[cP!h9hr�r[r5rrr��ETraceTestCase.test_try_except_star_exception_not_caught.<locals>.func�s?��
��$�Q�-�'���	��������
��
�s(��1�
1�1�4�4�	A�A�Ar\r-r�s& r�)test_try_except_star_exception_not_caught�7TraceTestCase.test_try_except_star_exception_not_caught�r-rc�6�QoUOU,QN2P!)c��[]2g,9[9doPo=ML	Po=MMLM49eP!th9h[cP!h9hr�r[r�s rr��KTraceTestCase.test_try_except_star_named_exception_not_caught.<locals>.func�s?��
��$�Q�-�'���	��������
��
�s)��7�7�7�:�:�	A	�A	�A	r\r-r�s& r�/test_try_except_star_named_exception_not_caught�=TraceTestCase.test_try_except_star_named_exception_not_caught�r-rc�6�QoUOU,QN2P!)c��[Q[]2[Q2,2g,9[9doPo=LPo=ML[9dLML[9dgMMLM49e]!th9h,9[9dM[]2g,9[9dLML[9doPo=ML	Po=MMLM49eMLth9hMMLM49e]!th9h)�egzbad type)�ExceptionGroupr(rW�OSErrorr�s rr��7TraceTestCase.test_try_except_star_nested.<locals>.func�s���
�	�(��#�A��	�*�(=�>�@�@���	����������"��������
�J�
��#�B�-�'��������!��������
���s�� $�A+�A+�A+�A+�A	�
A+�$A+�%A.�(A.�.C�;C�=B�C�C�%C�9C�:C	�;C�=C	�
C�C)r'r(r9r)r;rTr)rRr^r`rUr�r�r�r�r�)r�rS)�r�)�r�)�r�)�r�)r�r,r-r�s& r�test_try_except_star_nested�)TraceTestCase.test_try_except_star_nested�s��	�*	
���T�
�	rc�6�QoUOU,QN2P!)c��QP!)c��]!r2r5rNs&r�<lambda>�ATraceTestCase.test_notrace_lambda.<locals>.func.<locals>.<lambda>s��arr5r5rrr��/TraceTestCase.test_notrace_lambda.<locals>.funcs��
��
rr�r-r�s& r�test_notrace_lambda�!TraceTestCase.test_notrace_lambdas��	�
	
���T�
�	rc�6�QoUOU,QN2P!)c��QQ2oP!)c�,`�\sQsQsnQsQsQsUsP!)�PTraceTestCase.test_class_creation_with_docstrings.<locals>.func.<locals>.Class_1i(zthe docstring. 2c��]UmP!)zAnother docstring. 4�rYrs&rr�YTraceTestCase.test_class_creation_with_docstrings.<locals>.func.<locals>.Class_1.__init__*s	���D�Frr�)r!r"r#r$r%rr&r'r(s@r�Class_1r�(s����'��rr�r5)r�s rr��?TraceTestCase.test_class_creation_with_docstrings.<locals>.func's��
�
rrJr-r�s& r�#test_class_creation_with_docstrings�1TraceTestCase.test_class_creation_with_docstrings%s��	�	
���T�
�	rc�6�QoUOU,QN2P!)c�b�QoU]2U[],22QQ222oP!)c��QoU!)c��U!rr5)r�s&r�_dec�_TraceTestCase.test_class_creation_with_decorator.<locals>.func.<locals>.decorator.<locals>._dec;s���Hrr5)r�r�s& r�	decorator�QTraceTestCase.test_class_creation_with_decorator.<locals>.func.<locals>.decorator:s����rc��\sQsQsQsP!)�PTraceTestCase.test_class_creation_with_decorator.<locals>.func.<locals>.MyObjecti?r5)r!r"r#r$r&r5rr�MyObjectr�?s��
rr�)�len)r�r�s  rr��>TraceTestCase.test_class_creation_with_decorator.<locals>.func9s:��
�
�q�\�
��Q�C���
�
���
r)r'r(r^rKr9r;r�r`rUr`rKr9r;r�r�)r_rbr^r�)r�r,r`�r3rbr)r+r^r�r)r+r�r�r-r�s& r�"test_class_creation_with_decorator�0TraceTestCase.test_class_creation_with_decorator8s��	�	
���T�$
�	rc	�`	�[OQ2oQn	U	1Qko,QNo,oUOU2U2[OP2UO
OoSTTTt,tFDvqgoVu*
[U*1MJ	ooooUOVC2UOV#2P!ttoooh)�	_testcapic3� �]w�	P!3hrJr5r5rr�gen�FTraceTestCase.test_no_line_event_after_creating_generator.<locals>.genms
����G�s�	c�(:�R2FDoJ	P!rr5)�_r�s �rr��GTraceTestCase.test_no_line_event_after_creating_generator.<locals>.funcps�������r)r'r9r�r�r�r(r;r9)r�rbr�r�)
r�
import_module�settrace_to_recordrjrkr�r��EVENT_NAMES�assertEqualr�)
rr�r��EXPECTED_EVENTSr��
start_line�whatr�r�r�s
&        @r�+test_no_line_event_after_creating_generator�9TraceTestCase.test_no_line_event_after_creating_generatorfs����
"�/�/��<�	�	�	�
�� ���$�$�V�,�d�f�c�l�l�4�6H��]�]�1�1�
�&,�
�%+�!��S��_�k�$�/�0�%+�	�
�	
����1����T�3��

s�1#B<c�`�QQ2nU1Qko,QNoUOV2[]d2FD
oU2J	UOV2P!)c�(`�\sQsQsnQsQsUsP!)�GTraceTestCase.test_correct_tracing_quickened_call_class_init.<locals>.Ci�c��UP!rr5rs&rr�PTraceTestCase.test_correct_tracing_quickened_call_class_init.<locals>.C.__init__�s��rr5)r!r"r#r$rr&r'r(s@rrr��s����
�
rrc�:�R2P!rr5r9s�rr��JTraceTestCase.test_correct_tracing_quickened_call_class_init.<locals>.func�s���
�Cr�r'r(r�r�r�r:)r�rX)rr�r�r�rs&   @r�.test_correct_tracing_quickened_call_class_init�<TraceTestCase.test_correct_tracing_quickened_call_class_init�sJ���	�	�	���	
���T�3��s��A��F�����T�3rc�T`�P
nU1QkoU[O2m[OU2[	,2UOQ2[OP2P![c�o]oSOoS%c=SOOOQ6Xc
S]*
oSOoJDS]6XcSOQ2Po=K�S]6�cSOQ2Po=K�Po=hh9h[OP2h9h)Fc�2:�R%f	P	n[g[!r�)rer�)r�r�r��raiseds&&&�r�
error_once�5TraceTestCase.test_settrace_error.<locals>.error_once�s���������Lr�No exception raised�test_settrace_error�Traceback is missing frame�"Traceback has frame more than once)rjrlrnrkr�r�re�
__traceback__�tb_framer��co_name�tb_next)rrrQ�count�tbrs&    @rr	�!TraceTestCase.test_settrace_error�s������	�	�&0�C�M�M�O�#��L�L��$���G�
�I�I�+�,��L�L�����
	@��E��!�!�B���;�;�%�%�-�-�1F�F��Q�J�E��Z�Z����z��	�	�6�7�7�����	�	�>�?���
	@��
�L�L���sY�;A0�D�0	D�:D�;D�$D�6D�D�%D�*D�1D�D�D�D�D'c�0�[OQ2oUO,2[,2UO	Q2[OP2P![
c�o]oSOoS%c=SOOOQ6Xc
S]*
oSOoJDS]6XcSO	Q2Po=K�S]6�cSO	Q2Po=K�Po=hh9h[OP2h9h)r�r�test_testcapi_settrace_errorr
r)
rr��settrace_to_errorr�r�rerr
r�rrrjrk)rr�rQrrs&    rr�*TraceTestCase.test_testcapi_settrace_error�s���"�/�/��<�	�	��'�'��+���G�
�I�I�+�,��L�L�����
	@��E��!�!�B���;�;�%�%�-�-�1O�O��Q�J�E��Z�Z����z��	�	�6�7�7�����	�	�>�?���
	@��
�L�L���sX�A�C=�	C:�(C:�)C5�?$C5�$C5�C5�C=�C5�C5�0C=�5C:�:C=�=Dc�x�-o[QQQ*8Q0U2UQ*o,QNoUOV#2P!)z�def f():              # line 0
            x = 0                     # line 1
            y = 1                     # line 2
            r�zn                        # lines 3 through (1 << 16)
            x += 1                    #
            returnr@i)r'r(r9)ir�)�r�)rr,rB)rr�r@r�s&   r�test_very_large_function�&TraceTestCase.test_very_large_function�sH�����
��)�)�,�
./�	0�
�c�F��
��	
���Q�0r)r�)Sr!r"r#r$r�r��staticmethodr�r�r�r�r�r�r�r�r�r�rrrr	rrrrrrrr!r.r=rErKrYrcr�r�r�r�r�r�r�r�r�r�r�r�r�rrrrr!r+r=rCrLrSr]rcrur�r�r�r�r�r�r�r�r�r�r�r�r�r�cpython_onlyr�rr	rrr&r'r(s@rr�r�fs�����6������D�3�0�8�&���&�&�&�&�%�#��"�,�+�'�)�+�E�
��>���0�*J3�X/3�b	��"�:�@�4�2!R�F"Q�H
��6�:�.�.�$�(�.�,�4
��&�"'�R�",�\"�H�,�@�:�(�,�,�,�,-�^
��&,�\
���)4��)4�V4�.�:
������01�1rr�c�H``�\sQsQsnQsU1Qks\Q2sQsUs	U9s
!)�SkipLineEventsTraceTestCasei�z8Repeat the trace tests, but with per-line events skippedc�v:�STt,tFDpD]*Q6wfJUMJ	oo[RU_VU2P!ttohr()�superr�)rr�r�r�r��skip_line_events�	__class__s&&&&  �rr��*SkipLineEventsTraceTestCase.compare_eventss8���'6�I��!�A�$�&�.�A�A���I�
���{�4D�E��Js�6�6c��[P
Q5!)F)r�r�r5rrr��'SkipLineEventsTraceTestCase.make_tracers
����.�.rr5)r!r"r#r$r%r�rr�r&r'�
__classcell__�r"r)s@@rrr�s'����B�F��/��/�/rrc�b``�\sQsQsnQsU1Qks\Q2s\2Q2s	Qs
UsU9s!)�TraceOpcodesTestCasei
z;Repeat the trace tests, but with per-opcodes events enabledc��:�STt,tFDpD]*Q6wfJUMJ	oo[U2]6�c'UO[U2[U2QQ5[RU_
VU2P!ttoh)rK�opcodez)No 'opcode' events received by the tracer)�msg)r��
assertLessr r�)rr�r�r�r��skip_opcode_eventsr"s&&&&  �rr��#TraceOpcodesTestCase.compare_eventssf���)/�D��A�Q�4�8�3C�a�a���D��v�;��?��O�O�C� 2�3�S��[� K�
�
M�
���{��P��	Es
�A,�A,c��[P	Q5!)T)r�r�r5rrr�� TraceOpcodesTestCase.make_tracers
���$�/�/rc�6�[OQ2o[OP
QQ5oUO	UOQ22UO
2[O[OUO,[O[OQ5oUO2UOO2o[ O"UO2UOO
2UO$O
2UO'QU2P![ O"SO2WOO
2SO$O
2h9h)z�Make sure setting f_trace_opcodes after starting trace works even
if it's the first time f_trace_opcodes is being set. GH-103615a�
            import sys

            def opcode_trace_func(frame, event, arg):
                if event == "opcode":
                    print("opcode trace triggered")
                return opcode_trace_func

            sys.settrace(opcode_trace_func)
            sys._getframe().f_trace = opcode_trace_func
            sys._getframe().f_trace_opcodes = True
            a = 1
        z.py)�delete�suffixzutf-8)�stdout�stderrsopcode trace triggered)�textwrap�dedent�tempfile�NamedTemporaryFile�write�encode�close�
subprocess�Popenrj�
executable�name�PIPE�waitr5�readr��remover6�assertIn)r�code�tmpra�outs&    r�!test_trace_opcodes_after_settrace�6TraceOpcodesTestCase.test_trace_opcodes_after_settraces���
��� �
�� �)�)��u�E���	�	�$�+�+�g�&�'��	�	��	�� � �#�.�.�#�(�(�!;�J�O�O�\f�\k�\k�l�A�
�F�F�H��(�(�-�-�/�C��I�I�c�h�h��
�H�H�N�N��
�H�H�N�N���
�
�/��5��
�I�I�c�h�h��
�H�H�N�N��
�H�H�N�N��s�!A9E�AFr5)
r!r"r#r$r%r�rr�rrJr&r'r&r's@@rr)r)
s>����E�Q��0��0���6��6�6rr)c�d`�\sQsQsnQsQsQsQsQsQs	Qs
Q	sQ
sQs
QsQ
sUsP!)�RaisingTraceFuncTestCasei<c�n�UO[O[O22P!r�r�rjrkr�rs&rr��RaisingTraceFuncTestCase.setUp=s��������c�l�l�n�5rc�H�V O6Xc[gUO!)zPA trace function that raises an exception in response to a
specific trace event.)�raiseOnEventr(r�r�s&&&&rr��RaisingTraceFuncTestCase.trace@s ���%�%�%����:�:�rc�D�UOQ6Xc]o]U*oP!]!)zwThe function to trace; raises an exception if that's the case
we're testing, so that the 'exception' trace event fires.rS�rR)rr7r]s&  rr@�RaisingTraceFuncTestCase.fHs#������+��A��!��A�rc�^�Vm[[O2]*2FDEo[OUO
2UO
2UOQ2JG	P![cJYh9h[cSOQ2P!h9h)zLTests that an exception raised in response to the given event is
handled OK.zexception not raised!zrecursion counter not reset)
rRrXrj�getrecursionlimitrkr�r@r�r(ru)rr�r�s&& r�run_test_for_event�+RaisingTraceFuncTestCase.run_test_for_eventQs���"��
	5��3�0�0�2�Q�6�7�����T�Z�Z�(�7��F�F�H��I�I�5�6�8��"������	5��I�I�3�4�	5�sB�A	B�A:�#B�:	B	�B	�B�B	�	B�	B,�B,�+B,c�*�UOQ2P!)rb�rYrs&r�	test_call�"RaisingTraceFuncTestCase.test_callb�������'rc�*�UOQ2P!�r�r\rs&r�	test_line�"RaisingTraceFuncTestCase.test_linedr_rc�*�UOQ2P!)r,r\rs&r�test_return�$RaisingTraceFuncTestCase.test_returnfs������)rc�*�UOQ2P!�rSr\rs&r�test_exception�'RaisingTraceFuncTestCase.test_exceptionhs������,rc��``�QnUU1Qkn[OR2R2UOQ2P![c]PHoSO
2P!h9h)c�D�[]2FDo[U2J	P!rz)rX�printr�s rr@�4RaisingTraceFuncTestCase.test_trash_stack.<locals>.fls���1�X���a��rc�:�UQ6Xc8UOROO]*6Xc[Q2gR!)r�z
i am crashing)r�r�r�ru)r��why�extrar@�gs&&&��rrr�4RaisingTraceFuncTestCase.test_trash_stack.<locals>.gps5����v�
����!�*�*�";�";�a�"?�?�"�?�3�3��Hrzexception not propagated)rjrkr�rur��collect)rr�r@rrs& @@r�test_trash_stack�)RaisingTraceFuncTestCase.test_trash_stackksP���	�	�	���Q��	2�
�C�
�I�I�0�1���	���J�J�L�	�s�?�	A#�	A#�"A#c�``�QoUU1Qkn[O2o[OR2U2[OU2P![cK%h9h[OS2h9h)c�$�]oUOP!r)�no_such_attrrNs rr@�<RaisingTraceFuncTestCase.test_exception_arguments.<locals>.f�s���A�
�N�Nrc�N:�UQ6XcUvq4oROU[2R!rh)�assertIsInstancere)r�r�r��typerSr�rrrs&&&   ��rrr�<RaisingTraceFuncTestCase.test_exception_arguments.<locals>.g�s*�����$�),�&����%�%�i��;��Hr)rjr�rk�AttributeError)rr@�existingrrsf  @r�test_exception_arguments�1RaisingTraceFuncTestCase.test_exception_arguments�se���	�	��<�<�>��	#��L�L��O�
���

�L�L��"��	"�
��
��
�L�L��"�s.�A+�A�	A(�$A(�%A+�'A(�(A+�+Bc�``�[Q2nUU1QknQoUO[29^tt^2o[OR2U2PPP2UO	WO
R2P!)%fhK.9h)zBOOM!c�*:�UQ6XcRgP	UmR!ra)r�)r�r�r�rSr�s&&&��rr��RRaisingTraceFuncTestCase.test_line_event_raises_before_opcode_event.<locals>.trace�s��������$(�E�!��Lrc��P!rr5r5rrr@�NRaisingTraceFuncTestCase.test_line_event_raises_before_opcode_event.<locals>.f�r�r)r(�assertRaisesrjrk�assertIsrS)rr@�caughtrSr�s&  @@r�*test_line_event_raises_before_opcode_event�CRaisingTraceFuncTestCase.test_line_event_raises_before_opcode_event�s_����w�'�	�	�
	�
�
�
�z�
*�
*�f��L�L���
�C�+�	
�
�
�f�&�&�	�2�+�
*�s�A:�:B
	�B
	rU)r!r"r#r$r�r�r@rYr]rbrerirur�r�r&r'r(s@rrMrM<sA����6���5�"(�(�*�-�2�,#�,3�3rrMc�6`�\sQsQsnQsQQksQsQsUsP!)�
JumpTraceri�z>Defines a trace function that jumps from one place to another.c��UOUmV mV0mV@mU%cPLUOO
UmP
UmP!r)r�rG�jumpFrom�jumpTor�r��	firstLiner�)r�functionr�r�r��	decorateds&&&&&&rr�JumpTracer.__init__�s:���%�%��	� �
����
�!*���	�	�0H�0H�����	rc��UO%cP![U2%fPgUOe;UOUO6Xc UQ6XcUO
]*
UmV O6Xc�UOd�UO
UOUO*6Xc^SoUd*UOUO6wcUOoJ-Ud+UOUO*UmP	UmUO![cSOSmK1h9h)Nr�)r�r�r�r�rGr�r�r�rmr�rWr�)rr�r�r�r@s&&&& rr��JumpTracer.trace�s����9�9�9��#�E�*�*�*�*�

�N�N�"�u�|�|�t�y�y�'@����"�^�^�a�/�D�N��Z�Z��D�N�N�$>����$�.�.�4�=�=�"@�@��A��-�A�H�H��	�	�$9��H�H���}�1�%)�^�^�d�k�k�%A�E�N�!��	��z�z���!�1�%)�[�[�E�N�1�s�/"D$�$	E�.E�E)rGr�r�r�r�r�)r�F)	r!r"r#r$r%rr�r&r'r(s@rr�r��s����H���rr�c��UO]2P![c)oSOQ[S272Po=P!Po=hh9h)r3�integer)rr(r��r
r�s& r�no_jump_to_non_integersr��s;��+��
�
�a����+��
�
�i�3�q�6�)�*�*��+�s��	A	�A	�A�A	c���[O2OoUOUm[	Q2g[
coQ[
S27cgPo=P!Po=hh9h)z'Trace-function-less jump failed to failr�)rjrlrmr��AssertionErrorr(r�)�previous_framer�s  r�no_jump_without_trace_functionr��s]��
H�����/�/��"0�"9�"9����F�G�G�����#�a�&� ��!���s!�0>�	A%�A%�	A �A � A%c��`�\sQsQsnQsQsQsQ~QksQ~QksQQks	QQks
\	]]],2Q	2s\	]],Q�N2Q
2s\	]]],\
\1Q5Q2s\	]],Q�N2Q
2s\	]]],2Q2s\	]],Q�N2Q2s\	]]]],\
\1Q5Q2s\	]],Q�N2Q2s\
]]]],2\Q22s\
]],Q�N2\Q22s\	]]],2Q2s\	]],Q�N2Q2s\	]]	]]	,2Q2s\	]]]],\P12Q2s\	]]]],\P12Q2s\	]]],\Q12Q2s\	]]]],2Q2s\	]],Q�N2Q2s \	]]]],2Q2s!\
]]]],2Q2s"\	]],Q�N2Q2s#\
]],Q�N2Q 2s$\	]]],2Q!2s%\	]],Q�N2Q"2s&\	]]],2Q#2s'\	]],Q�N2Q$2s(\	]],Q�N2Q%2s)\	]],Q�N2Q&2s*\	]],Q�N2Q'2s+\	]],Q�N\
\1Q5Q(2s,\	]],Q�N2Q)2s-\
]],Q�N2Q*2s.\	]],Q�N2Q+2s/\
]],Q�N2Q,2s0\	]],Q�N2Q-2s1\
]],Q�N2Q.2s2\	]],Q�N2Q/2s3\
]],Q�N2Q02s4\	]],Q�N2Q12s5\	]],Q�N\
\1Q5Q22s6\
]],Q�N\
\1Q5Q32s7\	]],Q�N2Q42s8\	]],Q�N2Q52s9\	]]]],\
\1Q5Q62s:\
]]]],\
\1Q5Q72s;\	]]],\Q12Q82s<\	]Q�],\Q912Q:2s=\	]]],\Q;12Q<2s>\	]]],\Q;12Q=2s?\	]]],\Q;12Q>2s@\	]]],\Q;12Q?2sA\	]],\Q@12QA2sB\
]],\Q@12QB2sC\	]]]],\Q@12QC2sD\
]]]],\QD12QE2sE\	]],\QF12QG2sF\
]],\QF12QH2sG\	]],Q�N\QF12QI2sH\
]],Q�N\QF12QJ2sI\	]]]],2QK2sJ\	]],Q�N2QL2sK\	]]],2QM2sL\	]],Q�N2QN2sM\	]],Q�N\
\1Q5QO2sN\	]]],2QP2sO\	]],Q�N2QQ2sP\	]],Q�N2QR2sQ\	]],\QS12QT2sR\	]],\QS12QU2sS\	]],Q�N\QS12QV2sT\	]]],\QS12QW2sU\	]],Q�N2QX2sV\	]],Q�N2QY2sW\	]],Q�N2QZ2sX\
]],Q�N2Q[2sY\	]]]],\Q12Q\2sZ\	]]]],\Q@12Q]2s[\
]]]],\Q@12Q^2s\Q_s]Q`s^Qas_Qbs`\	]]],Qc\Qd1Qe5Qf2sa\	]]],Qg\Qh1Qe5Qi2sb\	]]],Qj\Qh1Qe5Qk2sc\	]],Q�NQgQl5Qm2sd\	]]]],\
\1Q5Qn2se\	]],\
\1Q5Qo2sf\	]],Q�N\
\1Q5Qp2sg\
]]]],\
\1Q5Qq2sh\
]],\
\1Q5Qr2si\
]],Q�N\
\1Q5Qs2sj\	]],\QF1Qt5Qu2sk\	]],\QF1Qt5Qv2sl\	]],\QF1Qt5Qw2sm\	]]]],\
\1Q5Qx2sn\	]],Q�N\
\1Q5Qy2so\pO�Qz2Q{2sr\	]]]],\
\1Q5Q|2ssQ}stUsuP!)��JumpTestCasei�z&assigning None to [0-9]+ unbound localc��UO[O[O22[OP2P!rrOrs&rr��JumpTestCase.setUp��&��������c�l�l�n�5����T�rc��V!6wcBUOQ[U2*Q*Q*[U2*2P!P!)zOutputs don't match:
r�z
Received: zOutputs don't match:
Expected: )r��repr)r�expected�receiveds&&&r�compare_jump_output� JumpTestCase.compare_jump_output�sF�����I�I�$�&*�8�n�5�7;�<�#�$�&*�8�n�5�
6� rc	��So	[U	Q2%cU	Oo	J [V�V6U2o
[OU
O
2,o[O29^tt^2oUd!UOUOU2Ud"UOUOU2L:UO[O22[OQ2UU2PPP2[OP2UOVK2P!)%fhK99h)�__wrapped__r�)�hasattrr�r�rjrkr��
contextlib�	ExitStack�
enter_context�assertRaisesRegex�assertWarnsRegex�warnings�catch_warnings�simplefilterr��
rr�r�r�r�r�r�r��warning�wrappedr�r
�stacks
&&&&&&&&&    rr��JumpTestCase.run_test�s������g�}�-�-��)�)�G��G�v�i�H�����V�\�\�"���
�
!�
!�
#�
#�u�� ��#�#�D�$:�$:�E�$B�C��"��#�#�D�$9�$9�7�$C�D��#�#�H�$;�$;�$=�>��%�%�g�.���L�$�	���T��� � ��2�$�
#�s�0D-�5#D-�A#D-�-D=	�6D=	c	��So	[U	Q2%cU	Oo	J [V�V6U2o
[OU
O
2,o[O29^tt^2oUd!UOUOU2Ud!UOUOU2[V2PPP2[OP2UOVK2P!)%fhK99h)r�)
r�r�r�rjrkr�r�r�r�r�r�rr�r�s
&&&&&&&&&    r�run_async_test�JumpTestCase.run_async_tests������g�}�-�-��)�)�G��G�v�i�H�����V�\�\�"���
�
!�
!�
#�
#�u�� ��#�#�D�$:�$:�E�$B�C��"��#�#�D�$9�$9�7�$C�D�!�$�/�$�	���T��� � ��2�$�
#�s�0C5�5#C5�+C5�5D	�>D	c�*``````�UUUUUU1QkoU!)zaDecorator that creates a test that makes a jump
from one place to another in the following code.
c�@:`�[R2UUUUUUU1Qk2oU!)c�<:�UORRRRRRP	RQ5P!�T)r�r�r�r�)r��rr�r�r�r�r�r�r�s&�������rrE�7JumpTestCase.jump_test.<locals>.decorator.<locals>.test$s'����
�
�d�H�f�h�$)��$�PW��Yrr�r�rEr�r�r�r�r�r�sf ������rr��)JumpTestCase.jump_test.<locals>.decorator#�(���
�4�[�
Y�
Y��
Y��Krr5�r�r�r�r�r�r�r�sffffff r�	jump_test�JumpTestCase.jump_test����	�	��rc�*``````�UUUUUU1QkoU!)znDecorator that creates a test that makes a jump
from one place to another in the following asynchronous code.
c�@:`�[R2UUUUUUU1Qk2oU!)c�<:�UORRRRRRP	RQ5P!r�)r�r�s&�������rrE�=JumpTestCase.async_jump_test.<locals>.decorator.<locals>.test0s)����#�#�D�(�F�H�$)��$�PW�$�Yrrr�sf ������rr��/JumpTestCase.async_jump_test.<locals>.decorator/r�rr5r�sffffff r�async_jump_test�JumpTestCase.async_jump_test+r�rc�n�UO]2UO]2UO]2P!rJ�r�r
s&r�test_jump_simple_forwards�&JumpTestCase.test_jump_simple_forwards9�&���
�
�a���
�
�a���
�
�a�rc�L�UO]2UO]2P!rJr�r�s&r�test_jump_simple_backwards�'JumpTestCase.test_jump_simple_backwards?����
�
�a���
�
�a�r�r�c�\�PoUeUO]2P!UO]2P!rr��r
r7s& r�test_jump_is_none_forwards�'JumpTestCase.test_jump_is_none_forwardsDs$�����9��M�M�!���M�M�!�rc�|�PoUeUO]2LUO]2UO]2P!rr�r�s& r�test_jump_is_none_backwards�(JumpTestCase.test_jump_is_none_backwardsLs0�����9��M�M�!���M�M�!���
�
�a�rc�\�PoUdUO]2P!UO]2P!rr�r�s& r�test_jump_is_not_none_forwards�+JumpTestCase.test_jump_is_not_none_forwardsUs$�����=��M�M�!���M�M�!�rc�|�PoUdUO]2LUO]2UO]2P!rr�r�s& r�test_jump_is_not_none_backwards�,JumpTestCase.test_jump_is_not_none_backwards]s0�����=��M�M�!���M�M�!���
�
�a�rc��QFD/oUO]2QFDoUO]2J	J1	UO]2P!)rKrnr�r��r
r�r�s&  r�test_jump_out_of_block_forwards�,JumpTestCase.test_jump_out_of_block_forwardsfs<���A��M�M�!�����
�
�a� ���	�
�
�a�rc���UO]2QFD@oUO]2QFDoUO]2J	UO]2JB	UO]2P!)rKrJr2r�r�s&  r� test_jump_out_of_block_backwards�-JumpTestCase.test_jump_out_of_block_backwardsnsT���
�
�a���A��M�M�!�����
�
�a� ���M�M�!��	�
	�
�
�a�rc�� �QFD;oU]],2Piw�K
oUO]2UO]2J0	P!K-B.SO]2JW3h�rKrJr��r
r8r�s&& r�)test_jump_out_of_async_for_block_forwards�6JumpTestCase.test_jump_out_of_async_for_block_forwardsxsW����A�$�a��V�,�
!�
!�a��
�
�a� ��
�
�a� ��
!�,�
�M�M�!��s%�A�A
�A�A
�*A�A
�
Ac��� �QFDKoUO]2U],2Piw�K
oUO]2UO]2J0	P!K-B.SO]2Jg3hr�r�r�s&& r�*test_jump_out_of_async_for_block_backwards�7JumpTestCase.test_jump_out_of_async_for_block_backwards�s_����A��M�M�!��$�a�S�>�
!�
!�a��
�
�a� ��
�
�a� �	�
!�>�
�M�M�!��s%�"A.�A�A�A�*A.�A�A.c�L�UO]2UO]2P!rJr�r�s&r�test_jump_to_codeless_line�'JumpTestCase.test_jump_to_codeless_line�s���
�
�a���
�
�a�rc�n�UO]2UO]2UO]2P!rJr�r�s&r�test_jump_to_same_line�#JumpTestCase.test_jump_to_same_line�r�rc��UO]2UO]2UO]2UO]2UO]	2P!SO]2h9hSO]2SO]2SO]2LSO]2h9hSO]	2h9hr2r�r�s&r�test_jump_in_nested_finally�(JumpTestCase.test_jump_in_nested_finally�s���	��M�M�!���M�M�!��
!��
�
�a� ��
�
�a� ��M�M�!����
�
�a� ��	
�M�M�!��
!��
�
�a� ��
�
�a� ���
�
�a� ���M�M�!��s.�A1�A�A.�1C�B'�C�'B:�:Cc���UO]2]]*UO]2UO]2P!SO]2SO]2h9hr2r�r�s&r�test_jump_in_nested_finally_2�*JumpTestCase.test_jump_in_nested_finally_2�sQ��	��M�M�!��
�a�C���M�M�!���M�M�!���
�M�M�!���M�M�!��s�A�$A&c��UO]2]]*UO]2UO]2UO]
2UO]2P!SO]
2h9hSO]2SO]2SO]
2LSO]
2h9hSO]2h9hr2r�r�s&r�test_jump_in_nested_finally_3�*JumpTestCase.test_jump_in_nested_finally_3�s���
	��M�M�!��
�a�C���M�M�!��
"��
�
�a� ��
�
�b�!��M�M�"����
�
�b�!��	
�M�M�!��
"��
�
�a� ��
�
�b�!���
�
�b�!���M�M�"��s.�A;�A%�%A8�;C�B1�C�1C�C�afterc�N�UO]2UO]2JrJr�r�s&r� test_no_jump_infinite_while_loop�-JumpTestCase.test_no_jump_infinite_while_loop�s���
�
�a����M�M�!�rc�t�]oUO]2U]6:cUO]2U]*
oJ#P!rJr��r
r�s& r�#test_jump_forwards_into_while_block�0JumpTestCase.test_jump_forwards_into_while_block�s4��
���
�
�a���1�f��M�M�!��
��F�A�rc�t�]oU]6:cUO]2U]*
oJ#UO]2P!rJr�r
s& r�$test_jump_backwards_into_while_block�1JumpTestCase.test_jump_backwards_into_while_block�s/��
���1�f��M�M�!��
��F�A��
�
�a�rc��[U]29^tt^2UO]2PPP2UO]2P!)%fhK#9hrJ�r	rr�s&r�$test_jump_forwards_out_of_with_block�1JumpTestCase.test_jump_forwards_out_of_with_block��5��
�&�!�
$�
$��M�M�!��%��
�
�a��%�
$���A�A	�A	c	�� �[U]29^tt^2EPiw�K
UO]2PPP2EPiw�K
UO]2P!K:K)EPiw�K
%fhK29h3hrJ�r+rr�s&r�*test_jump_forwards_out_of_async_with_block�7JumpTestCase.test_jump_forwards_out_of_async_with_block��F���$�V�Q�/�/�/��M�M�!��0�/�/��
�
�a��0�/�/�/��I�A;�A
�A;�A�A;�A�A;�A;�A8	�$A(�%A8	�1A8	�3A;c��UO]2[U]29^tt^2UO]2PPP2P!)%fhP!9hrJ�rr	r�s&r�%test_jump_backwards_out_of_with_block�2JumpTestCase.test_jump_backwards_out_of_with_block��6���
�
�a��
�&�!�
$�
$��M�M�!��%�
$�
$�
$���A�A	�A	c	�� �UO]2[U]29^tt^2EPiw�K
UO]2PPP2EPiw�K
P!K)K)EPiw�K
%fhP!9h3hrJ�rr+r�s&r�+test_jump_backwards_out_of_async_with_block�8JumpTestCase.test_jump_backwards_out_of_async_with_block��D����
�
�a��$�V�Q�/�/�/��M�M�!��0�/�/�/�/�/�/��J�,A<�A
�A<�A�A<�A�A<�A<�A9	�$A(�%A9	�1A9	�3	A<c��UO]2UO]2UO]2P!SO]2h9hr2r�r�s&r�+test_jump_forwards_out_of_try_finally_block�8JumpTestCase.test_jump_forwards_out_of_try_finally_block��;��	��M�M�!���M�M�!���
�
�a���
�M�M�!���	�8�Ac��UO]2UO]2UO]2P!SO]2h9hrJr�r�s&r�,test_jump_backwards_out_of_try_finally_block�9JumpTestCase.test_jump_backwards_out_of_try_finally_block��8���
�
�a��	��M�M�!���M�M�!���F�M�M�!���	�8�Ac�|�UO]2UO]2P!SO]2g9hr2r�r�s&r�*test_jump_forwards_out_of_try_except_block�7JumpTestCase.test_jump_forwards_out_of_try_except_block��7��	��M�M�!��	�
�
�a���	��M�M�!�����'�;c�|�UO]2UO]2P!SO]2g9hrJr�r�s&r�+test_jump_backwards_out_of_try_except_block�8JumpTestCase.test_jump_backwards_out_of_try_except_block	�5���
�
�a��	��M�M�!���	��M�M�!�����'�;c���]]*UO]2P![c&SO]2SO]2KB[cSO]2K_h9hrJ�r'r�FloatingPointErrorr�s&r�test_jump_between_except_blocks�,JumpTestCase.test_jump_between_except_blocks	sY��	�
�a�C�	�
�
�a���!�	��M�M�!���M�M�!��!�	��M�M�!��	�s �	�	A,�#A,�A,�A,�+A,c���]]*UO]2UO]2P![c&SO]2SO]2KSh9hSO]2h9hrJ)r'rr�s&r� test_jump_from_except_to_finally�-JumpTestCase.test_jump_from_except_to_finally	s`��	�
�a�C�

�M�M�!���
�
�a���!�	��M�M�!���M�M�!��	��
�M�M�!��s&�	0�	A �#A �A#�A � A#�#A6c��]]*UO]2P!SO]2SO]2SO]2KJ9hrJr�r�s&r�test_jump_within_except_block�*JumpTestCase.test_jump_within_except_block%	sG��	�
�a�C�
	�
�
�a���		��M�M�!���M�M�!���M�M�!��s	�	�5Ac��UO]2]]*]*oP![coSO]2Po=]*oP!Po=hh9hrJ�rr')r
r�r7s&  r�test_jump_over_try_except�&JumpTestCase.test_jump_over_try_except/	sG���
�
�a��	�
��E�
���!�	��M�M�!������	�s�	!�	A
�A
�A�A
c�0�UO]2[U]29^tt^2UO]2PPP2[U]29^tt^2UO]2PPP2P!)%fhK@9h)%fhP!9hrJr r�s&r�test_jump_across_with�"JumpTestCase.test_jump_across_with8	�`���
�
�a��
�&�!�
$�
$��M�M�!��%�
�&�!�
$�
$��M�M�!��%�
$�%�
$��
$�
$�
$��#�A1�B�1B	�:B	�B	�
B	c	��� �UO]2[U]29^tt^2EPiw�K
UO]2PPP2EPiw�K
[U]29^tt^2EPiw�K
UO]2PPP2EPiw�K
P!KkKJ)EPiw�K
%fhKc9hKKK*)EPiw�K
%fhP!9h3hrJr&r�s&r�test_jump_across_async_with�(JumpTestCase.test_jump_across_async_with@	�z����
�
�a��$�V�Q�/�/�/��M�M�!��0�/�/�$�V�Q�/�/�/��M�M�!��0�/�/�0�/�/�/��/�/�/�/���,C �B
�C �B�C �B�C �0B=
�1C �5C�C �B?�C �C �B:	�&B*�'B:	�3B:	�5	C �?C �C	�C�	C	�C	�	C c	��UO]2QFDBo[U]29^tt^2UO]2PPP2UO]2JD	UO]2P!)%fhK89hr�r r
s& r�,test_jump_out_of_with_block_within_for_block�9JumpTestCase.test_jump_out_of_with_block_within_for_blockH	sY���
�
�a���A��f�a�(�(��
�
�a� �)��M�M�!���	�
�
�a��)�(�s�A/	�/A?
�8A?
c��R �UO]2QFDVo[U]29^tt^2EPiw�K
UO]2PPP2EPiw�K
UO]2JX	UO]2P!KOK.)EPiw�K
%fhKG9h3hr�r&r
s& r�2test_jump_out_of_async_with_block_within_for_block�?JumpTestCase.test_jump_out_of_async_with_block_within_for_blockQ	sj����
�
�a���A�(���3�3�3��
�
�a� �4�3�3��M�M�!���	�
�
�a��4�3�3�3�sJ�2B'�B�B'�B		�B'�B
�.B'�B'�	B$
�B�B$
�B$
�B'c	�P�UO]2[U]29^tt^2[U]29^tt^2UO]2PPP2UO]2PPP2UO]2P!)%fhK<9h)%fhK69hrJr r�s&r�-test_jump_out_of_with_block_within_with_block�:JumpTestCase.test_jump_out_of_with_block_within_with_blockZ	sj���
�
�a��
�&�!�
$�
$��f�a�(�(��
�
�a� �)��M�M�!��%�	�
�
�a��)�(��%�
$�s.�B�B	�B�B
�B
�
B�B%	�B%	c�� �UO]2[U]29^tt^2[U]29^tt^2EPiw�K
UO]2PPP2EPiw�K
UO]2PPP2UO]2P!KSK2)EPiw�K
%fhKK9h)%fhKE9h3hrJ)rr	r+r�s&r�3test_jump_out_of_async_with_block_within_with_block�@JumpTestCase.test_jump_out_of_async_with_block_within_with_blockc	s{����
�
�a��
�&�!�
$�
$�(���3�3�3��
�
�a� �4�3�3��M�M�!��%�	�
�
�a��4�3�3�3��%�
$�sp�'C
�B:�B�B:�B	�B:�&B
�'B:�=C
�B:�B:�B7
�#B'�$B7
�0B7
�2B:�:C
	�C
	�C
c	��UO]2[U]29^tt^2UO]2PPP2UO]2UO]2P!)%fhK49h[S]29^tt^2SO]2PPP2L)%fhL9hSO]2h9hr2r r�s&r�0test_jump_out_of_with_block_within_finally_block�=JumpTestCase.test_jump_out_of_with_block_within_finally_blockl	s���	��M�M�!���f�a�(�(��
�
�a� �)��M�M�!���
�
�a��)�(���f�a�(�(��
�
�a� �)�(�(�(���M�M�!��s:�A9�A&�&A6	�/A6	�9C�B)	� 	C�)B9
�2B9
�4Cc��2 �UO]2[U]29^tt^2EPiw�K
UO]2PPP2EPiw�K
UO]2UO]2P!KKK*)EPiw�K
%fhKC9h[S]29^tt^2EPiw�K
SO]2PPP2EPiw�K
L)EPiw�K
%fhL9hSO]2h9h3hr2r&r�s&r�6test_jump_out_of_async_with_block_within_finally_block�CJumpTestCase.test_jump_out_of_async_with_block_within_finally_blockv	s����	��M�M�!��(���3�3�3��
�
�a� �4�3�3��M�M�!���
�
�a��4�3�3�3��(���3�3�3�3��
�
�a� �4�3�3�3�3�3���M�M�!��s��D�B�D�A<
�D�B�D�A>�*D�>D�B	�B�B	�B	�D�D�8B<�9D�>C$	�D�C 
�D�$C?
�+C/�,C?
�8C?
�:D�Dc	�`�UO]2QFDmoUO]2QFDAoUO]2QFDoUO]2J	UO]
2JC	UO]2Jo	UO]2P!SO]
2h9h)rKrJrnr�)r
r�r��ks&   r�&test_jump_out_of_complex_nested_blocks�3JumpTestCase.test_jump_out_of_complex_nested_blocks�	s����
�
�a���A��M�M�!�����
�
�a� �&�#���
�
�a�(�$��M�M�"�%�
�
�M�M�"���	�
�
�b����M�M�"�%�s�B�B-c���UO]2[U]29^tt^2oUO]2PPP2UO]2P!)%fhK#9hrJr r�s& r� test_jump_out_of_with_assignment�-JumpTestCase.test_jump_out_of_with_assignment�	sF���
�
�a��
�&�!�
$�
$���M�M�!��%�	�
�
�a��%�
$�s�A�A$	�A$	c	�� �UO]2[U]29^tt^2EPiw�K
oUO]2PPP2EPiw�K
UO]2P!K:K)EPiw�K
%fhK29h3hrJr&r�s& r�&test_jump_out_of_async_with_assignment�3JumpTestCase.test_jump_out_of_async_with_assignment�	sW����
�
�a��$�V�Q�/�/�/���M�M�!��0�/�/�	�
�
�a��0�/�/�/�sJ�,B�A*
�B�A.�B�A,�B�,B�.B		�5A9�6B		�B		�Bc��UO]2UO]2U%fUO]2P!UO]2UO]2UO]	2P!SO]2h9hrJr�r�s&r�*test_jump_over_return_in_try_finally_block�7JumpTestCase.test_jump_over_return_in_try_finally_block�	si���
�
�a��	��M�M�!����
�M�M�!��
�M�M�!���M�M�!���
�
�a���
�M�M�!��s�A6�A6�6B	c�^�UO]2UO]2UO]2U%fUO]
2L4UO]2UO]
2UO]2UO]
2P!SO]
2h9hrJr�r�s&r�)test_jump_over_break_in_try_finally_block�6JumpTestCase.test_jump_over_break_in_try_finally_block�	s����
�
�a����M�M�!��
"��
�
�a� ����
�
�b�!��
�
�a� ��
�
�b�!��M�M�"����
�
�b����
�
�b�!�s�B�B�B,c���UO]2U%fQFDoUO]2J	L"UO]2UO]2UO]2P!�rKr�r�r
s& r�$test_jump_over_for_block_before_else�1JumpTestCase.test_jump_over_for_block_before_else�	�M���
�
�a������
�
�a� ��
�M�M�!���M�M�!���
�
�a�rc�� �UO]2U%f,[],2Piw�K
oUO]2JUO]2UO]2UO]2P!KMBNK3hrJ�rr8r
s& r�*test_jump_over_async_for_block_before_else�7JumpTestCase.test_jump_over_async_for_block_before_else�	�`����
�
�a���$�a�S�>�
!�
!�a��
�
�a� ��M�M�!���M�M�!���
�
�a��
!�>��+�B�B�A?�A=�A?�A
B�=A?�?Bc�L�UO]2UO]2P!rJr�r�s&r�test_no_jump_too_far_forwards�*JumpTestCase.test_no_jump_too_far_forwards�	r�r�beforec�L�UO]2UO]2P!rJr�r�s&r�test_no_jump_too_far_backwards�+JumpTestCase.test_no_jump_too_far_backwards�	r�r�exceptc�Z�UO]2P!SO]2g9hr2r�r�s&r�test_no_jump_to_except_1�%JumpTestCase.test_no_jump_to_except_1�	s)��	��M�M�!���	��M�M�!���s��*c�n�UO]2P![cSO]2gh9hr2�rr(r�s&r�test_no_jump_to_except_2�%JumpTestCase.test_no_jump_to_except_2�	s1��	��M�M�!����	��M�M�!���	�s��	4�4c�x�UO]2P![coSO]2SgPo=hh9hr2r�r�s& r�test_no_jump_to_except_3�%JumpTestCase.test_no_jump_to_except_3�	s4��	��M�M�!����	��M�M�!���G��	�s��	9�9�4�9c��UO]2P![[1coSO]2SgPo=hh9hr2)rr(rur�s& r�test_no_jump_to_except_4�%JumpTestCase.test_no_jump_to_except_4�	s9��	��M�M�!����L�)�	��M�M�!���G��	�s��?�?�:�?�intoc�`�UO]2QFDoUO]2J	P!rmr�r
s& r�$test_no_jump_forwards_into_for_block�1JumpTestCase.test_no_jump_forwards_into_for_block�	s$���
�
�a���A��M�M�!��rc�� �UO]2[]],2Piw�K
oUO]2JKBP!3hrJr�r
s& r�*test_no_jump_forwards_into_async_for_block�7JumpTestCase.test_no_jump_forwards_into_async_for_block
s@����
�
�a�� �!�Q��(�	�	�!��M�M�!��	�(��s%� A�A�A�A�A�A�Ac�`�QFDoUO]2J	UO]2P!rmr�r
s& r�%test_no_jump_backwards_into_for_block�2JumpTestCase.test_no_jump_backwards_into_for_block
s$���A��M�M�!����
�
�a�rz&can't jump into the body of a for loopc�� �[]],2Piw�K
oUO]2JKBSO]2P!3hrJ)r8rr
s& r�+test_no_jump_backwards_into_async_for_block�8JumpTestCase.test_no_jump_backwards_into_async_for_block
s=��� �!�Q��(�	�	�!��M�M�!��	�(��
�
�a��s�A�2�0�2�A�2�Ar�c��UO]2[U]29^tt^2UO]2PPP2P!)%fhP!9hrJr r�s&r�%test_no_jump_forwards_into_with_block�2JumpTestCase.test_no_jump_forwards_into_with_block
r#r$c	�� �UO]2[U]29^tt^2EPiw�K
UO]2PPP2EPiw�K
P!K)K)EPiw�K
%fhP!9h3hrJr&r�s&r�+test_no_jump_forwards_into_async_with_block�8JumpTestCase.test_no_jump_forwards_into_async_with_block
r)r*c��[U]29^tt^2UO]2PPP2UO]2P!)%fhK#9hrJrr�s&r�&test_no_jump_backwards_into_with_block�3JumpTestCase.test_no_jump_backwards_into_with_block$
rrc	�� �[U]29^tt^2EPiw�K
UO]2PPP2EPiw�K
UO]2P!K:K)EPiw�K
%fhK29h3hrJrr�s&r�,test_no_jump_backwards_into_async_with_block�9JumpTestCase.test_no_jump_backwards_into_async_with_block*
rrc��UO]2UO]2UO]2P!SO]2h9hrJr�r�s&r�)test_jump_forwards_into_try_finally_block�6JumpTestCase.test_jump_forwards_into_try_finally_block0
r3r4c��UO]2UO]2UO]2P!SO]2h9hr2r�r�s&r�*test_jump_backwards_into_try_finally_block�7JumpTestCase.test_jump_backwards_into_try_finally_block8
r.r/c�|�UO]2UO]2P!SO]2g9hrJr�r�s&r�(test_jump_forwards_into_try_except_block�5JumpTestCase.test_jump_forwards_into_try_except_block@
r=r>c�|�UO]2UO]2P!SO]2g9hr2r�r�s&r�)test_jump_backwards_into_try_except_block�6JumpTestCase.test_jump_backwards_into_try_except_blockI
r8r9c���]]*UO]2P![c&SO]2SO]2KB[coSO]2Po=KbPo=hh9hrJr@r�s& r�!test_jump_between_except_blocks_2�.JumpTestCase.test_jump_between_except_blocks_2S
s]��	�
�a�C�	�
�
�a���!�	��M�M�!���M�M�!��!�	��M�M�!����	�s&�	�	A3�#A3�A3�A3�A.�.A3c��UO]2UO]2UO]2P!SO]2h9hrJr�r�s&r�test_jump_into_finally_block�)JumpTestCase.test_jump_into_finally_block^
r3r4c��UO]2UO]2UO]2UO]2UO]2P!SO]2SO]2h9hr2r�r�s&r�+test_jump_into_finally_block_from_try_block�8JumpTestCase.test_jump_into_finally_block_from_try_blockf
s_��	��M�M�!���M�M�!���M�M�!���M�M�!���
�
�a���
�M�M�!���M�M�!��s�"A�$A>c��UO]2UO]2UO]2P!SO]2h9hrJr�r�s&r�test_jump_out_of_finally_block�+JumpTestCase.test_jump_out_of_finally_blockp
r3r4z9can't jump into an 'except' block as there's no exceptionc��UO]2UO]2P!SO]2P!9hrJr�r�s&r�#test_no_jump_into_bare_except_block�0JumpTestCase.test_no_jump_into_bare_except_blockx
s2���
�
�a��	��M�M�!���	��M�M�!��s�'�=c��UO]2UO]2P![cSO]2P!h9hrJ�rrer�s&r�(test_no_jump_into_qualified_except_block�5JumpTestCase.test_no_jump_into_qualified_except_block�
s:���
�
�a��	��M�M�!����	��M�M�!��	�s�'�	A�A�Ac��UO]2UO]2UO]2P!SO]2SO]2g9hr2r�r�s&r�2test_no_jump_into_bare_except_block_from_try_block�?JumpTestCase.test_no_jump_into_bare_except_block_from_try_block�
sO��	��M�M�!���M�M�!��
	�
�
�a���		��M�M�!���M�M�!���s	�"8�%Ac���UO]2UO]2UO]2P![c%SO]2SO]2gh9hr2rKr�s&r�7test_no_jump_into_qualified_except_block_from_try_block�DJumpTestCase.test_no_jump_into_qualified_except_block_from_try_block�
sY��	��M�M�!���M�M�!��
	�
�
�a���	!�	��M�M�!���M�M�!���	�s�"8�	A'�%A'c��UO]2UO]2]]*P!SO]2SO]2P!9hrJr�r�s&r�"test_jump_out_of_bare_except_block�/JumpTestCase.test_jump_out_of_bare_except_block�
sG���
�
�a��	��M�M�!��
�a�C�C��	��M�M�!���M�M�!��s	�0�$Ac���UO]2UO]2]]*P![c'SO]2SO]2P!h9hrJr�r�s&r�'test_jump_out_of_qualified_except_block�4JumpTestCase.test_jump_out_of_qualified_except_block�
sO���
�
�a��	��M�M�!��
�a�C�C���	��M�M�!���M�M�!��	�s�0�	A!�#A!� A!c�0�UO]2[U]29^tt^2UO]2PPP2[U]29^tt^2UO]2PPP2P!)%fhK@9h)%fhP!9hrJr r�s&r�test_jump_between_with_blocks�*JumpTestCase.test_jump_between_with_blocks�
rQrRc	��� �UO]2[U]29^tt^2EPiw�K
UO]2PPP2EPiw�K
[U]29^tt^2EPiw�K
UO]2PPP2EPiw�K
P!KkKJ)EPiw�K
%fhKc9hKKK*)EPiw�K
%fhP!9h3hrJr&r�s&r�#test_jump_between_async_with_blocks�0JumpTestCase.test_jump_between_async_with_blocks�
rVrWc��UO]2UO]2UO]2P!SO]2SO]2h9hr2r�r�s&r�-test_no_jump_over_return_out_of_finally_block�:JumpTestCase.test_no_jump_over_return_out_of_finally_block�
sJ��	��M�M�!���M�M�!���M�M�!����
�M�M�!���M�M�!��s	�8�$Ac���UO]2U%fQFDoUO]2J	L"UO]2UO]2UO]2P!r{r�r
s& r�'test_no_jump_into_for_block_before_else�4JumpTestCase.test_no_jump_into_for_block_before_else�
r~rc�� �UO]2U%f,[],2Piw�K
oUO]2JUO]2UO]2UO]2P!KMBNK3hrJr�r
s& r�-test_no_jump_into_async_for_block_before_else�:JumpTestCase.test_no_jump_into_async_for_block_before_else�
r�r�c�:�UO[]QP	,2P!)r3�Spam)r�r�rs&r�test_no_jump_to_non_integers�)JumpTestCase.test_no_jump_to_non_integers�
s���
�
�-�q�&�4�&�Arc��[2P!r)r�rs&r�#test_no_jump_without_trace_function�0JumpTestCase.test_no_jump_without_trace_function�
s
��	'�(rc��-o[QQ8Q0U2UQ*oUOU]Q],[UO1Q5P!)z�def f(output):        # line 0
            x = 0                     # line 1
            y = 1                     # line 2
            '''                       # line 3
            z�                        # lines 4-1004
            '''                       # line 1005
            x += 1                    # line 1006
            output.append(x)          # line 1007
            returnr@��r�a�







































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































)rCr��RuntimeWarning�unbound_locals)rr�r@s&  r�test_large_function� JumpTestCase.test_large_function�
sL�����%�'�)*�	+�
�c�F���
�
�a��D�1�#���@S�@S�/T�
�Urc�`�[QQQ2nU1QkQ2o[U]]2o[OUO2Q,-o[RU2[OP2UO
,QNUQ*2P!)zd
# Comments don't count.
output.append(2)  # firstlineno is here.
output.append(3)
output.append(4)
z
<fake module>rCc� :�\sQsQsYsQsP!)�<JumpTestCase.test_jump_to_firstlineno.<locals>.fake_functionir5)r!r"r#r$r�r&)rGs�r�
fake_functionr�s����Hrr�r
)r3r*r3r*r<)�compiler�rjrkr�rCr�)rr�r�rDrGs&   @r�test_jump_to_firstlineno�%JumpTestCase.test_jump_to_firstlineno�
sw�����
�f���	�	��M�1�a�0�����V�\�\�"��r�N�	��T�9�����T��� � ��)�H�2E�Frrbz5can't jump from the 'call' trace event of a new frame)r�r�c�h`�RO]2U1QkoU2RO]2P!)rKc�,:�RO]2P!r�r�r�s�r�nested�3JumpTestCase.test_no_jump_from_call.<locals>.nesteds����M�M�!�rr�)r
rsf r�test_no_jump_from_call�#JumpTestCase.test_no_jump_from_calls'���	�
�
�a��	����
�
�a�rr,z'can only jump from a 'line' trace eventc�*�UO]2P!rJr�r�s&r�test_no_jump_from_return_event�+JumpTestCase.test_no_jump_from_return_events��	�
�
�a��rrSc�<�UO]2]]*P!rJr�r�s&r�!test_no_jump_from_exception_event�.JumpTestCase.test_no_jump_from_exception_events��	�
�
�a��	�A��r)r�c�X`�U1Qko[U22RO]2P!)c3�>: �RO]2]w�	P!3hr2r�r�s�rr��.JumpTestCase.test_jump_from_yield.<locals>.gen"s�����M�M�!���G�s�)rsr)r
r�sf r�test_jump_from_yield�!JumpTestCase.test_jump_from_yield s���	�	
�S�U���
�
�a�rc��UO]2[]
2Tt,tFDpMJ	ooUO]2P!ttohrJ�rrX�r
r�r7s&  r�test_jump_forward_over_listcomp�,JumpTestCase.test_jump_forward_over_listcomp(s7���
�
�a���b�	�"�	�1�Q�	��"��
�
�a���
#s�Ac�N�]o[]
2Tt,tFDp"MJ	oo]oP!ttohrJrW�r
rYr�r7r�s&    r� test_jump_backward_over_listcomp�-JumpTestCase.test_jump_backward_over_listcomp0s)��
���b�	�"�	�1�Q�	��"�
���
#s�"c���P
oUO]2U%cP![]2Tt,tFDp"MJ	oo]oUO]2UO]2P!ttohrr�r
�flagr�r7s&   r�#test_jump_backward_over_listcomp_v2�0JumpTestCase.test_jump_backward_over_listcomp_v26sS�����
�
�a�����a��!��1�Q���!����
�
�a���
�
�a���
"s�Ac�� �UO]2[[]
22Tt,tPiw�K
pMJKBLttohooSO]2P!3hrJ�rr8rXrs&  r�%test_jump_forward_over_async_listcomp�2JumpTestCase.test_jump_forward_over_async_listcompAsE����
�
�a��'��b�	�2�3�2�3�3��Q�3��3��3��
�
�a��s&�(A�?�=�;�=�?�=�?�Ac��z �]o[[]
22Tt,tPiw�K
p"MJKBLttohoo]oP!3hrJ)r8rXrs&    r�&test_jump_backward_over_async_listcomp�3JumpTestCase.test_jump_backward_over_async_listcompGs7���
��'��b�	�2�3�2�3�3��Q�3��3��3�
��s$�;�0�.�,�.�0�.�0�;c��� �P
oUO]2U%cP![[]22Tt,tPiw�K
p"MJKBLttohoo]oSO]2SO]2P!3hrr!rs&   r�)test_jump_backward_over_async_listcomp_v2�6JumpTestCase.test_jump_backward_over_async_listcomp_v2Msa������
�
�a����'��a��1�2�1�2�2��Q�2��2��2����
�
�a���
�
�a��s6�A8�A8�A�A	�A�A	�A�A	�	A�
.A8)r�c��]o[UO]22UO]2U]
*]
*UO]2P!rJ�rmr�r
rYs& r�(test_jump_with_null_on_stack_load_global�5JumpTestCase.test_jump_with_null_on_stack_load_globalYsN��
��
��M�M�!��	
�	�
�
�a�����

�

�	�
�
�b�rc��]o[oUUO]22UO]2U]*]*UO]2P!rJr+)r
rYr@s&  r�&test_jump_with_null_on_stack_push_null�3JumpTestCase.test_jump_with_null_on_stack_push_nulllsS��
����	��M�M�!��	
�	�
�
�a�����

�

�	�
�
�b�rc��]o[OU]2UO]2U]
*]
*UO]2P!rJ)�listrr,s& r�&test_jump_with_null_on_stack_load_attr�3JumpTestCase.test_jump_with_null_on_stack_load_attr�sK��
������A�	
�	�
�
�a�����

�

�	�
�
�b�rc��UO]2UO]29%fQCuoUO]2P!�rKr�r��r
r�s& r�(test_jump_extended_args_unpack_ex_simple�5JumpTestCase.test_jump_extended_args_unpack_ex_simple�s6���
�
�a���=�=��#�-�-�v���A�q��
�
�a�rc��UO]2UO]29%fQCuoUO]2P!r7r�r8s& r�(test_jump_extended_args_unpack_ex_tricky�5JumpTestCase.test_jump_extended_args_unpack_ex_tricky�s<���
�
�a��
�M�M�!��&�&��	
�
��1��
�
�a�r�cpuc���,QNQ[]Q22NQMo-o[QOU2U2UQ*oUOU]Q]Q,[UO
1Q5P!)�def f(output):c3�:�SF �DoQUQ0w�	J	P!3h)z        output.append(�)r5�r�r�s& rr��@JumpTestCase.test_jump_extended_args_for_iter.<locals>.<genexpr>�s��5F���5F��&�q�c��+�5F���i��z    output.append(100_000)r�r@r�)r@z    output.append(1)z    for _ in spam:)rXrCr�r�r�r�)r�sourcerDr@s&   r� test_jump_extended_args_for_iter�-JumpTestCase.test_jump_extended_args_for_iter�sr��
�H�U�1�g�5F�
G�	
�
)�
���	��T�Y�Y�v�
�	�*��c�N���
�
�a�!�W�q�'�l�^�T�M`�M`�<a�
�brc��UO]2UO]29%cQoUO]2P!r7r�r8s& r�test_jump_or_pop�JumpTestCase.test_jump_or_pop�s0���
�
�a���M�M�!��'�'����
�
�a�rr5)Nr�FN)Nr�N)rKrKr3)r*r{r_)r{r{r_)rKr*r{rKr*r{r_ra)r3r<r3r<r{r_)rKr3r*)r*r*r*r{r�)rKr3rKr3r*r�)rKrKr*r{)rKrKr*)r<rarV)r<r_ra)rKr{rKr{)rKr<r{r�)rKr*r{r_)rKr3r*r{r�r_)r3r<r_ra)rKr*r{r�r�)rKr3r{)rKr_rVrX)rKr*rVr�r�r�)rKr3r�)r3r<r3r<r{)r3r3r_)r3r_ra)rKr*rKr*r{)r3r{r_)rKr*r_rKr*r_ra)rKr3r{r�)r3r3r{)r3rar3)rKr<r<r{)vr!r"r#r$r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�rHr�r�r�r�rr'rrr(r
rrrrr!r'r,r1r6r;rBrErHrLrOrTrYr\r_rbrerhrlrorrrurxr|r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�rrrrrrrr"r%r(r-r0r4r9r<r�requires_resourcerGrJr&r'r(s@rr�r��s
����>�N��6�3�.3�(
�
��q�!�a�S�����
�q�!�Y��� ���q�!�a�S�>�>�"B�C��D���q�!�Y��� ���q�!�a�S������q�!�Y��� ���q�!�a��V�n�n�%E�F��G���q�!�-�.��/���Q��A�q�6�"����#���Q��-�.����/���q�!�a�S�����
�q�!�Y��� ���q�!�a��V��	��	��q�!�a��V�/��4�5��6���q�"�q�"�g� 1�2�6�7��8���q�!�a�S�:�w�/�0��1���q�!�a��V������q�!�\�"��#���q�!�a��V�����
�Q��A�q�6�"��#��
�q�!�(�)��*��
�Q��.�/��0��
�q�!�a�S������q�!�\�"��#���q�!�a�S������q�!�Y��� ���q�!�Y��� ���q�!�Y��� ���q�!�Y��� ���q�!�\�N�N�+K�L��M���q�!�]�#��$���Q��=�)��*���q�!�\�"��#���Q��<�(��)���q�!�(�)��*���Q��.�/��0���q�!�\�"��#���Q��<�(��)���q�"�'�(��)���q�!�Y���(H�I��J���Q��9�~�~�.N�O��P���q�!�\�"�	�#�	��q�!�*�+�
�,�
��q�!�a��V�n�n�%E�F��G���Q��A�q�6�N�N�+K�L��M���q�!�a�S�:�w�/�0��1���q�"�q�c�J��1�2��3��
�q�!�a�S�:�x�0�1��2���q�!�a�S�:�x�0�1��2���q�!�a�S�:�x�0�1��2���q�!�a�S�:�x�0�1��2���q�!�R�*�f�-�.��/��
�Q��2�
�F�3�4�
�5�
��q�!�a��V�j�&�1�2��3���Q��A�q�6�J�0X�#Y�Z��[��
�q�!�R�*�g�.�/��0��
�Q��2�
�G�4�5��6��
�q�!�Z�*�g�!6�7��8��
�Q��:�
�G�'<�=��>��
�q�!�a��V������q�!�_�%��&���q�!�a�S������q�!�Y��� ���q�!�Y���(H�I��J���q�!�a�S������q�!�Y��� ���q�!�_�%��&���q�!�R�*�&a�b�c��d���q�!�R�*�&a�b�c��d���q�!�Y��-h� i�j��k���q�!�a�S�:�'b�c�d��e���q�!�*�+��,���q�!�*�+��,���q�!�]�#��$���Q��=�)��*���q�!�a��V�j�'�2�3��4���q�!�a��V�j�&�1�2��3���Q��A�q�6�J��#7�8��9��B�)�
V�G�&�q�!�a�S��z�<8�/9�:��:���q�!�a�S���8�1:�;��;���q�!�a�S��J�8�4:�;��;���q�!�Y�h�/��0���q�!�a��V�n�n�%E�F��G���q�!�R�.�.�!A�B��C��
�q�!�Y���(H�I��J���Q��A�q�6�N�N�+K�L��M��
�Q��2���'G�H��I��
�Q��9�~�~�.N�O��P���q�!�R�
�G�4�5��6��$�q�!�R�
�G�4�5��6��&�q�!�R�
�G�4�5��6��"�q�!�a��V�n�n�%E�F��G��
�q�!�\�N�N�+K�L��M��
���u�%�
c�&�
c��q�!�a��V�n�n�%E�F��G�rr�c�:`�\sQsQsnQsQsQsQsQsUs	P!)�TestExtendedArgsi�c��UO[O[O22[OP2P!rrOrs&rr��TestExtendedArgs.setUp�r�rc��``�[]2FD
oU2J	Q]Q]Q]-nUU1Qkn[OR2U2[OP2R!)�rbr�r,c�4:�RU99*]*
tt$R!rJr5)r�r�r��countsr�s&&&��rr��,TestExtendedArgs.count_traces.<locals>.trace�s����5�M�Q��M��Lr)rXrjrk)rr�r�rTr�s&& @@r�count_traces�TestExtendedArgs.count_traces�sS����r��A��F���!�V�Q��!�4��	�	���U�������T���
rc	��-oQo[V!2UOUQ*2oUOUQ]QQQ]-2P!)zdef f():
  (r@rbr��-r,a"def f():
  (y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   y,
   ) = range(300))rCrVr�)r�nsrGrTs&   r�test_trace_unpack_long_sequence�0TestExtendedArgs.test_trace_unpack_long_sequence�sD��
��A���T���"�"�2�c�7�+������&�!�V�S�(�A�!F�Grc	�D�QoQOQOQ[U2222o[U2Tt-tFD	oQU0UaJ	oo[V$2UO	UQ*2oUOUQ]QU]*]*Q]-2P!ttoh)	��zeif 1:
            def f():
                return (
                    {}
                )
        z
,
c3�:�SF �DoQUQ0w�	J	P!3h)�varr�r5rCs& rr��>TestExtendedArgs.test_trace_lots_of_globals.<locals>.<genexpr>�s��\���\��#�a�S���\�rEr`r@rbr�r,)�formatr�rXrCrVr�)rrrGr�rZrTs&     r�test_trace_lots_of_globals�+TestExtendedArgs.test_trace_lots_of_globals�s������

�F�7�<�<�B�U�5�\�B�B�C�	
�%*�%�L�
1�L�q��A�3�i��l�L��
1��T���"�"�2�c�7�+������&�!�V�U�Q�Y��]�H�a�!P�Q��2s�Br5)
r!r"r#r$r�rVr[rcr&r'r(s@rrNrN�s!������ H�
R�
RrrNc�4`�\sQsQsnQsQsQsQsUsP!)�
TestEdgeCasesi�c��UO[O[O22[OP2P!rrOrs&rr��TestEdgeCases.setUp�r�rc��`�QoQnU1QkQ2o[OU22[OU2UO[O2R2P!)c��P!rr5r�s*rrz�*TestEdgeCases.test_reentrancy.<locals>.foo����rc��P!rr5r�s*r�bar�*TestEdgeCases.test_reentrancy.<locals>.bar�rlrc�6:`�\sQsQsnQsU1QksQsUsP!)�(TestEdgeCases.test_reentrancy.<locals>.Ai�c��P!rr5)rrCs&*r�__call__�1TestEdgeCases.test_reentrancy.<locals>.A.__call__�r5rc�6:�[OR2P!r)rjrk)rrns&�r�__del__�0TestEdgeCases.test_reentrancy.<locals>.A.__del__�s������S�!rr5)r!r"r#r$rsrvr&r')r)rns@�rrrq�s����
�
"�
"rr)rjrkr�r�)rrzrrns&  @r�test_reentrancy�TestEdgeCases.test_reentrancy�sI���	�	�	"�	"�	���Q�S�����S����������-rc��Qo[OU2=[O[O22P!)c��P!rr5r�s*rrz�+TestEdgeCases.test_same_object.<locals>.foo�rlrr�)rrzs& r�test_same_object�TestEdgeCases.test_same_object�s*��	�	���S������S�\�\�^�$rr5)	r!r"r#r$r�rxr}r&r'r(s@rrfrf�s�����.�&%�%rrfc�(`�\sQsQsnQsQsUsP!)�TestLinesAfterTraceStartedic�Z�[2oUO[O2m[O
UO2]o]o[O
P2UO
[OOOUO,QN2P!)r<)r;rTr^)r�r�rjrlrnrkr�r��test_eventsr�r�r�)rr�r�s&  rr��&TestLinesAfterTraceStarted.test_eventssp�����"(�,�,��
�
������V�\�\�"��������T�����&�2�2�;�;�J�J��M�M��	rr5)r!r"r#r$r�r&r'r(s@rr�r�s�����rr�c�(`�\sQsQsnQsQsUsP!)�TestSetLocalTraceic��``�UU1QknQQko,QNo,n[OR2R[O2mU2UO	RU2[OP2P!)c�:�UOOQ6XcARUmUOUOO*
oROV112R!r�)r�rrnr�r�r)r�r�r�r�r�rps&&& ��rrp�7TestSetLocalTrace.test_with_branches.<locals>.tracefuncsH����|�|�#�#�v�-� )��
��~�~����(C�(C�C���
�
�t�m�,��rc�F�]oU]6�c]oL]oU]6�c]o]
oP!]	o]
oP!rJr5)r��N�not_reached�reached�the_ends&    rr��2TestSetLocalTrace.test_with_branches.<locals>.func"s7���A��a�x������a�x����G����GrrJ)r'r(r9rTr^rWr�r�)rjrkrlrnr�)rr�r�r�rps&  @@r�test_with_branches�$TestSetLocalTrace.test_with_branchessV���	�
	�	
�������Y��"+��
�
����������1����T�rr5)r!r"r#r$r�r&r'r(s@rr�r�s����%�%rr��__main__r:)r'r(r:rTr
)r'r(r9r)rTr
)r'r(r9r)r;r`rbr�r^)
r'r(r9r)r^r9r)r;r9r�r�r)r'r(r9r�r�r�r�r�r)r;r�)r�r)r;r�r)r'r(r9r)r;rTr;rTr;rTr;rT)r{rSr^r`rb)r'r(r9r)r;r;r;r;)r<rSrTr^)r_r,)
r'r9r�r�r�r�)r�rbr�r�r�)rbrSr�r,)@rEr�unittestrjr�r��	functoolsr�test.supportrrrr�r�r9r7r>r��_testinternalcapi�ImportErrorr	r+r8rHrLr�rOrQrSrUrZr^r`rbrfrhrqrsrvrxr}r�r�r�r�r�r��TestCaser�r�rrr)rMr�r�r�r�rNrfr�r�r!�mainr5rr�<module>r�s�����
��	��R�R��	�������
(�
(�
(�
(��

� 
����
�'���
�'����'���
�
(����	%���
�'�
��
�
�����
�
$�
��/�$�,�_����
�,���
�)���
�+���"
�+�����	-�)�+�6��;�
<�)�-�8�9���'���2M1�H�%�%�M1�`,��	/�-�	/�	���.6�=�.6��.6�bg3�x�0�0�g3�\$�$�N+�H�M�8�$�$�M�`*R�x�(�(�*R�Z%�H�%�%�%�D���"'�
�'�T�z���M�M�O���_a�����s�H�H(�!H(�'H(

Youez - 2016 - github.com/yon3zu
LinuXploit