|
Server : Apache System : Linux iZ6xhqomji47p1Z 5.10.134-15.al8.x86_64 #1 SMP Thu Jul 20 00:44:04 CST 2023 x86_64 User : www ( 1000) PHP Version : 8.1.30 Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv Directory : /lib64/python3.6/__pycache__/ |
3
\m � @ sN d Z ddlZddlmZmZmZmZmZmZmZm Z m
Z
mZmZm
Z
mZmZ ddlZdddddgZd d� ZG d
d� d�Ze� ZG dd� de�ZG d
d� de�ZG dd� de�ZG dd� de�Zedk�rJddlZddlZeejd ��Zej � Z!W dQ R X ee!ej"j#ejd �d d�Z$x0e$j%� D ]$Z&e$j'e&�Z(e)e(e(j*� e(j+� � �q"W dS )z2Interface to the compiler's internal symbol tables� N)�USE�
DEF_GLOBAL� 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 j| ||�}t||�S )N)� _symtabler �_newSymbolTable)�code�filenameZcompile_type�top� r � /usr/lib64/python3.6/symtable.pyr s c @ s$ e Zd Zdd� Zdd� Zdd� ZdS )�SymbolTableFactoryc C s t j� | _d S )N)�weakref�WeakValueDictionary�_SymbolTableFactory__memo)�selfr r r �__init__ s zSymbolTableFactory.__init__c C s6 |j tjkrt||�S |j tjkr,t||�S t||�S )N)�typer �
TYPE_FUNCTIONr �
TYPE_CLASSr r )r �tabler r r r �new s
zSymbolTableFactory.newc C s8 ||f}| j j|d �}|d kr4| j||� }| j |<