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:/Python312/Lib/test/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : C:/Python312/Lib/test/__pycache__/test_compiler_codegen.cpython-312.opt-2.pyc
�

���g��&�ddlmZGd�de�Zy)�)�CodegenTestCasec��eZdZd�Zd�Zd�Zy)�IsolatedCodeGenTestsc�x�ddl}|j|dd�}|j|�}|j||�y)Nrz
my_file.py�exec)�ast�parse�
generate_code�assertInstructionsMatch)�self�snippet�expected_instsr�a�instss      �/C:\Python312\\Lib\test\test_compiler_codegen.py�codegen_testz!IsolatedCodeGenTests.codegen_test	s7����I�I�g�|�V�4���"�"�1�%���$�$�U�N�;�c��d}|j�}ddd|j�x}dfdd|j�x}f|d|d	d
dg}|j||�y)Nz42 if True else 24��RESUMErr)�
LOAD_CONSTr��POP_JUMP_IF_FALSEr)rrr�JUMP)r�r��POP_TOPN)r���RETURN_VALUEN��Labelr)rr
�	false_lbl�exit_lbl�expecteds     r�test_if_expressionz'IsolatedCodeGenTests.test_if_expressionsn��&���J�J�L�	�� �
 �t�z�z�|�";�)�Q�?� �
�����-�X�.�� ����"�
��	
���'�8�,rc��d}|j�}ddd|j�x}d|j�x}dfddd	d
ddd
d|f|dddg}|j||�y)Nzfor x in l:
	print(x)r)�	LOAD_NAMErr)�GET_ITERNr�FOR_ITERr)�NOPNrr)�
STORE_NAMErr)�	PUSH_NULLNr)r(rr)r(rr)�CALLrrrr)�END_FORN)rrrr!)rr
r#�loop_lblr$r%s      r�
test_for_loopz"IsolatedCodeGenTests.test_for_loop!s���+���J�J�L�	���!��
�
��$�H�
�T�Z�Z�\�1��1�5�� �"�����
�X�����"�#
��&	
���'�8�,rN)�__name__�
__module__�__qualname__rr&r1�rrrrs��<�-�$-rrN)�test.support.bytecode_helperrrr5rr�<module>r7s��8�
0-�?�0-r

Youez - 2016 - github.com/yon3zu
LinuXploit