403Webshell
Server IP : 121.121.20.254  /  Your IP : 216.73.217.141
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_compiler_codegen.cpython-315.pyc
R
>lqjac�2�]PHs]QHGsQQ\2sP!)�)�CodegenTestCasec�L`�\sQs]snQsQsQsQsQsQs	Qs
QsUsP!)	�IsolatedCodeGenTestsc��STt,tFDo[U[2%fJUMJ	ooSTt,tFDo[U[2%cJUMJ	ooUOV2UO[	UO22[	U22[
UO2U2FDvqVUOVV2J	P!ttohttoh)N)�
isinstance�list�assertInstructionsMatch�assertEqual�len�
get_nested�zip�!assertInstructionsMatch_recursive)�self�insts�expected_insts�i�expected_nested�n_insts�
n_expecteds&&&    �/C:\Python315\\Lib\test\test_compiler_codegen.pyr
�6IsolatedCodeGenTests.assertInstructionsMatch_recursive
s���&4�L�n��
�1�d�8K�1�1�n��L�%3�O�^��:�a��;N�!�!�^��O��$�$�U�;�����U�-�-�/�0�#�o�2F�G�#&�u�'7�'7�'9�?�#K��G��2�2�7�G�$L��	M��Os�C�C�C�Cc�z�]PHoUOUQQ2oUOU2oUOVR2P!)rz
my_file.py�exec)�ast�parse�
generate_coder
)r�snippetrr�ars&&&   r�codegen_test�!IsolatedCodeGenTests.codegen_tests5����I�I�g�|�V�4���"�"�1�%���.�.�u�E�c
��QoUO2oQQQQQUO29o]1QQUO29o1UQUQ	Q
Q,
oUOV2P!)z42 if True else 24�POP_JUMP_IF_FALSE�JUMP_NO_INTERRUPT��RESUMErr��ANNOTATIONS_PLACEHOLDERN)�
LOAD_CONSTr�)�TO_BOOLrr))r(r)r))r(�r)��POP_TOPN�r(r)��RETURN_VALUEN��Labelr)rr�	false_lbl�exit_lbl�expecteds&    r�test_if_expression�'IsolatedCodeGenTests.test_if_expressionsr��&���J�J�L�	��-� ��
 �t�z�z�|�";�)�Q�?� �
 �d�j�j�l�":�(�;�� ����"�
��	
���'�,r c���QoUO2oQQQQUO29oQUO29o]1QQQ	Q
QQQ
QU1UQQQQ,oUOV2P!)zfor x in l:
	print(x)�FOR_ITER�JUMPr$r&)�	LOAD_NAMErr))�GET_ITERNr))�NOPNr)r))�
STORE_NAMEr)r))r;r+r+)�	PUSH_NULLNr+)r;r)r+)�CALLr)r+r,)�END_FORN)�POP_ITERN�r(rr/r1)rrr3�loop_lblr4r5s&     r�
test_for_loop�"IsolatedCodeGenTests.test_for_loop,s���+���J�J�L�	��-��!��
�
��$�H�
�T�Z�Z�\�1��1�5�� ��"����
�X������"�'
��*	
���'�,r c	�n�[OQ2oQQQQQQQ,QN,oUOV2P!)	z=
            def f(x):
                return x + 42
        �r%rr&rC��
MAKE_FUNCTIONN�r>rr.r/)rH)�	LOAD_FASTr�r(�*)�	BINARY_OPrr/rCr/��textwrap�dedentr�rrr5s&  r�
test_function�"IsolatedCodeGenTests.test_functionFsH���/�/�#�
��
�-��#���"�	
�
��(	
���'�,r c��[OQ2oQQQQQQQQQQQQ	QQ
QQ,QN,QN,,oUOV2P!)
z�
            def f():
                def h():
                    return 12
                def g():
                    x = 1
                    y = 2
                    z = 3
                    u = 4
                    return 42
        rHr&rCrIrKr.r/��
STORE_FASTr�r(r+�rXr))rH�r=N)r(�r/r.r/)rHr.rWrYrZ)r(�)rXr+)r(�)rXr]r[rMr/rCr/rPrSs&  r�test_nested_functions�*IsolatedCodeGenTests.test_nested_functionsasp���/�/�
#�

��
�-��#���"��!�'�!�!�'�!�!�&���'#
�-
��\	
���'�,r c��QoUO[Q29^tt^2oUOUP2PPP2UOWOO
2UO
UOO]2UO
UOO]
2P!)%fhK�9h)z	return 42z'return' outside function)	�assertRaisesRegex�SyntaxErrorr�assertIsNone�	exception�textr	�offset�
end_offset)rr�cms&  r�)test_syntax_error__return_not_in_function�>IsolatedCodeGenTests.test_syntax_error__return_not_in_function�s�����
�
#�
#�K�1L�
M�
M�QS����g�t�,�N����"�,�,�+�+�,�������,�,�a�0�������0�0�"�5�	N�
M�s�B0�0C	�9C	�)
�__name__�
__module__�__qualname__�__firstlineno__r
rr6rErTr_rj�__static_attributes__�__classdictcell__)�
__classdict__s@rrrs0����H�F�-�(-�4-�6:-�x6�6r r)rQ�test.support.bytecode_helperrrrlr r�<module>rus���8�
[6�?�[6r 

Youez - 2016 - github.com/yon3zu
LinuXploit