404

[ Avaa Bypassed ]




Upload:

Command:

elspacio@3.23.101.231: ~ $
3

|��\��@s~dZddlmZmZddlmZddlmZddl	m
Z
mZmZdZ
Gdd	�d	e�ZGd
d�dee�Zddd�Zddd�ZdS)zDefused xml.dom.expatbuilder
�)�print_function�absolute_import)�ExpatBuilder)�
Namespaces�)�DTDForbidden�EntitiesForbidden�ExternalReferenceForbiddenzxml.dom.expatbuilderc@sBeZdZdZddd�Zdd�Zd	d
�Zdd�Zd
d�Zdd�Z	dS)�DefusedExpatBuilderzDefused document builderNFTcCs"tj||�||_||_||_dS)N)�
_ExpatBuilder�__init__�
forbid_dtd�forbid_entities�forbid_external)�selfZoptionsr
rr�r�"/usr/lib/python3.6/expatbuilder.pyrszDefusedExpatBuilder.__init__cCst|||��dS)N)r)r�name�sysid�pubidZhas_internal_subsetrrr�defused_start_doctype_declsz.DefusedExpatBuilder.defused_start_doctype_declcCst||||||��dS)N)r)rrZis_parameter_entity�value�baserr�
notation_namerrr�defused_entity_decl sz'DefusedExpatBuilder.defused_entity_declcCst|d||||��dS)N)r)rrrrrrrrr�defused_unparsed_entity_decl%sz0DefusedExpatBuilder.defused_unparsed_entity_declcCst||||��dS)N)r	)r�contextrrrrrr�#defused_external_entity_ref_handler)sz7DefusedExpatBuilder.defused_external_entity_ref_handlercCsBtj||�|jr|j|_|jr0|j|_|j|_	|j
r>|j|_dS)N)
r�installr
rZStartDoctypeDeclHandlerrrZEntityDeclHandlerrZUnparsedEntityDeclHandlerrrZExternalEntityRefHandler)r�parserrrrr,szDefusedExpatBuilder.install)NFTT)
�__name__�
__module__�__qualname__�__doc__rrrrrrrrrrr
s
r
c@s eZdZdZdd�Zdd�ZdS)�DefusedExpatBuilderNSz2Defused document builder that supports namespaces.cCs tj||�|jjr|j|_dS)N)r
rZ_optionsZnamespace_declarationsZstart_namespace_decl_handlerZStartNamespaceDeclHandler)rrrrrr<szDefusedExpatBuilderNS.installcCstj|�|j�dS)N)r
�resetZ_initNamespaces)rrrrr%As
zDefusedExpatBuilderNS.resetN)r r!r"r#rr%rrrrr$9sr$TFc	
CsZ|r
t}nt}||||d�}t|t�rLt|d�}z|j|�}Wd|j�Xn
|j|�}|S)z{Parse a document, returning the resulting Document node.

    'file' may be either a file name or an open file object.
    )r
rr�rbN)r$r
�
isinstance�str�openZ	parseFile�close)	�file�
namespacesr
rr�
build_builder�builder�fp�resultrrr�parseFs


r1cCs&|r
t}nt}||||d�}|j|�S)zOParse a document from a string, returning the resulting
    Document node.
    )r
rr)r$r
�parseString)�stringr,r
rrr-r.rrrr2^sr2N)TFTT)TFTT)r#Z
__future__rrZxml.dom.expatbuilderrrrZ_Namespaces�commonrrr	Z
__origin__r
r$r1r2rrrr�<module>s'


Filemanager

Name Type Size Permission Actions
ElementTree.cpython-36.opt-1.pyc File 3.26 KB 0644
ElementTree.cpython-36.pyc File 3.26 KB 0644
__init__.cpython-36.opt-1.pyc File 1.16 KB 0644
__init__.cpython-36.pyc File 1.16 KB 0644
cElementTree.cpython-36.opt-1.pyc File 759 B 0644
cElementTree.cpython-36.pyc File 759 B 0644
common.cpython-36.opt-1.pyc File 4.28 KB 0644
common.cpython-36.pyc File 4.32 KB 0644
expatbuilder.cpython-36.opt-1.pyc File 3.5 KB 0644
expatbuilder.cpython-36.pyc File 3.5 KB 0644
expatreader.cpython-36.opt-1.pyc File 2.29 KB 0644
expatreader.cpython-36.pyc File 2.29 KB 0644
lxml.cpython-36.opt-1.pyc File 4.89 KB 0644
lxml.cpython-36.pyc File 4.89 KB 0644
minidom.cpython-36.opt-1.pyc File 1.07 KB 0644
minidom.cpython-36.pyc File 1.07 KB 0644
pulldom.cpython-36.opt-1.pyc File 858 B 0644
pulldom.cpython-36.pyc File 858 B 0644
sax.cpython-36.opt-1.pyc File 1.19 KB 0644
sax.cpython-36.pyc File 1.19 KB 0644
xmlrpc.cpython-36.opt-1.pyc File 4.46 KB 0644
xmlrpc.cpython-36.pyc File 4.46 KB 0644