Server : Apache System : Linux server1.cgrithy.com 3.10.0-1160.95.1.el7.x86_64 #1 SMP Mon Jul 24 13:59:37 UTC 2023 x86_64 User : nobody ( 99) PHP Version : 8.1.23 Disable Function : NONE Directory : /opt/alt/python38/lib64/python3.8/__pycache__/ |
U ��,aU � @ sJ d Z ddlZddlmZmZmZmZmZmZmZm Z m Z mZmZm Z mZmZmZ ddlZdddddgZd d� ZG d d� d�Ze� ZG dd� d�ZG d d� de�ZG dd� de�ZG dd� d�Zedk�rFddlZddlZeejd ��Ze� � Z!W 5 Q R X ee!ej"�#ejd �d d�Z$e$�%� D ]$Z&e$�'e&�Z(e)e(e(�*� e(�+� � �q dS )z2Interface to the compiler's internal symbol tables� N)�USE� DEF_GLOBAL�DEF_NONLOCAL� DEF_LOCAL� DEF_PARAM� DEF_IMPORT� DEF_BOUND� DEF_ANNOT� SCOPE_OFF� SCOPE_MASK�FREE�LOCAL�GLOBAL_IMPLICIT�GLOBAL_EXPLICIT�CELL�symtable�SymbolTable�Class�Function�Symbolc C s t �| ||�}t||�S �N)� _symtabler �_newSymbolTable)�code�filenameZcompile_type�top� r �-/opt/alt/python38/lib64/python3.8/symtable.pyr s c @ s$ e Zd Zdd� Zdd� Zdd� ZdS )�SymbolTableFactoryc C s t �� | _d S r )�weakrefZWeakValueDictionary�_SymbolTableFactory__memo��selfr r r �__init__ s zSymbolTableFactory.__init__c C s6 |j tjkrt||�S |j tjkr,t||�S t||�S r )�typer � TYPE_FUNCTIONr � TYPE_CLASSr r )r"