Your IP : 3.141.12.236
a
R�fZP � @ s d Z ddlZddlZddlZddlZddlT ddlmZ g d�e Z[ejej ej
eee
fZed Zdedfed fed
ffZed ZdZd
d� ZdVddd�dd�ZdWdd�dd�Zddddddddddd�
Zd d!� Zd"d#� Zd$d%� Zd&d'� Zdd�d(d)�Ze� d*d+�Z!d,e!j"_ d-e!j_ d.e!j#_ d/e!j$_ d0e!j%_ d1e!j&_ d2e!j'_ d3e!j(_ d4Z)d5Z*G d6d7� d7e!�Z+dd8�d9d:�Z,d;d<� Z-d=d>� Z.dXd?d@�Z/dYdd�dBdC�Z0ddd�dDdE�Z1dZdddF�dGdH�Z2dIdJ� Z3e0Z4dKdL� Z5dMdN� Z6dOdP� Z7G dQdR� dR�Z8dSdT� Z9e:dUk�re9� dS )[z0Disassembler of Python byte code into mnemonics.� N)�*)�__all__)� code_info�dis�disassemble�distb�disco�findlinestarts�
findlabels� show_code�get_instructions�Instruction�Bytecode�FORMAT_VALUE)N� �str�repr�ascii�
MAKE_FUNCTION)�defaults�
kwdefaults�annotationsZclosurec C s4 zt | |d�}W n ty. t | |d�}Y n0 |S )z�Attempts to compile the given source, first as an expression and
then as a statement if the first approach fails.
Utility function to accept strings in functions that otherwise
expect code objects
�eval�exec)�compile�SyntaxError)�source�name�c� r �(/opt/alt/python39/lib64/python3.9/dis.py�_try_compile s
r! ��file�depthc C sj | du rt |d� dS t| d�r&| j} t| d�r8| j} n4t| d�rJ| j} n"t| d�r\| j} nt| d�rl| j} t| d�r�t| j� � �}|D ]r\}}t
|t�r�td | |d� zt
|||d
� W n2 ty� } ztd||d� W Y d}~n
d}~0 0 t|d� q�nht| d��rt| ||d
� nLt
| ttf��r8t| |d� n.t
| t��rTt| ||d
� ntd
t| �j ��dS )a0 Disassemble classes, methods, functions, and other compiled objects.
With no argument, disassemble the last traceback.
Compiled objects currently include generator objects, async generator
objects, and coroutine objects, all of which store their code object
in a special attribute.
N�r# �__func__�__code__�gi_code�ag_code�cr_code�__dict__zDisassembly of %s:r"