%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /proc/self/root/opt/plesk/python/2.7/lib64/python2.7/site-packages/yaml/
Upload File :
Create Path :
Current File : //proc/self/root/opt/plesk/python/2.7/lib64/python2.7/site-packages/yaml/__init__.pyc

�
�ac@saddlTddlTddlTddlTddlTddlTdZyddlTeZ	Wne
k
roeZ	nXied6Zd%d�Zdefd��YZd�Zed�Zed�Zed	�Zed
�Zd%d�Zd%d�Zd
�Zd�Zd�Zd�Zd�Zd�Zd%ed%d%d%d%d%d�Z d%ed%d%d%d%d%dd%d%d%d%d�Z!d%ed�Z"d%ed%ed%d%d%d%d%dd%d%d%d%ed�Z#d%ed�Z$d%d�Z%d%d�Z&d%d%ed�Z'd%d%ed�Z(d%d�Z)d%d�Z*ed�Z+ed �Z,d!e-fd"��YZ.d#e/fd$��YZ0d%S(&i����(t*s5.3tYAMLLoadWarningcCsW|dkrtSt|�tkrSx.|D]#}|tkr)||t|<q)q)WndS(N(tNonet_warnings_enabledttypetdict(tsettingstkey((sD/opt/plesk/python/2.7/lib64/python2.7/site-packages/yaml/__init__.pytwarningss
cBseZRS((t__name__t
__module__(((sD/opt/plesk/python/2.7/lib64/python2.7/site-packages/yaml/__init__.pyR(scCsDtdtkrdSddl}d|}|j|tdd�dS(NRi����s�calling yaml.%s() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.t
stackleveli(RtFalseRtwarnR(tmethodRtmessage((sD/opt/plesk/python/2.7/lib64/python2.7/site-packages/yaml/__init__.pytload_warning+sccs@||�}z"x|j�r,|j�VqWWd|j�XdS(s9
    Scan a YAML stream and produce scanning tokens.
    N(tcheck_tokent	get_tokentdispose(tstreamtLoadertloader((sD/opt/plesk/python/2.7/lib64/python2.7/site-packages/yaml/__init__.pytscan:s
ccs@||�}z"x|j�r,|j�VqWWd|j�XdS(s9
    Parse a YAML stream and produce parsing events.
    N(tcheck_eventt	get_eventR(RRR((sD/opt/plesk/python/2.7/lib64/python2.7/site-packages/yaml/__init__.pytparseEs
cCs,||�}z|j�SWd|j�XdS(sj
    Parse the first YAML document in a stream
    and produce the corresponding representation tree.
    N(tget_single_nodeR(RRR((sD/opt/plesk/python/2.7/lib64/python2.7/site-packages/yaml/__init__.pytcomposePsccs@||�}z"x|j�r,|j�VqWWd|j�XdS(sb
    Parse all YAML documents in a stream
    and produce corresponding representation trees.
    N(t
check_nodetget_nodeR(RRR((sD/opt/plesk/python/2.7/lib64/python2.7/site-packages/yaml/__init__.pytcompose_all[s
cCsK|dkrtd�t}n||�}z|j�SWd|j�XdS(sd
    Parse the first YAML document in a stream
    and produce the corresponding Python object.
    tloadN(RRt
FullLoadertget_single_dataR(RRR((sD/opt/plesk/python/2.7/lib64/python2.7/site-packages/yaml/__init__.pyR gs
	ccs_|dkrtd�t}n||�}z"x|j�rK|j�Vq1WWd|j�XdS(s\
    Parse all YAML documents in a stream
    and produce corresponding Python objects.
    tload_allN(RRR!t
check_datatget_dataR(RRR((sD/opt/plesk/python/2.7/lib64/python2.7/site-packages/yaml/__init__.pyR#vs
	cCs
t|t�S(s�
    Parse the first YAML document in a stream
    and produce the corresponding Python object.

    Resolve all tags except those known to be
    unsafe on untrusted input.
    (R R!(R((sD/opt/plesk/python/2.7/lib64/python2.7/site-packages/yaml/__init__.pyt	full_load�scCs
t|t�S(s�
    Parse all YAML documents in a stream
    and produce corresponding Python objects.

    Resolve all tags except those known to be
    unsafe on untrusted input.
    (R#R!(R((sD/opt/plesk/python/2.7/lib64/python2.7/site-packages/yaml/__init__.pyt
full_load_all�scCs
t|t�S(s�
    Parse the first YAML document in a stream
    and produce the corresponding Python object.

    Resolve only basic YAML tags. This is known
    to be safe for untrusted input.
    (R t
SafeLoader(R((sD/opt/plesk/python/2.7/lib64/python2.7/site-packages/yaml/__init__.pyt	safe_load�scCs
t|t�S(s�
    Parse all YAML documents in a stream
    and produce corresponding Python objects.

    Resolve only basic YAML tags. This is known
    to be safe for untrusted input.
    (R#R((R((sD/opt/plesk/python/2.7/lib64/python2.7/site-packages/yaml/__init__.pyt
safe_load_all�scCs
t|t�S(s�
    Parse the first YAML document in a stream
    and produce the corresponding Python object.

    Resolve all tags, even those known to be
    unsafe on untrusted input.
    (R tUnsafeLoader(R((sD/opt/plesk/python/2.7/lib64/python2.7/site-packages/yaml/__init__.pytunsafe_load�scCs
t|t�S(s�
    Parse all YAML documents in a stream
    and produce corresponding Python objects.

    Resolve all tags, even those known to be
    unsafe on untrusted input.
    (R#R+(R((sD/opt/plesk/python/2.7/lib64/python2.7/site-packages/yaml/__init__.pytunsafe_load_all�scCs�d}|dkr7ddlm}	|	�}|j}n||d|d|d|d|d|�}
z"x|D]}|
j|�qkWWd|
j�X|r�|�SdS(	sl
    Emit YAML parsing events into a stream.
    If stream is None, return the produced string instead.
    i����(tStringIOt	canonicaltindenttwidtht
allow_unicodet
line_breakN(RR.tgetvaluetemitR(teventsRtDumperR/R0R1R2R3R4R.tdumpertevent((sD/opt/plesk/python/2.7/lib64/python2.7/site-packages/yaml/__init__.pyR5�s	
sutf-8c
Cs�d
}
|d
krV|d
kr1ddlm}nddlm}|�}|j}
n||d|d|d|d|d|d|d	|d
|d|	d|
�
}z6|j�x|D]}|j|�q�W|j�Wd
|j�X|
r�|
�Sd
S(s�
    Serialize a sequence of representation trees into a YAML stream.
    If stream is None, return the produced string instead.
    i����(R.R/R0R1R2R3tencodingtversionttagstexplicit_starttexplicit_endN(RR.t	cStringIOR4topent	serializetcloseR(tnodesRR7R/R0R1R2R3R:R=R>R;R<R4R.R8tnode((sD/opt/plesk/python/2.7/lib64/python2.7/site-packages/yaml/__init__.pyt
serialize_all�s&		

cKst|g|d||�S(sx
    Serialize a representation tree into a YAML stream.
    If stream is None, return the produced string instead.
    R7(RE(RDRR7tkwds((sD/opt/plesk/python/2.7/lib64/python2.7/site-packages/yaml/__init__.pyRA�scCsd}|dkrV|
dkr1ddlm}nddlm}|�}|j}n||d|d|d|d|d|d|d	|	d
|
d|
d|d
|d|d|�
}z6|j�x|D]}|j|�q�W|j�Wd|j�X|r|�SdS(s
    Serialize a sequence of Python objects into a YAML stream.
    If stream is None, return the produced string instead.
    i����(R.t
default_styletdefault_flow_styleR/R0R1R2R3R:R;R<R=R>t	sort_keysN(RR.R?R4R@t	representRBR(t	documentsRR7RGRHR/R0R1R2R3R:R=R>R;R<RIR4R.R8tdata((sD/opt/plesk/python/2.7/lib64/python2.7/site-packages/yaml/__init__.pytdump_all�s*
	

cKst|g|d||�S(sr
    Serialize a Python object into a YAML stream.
    If stream is None, return the produced string instead.
    R7(RM(RLRR7RF((sD/opt/plesk/python/2.7/lib64/python2.7/site-packages/yaml/__init__.pytdump scKst||dt|�S(s�
    Serialize a sequence of Python objects into a YAML stream.
    Produce only basic YAML tags.
    If stream is None, return the produced string instead.
    R7(RMt
SafeDumper(RKRRF((sD/opt/plesk/python/2.7/lib64/python2.7/site-packages/yaml/__init__.pyt
safe_dump_all'scKst|g|dt|�S(s�
    Serialize a Python object into a YAML stream.
    Produce only basic YAML tags.
    If stream is None, return the produced string instead.
    R7(RMRO(RLRRF((sD/opt/plesk/python/2.7/lib64/python2.7/site-packages/yaml/__init__.pyt	safe_dump/scCs{|dkrQtjj|||�tjj|||�tjj|||�n|j|||�|j|||�dS(s�
    Add an implicit scalar detector.
    If an implicit scalar value matches the given regexp,
    the corresponding tag is assigned to the scalar.
    first is a sequence of possible initial characters or None.
    N(RRRtadd_implicit_resolverR!R+(ttagtregexptfirstRR7((sD/opt/plesk/python/2.7/lib64/python2.7/site-packages/yaml/__init__.pyRR7scCs{|dkrQtjj|||�tjj|||�tjj|||�n|j|||�|j|||�dS(s�
    Add a path based resolver for the given tag.
    A path is a list of keys that forms a path
    to a node in the representation tree.
    Keys can be string values, integers, or None.
    N(RRRtadd_path_resolverR!R+(RStpathtkindRR7((sD/opt/plesk/python/2.7/lib64/python2.7/site-packages/yaml/__init__.pyRVGscCs\|dkrHtjj||�tjj||�tjj||�n|j||�dS(s�
    Add a constructor for the given tag.
    Constructor is a function that accepts a Loader instance
    and a node object and produces the corresponding Python object.
    N(RRRtadd_constructorR!R+(RStconstructorR((sD/opt/plesk/python/2.7/lib64/python2.7/site-packages/yaml/__init__.pyRYVs
cCs\|dkrHtjj||�tjj||�tjj||�n|j||�dS(s
    Add a multi-constructor for the given tag prefix.
    Multi-constructor is called for a node if its tag starts with tag_prefix.
    Multi-constructor accepts a Loader instance, a tag suffix,
    and a node object and produces the corresponding Python object.
    N(RRRtadd_multi_constructorR!R+(t
tag_prefixtmulti_constructorR((sD/opt/plesk/python/2.7/lib64/python2.7/site-packages/yaml/__init__.pyR[cs
cCs|j||�dS(s�
    Add a representer for the given type.
    Representer is a function accepting a Dumper instance
    and an instance of the given data type
    and producing the corresponding representation node.
    N(tadd_representer(t	data_typetrepresenterR7((sD/opt/plesk/python/2.7/lib64/python2.7/site-packages/yaml/__init__.pyR^qscCs|j||�dS(s�
    Add a representer for the given type.
    Multi-representer is a function accepting a Dumper instance
    and an instance of the given data type or subtype
    and producing the corresponding representation node.
    N(tadd_multi_representer(R_tmulti_representerR7((sD/opt/plesk/python/2.7/lib64/python2.7/site-packages/yaml/__init__.pyRazstYAMLObjectMetaclasscBseZdZd�ZRS(s'
    The metaclass for YAMLObject.
    cCs�tt|�j|||�d|kr�|ddk	r�t|jt�rwxC|jD]}|j|j|j	�qTWn|jj|j|j	�|j
j||j�ndS(Ntyaml_tag(
tsuperRct__init__Rt
isinstancetyaml_loadertlistRYRdt	from_yamltyaml_dumperR^tto_yaml(tclstnametbasesRFR((sD/opt/plesk/python/2.7/lib64/python2.7/site-packages/yaml/__init__.pyRf�s(R	R
t__doc__Rf(((sD/opt/plesk/python/2.7/lib64/python2.7/site-packages/yaml/__init__.pyRc�st
YAMLObjectcBseeZdZeZdZeeegZ	e
ZdZ
dZd�Zee�Zd�Zee�ZRS(sa
    An object that can dump itself to a YAML stream
    and load itself from a YAML stream.
    cCs|j||�S(sC
        Convert a representation node to a Python object.
        (tconstruct_yaml_object(RmRRD((sD/opt/plesk/python/2.7/lib64/python2.7/site-packages/yaml/__init__.pyRj�scCs|j|j||d|j�S(sC
        Convert a Python object to a representation node.
        t
flow_style(trepresent_yaml_objectRdtyaml_flow_style(RmR8RL((sD/opt/plesk/python/2.7/lib64/python2.7/site-packages/yaml/__init__.pyRl�s(N(R	R
RpRct
__metaclass__t	__slots__RR!R+RhR7RkRRdRuRjtclassmethodRl(((sD/opt/plesk/python/2.7/lib64/python2.7/site-packages/yaml/__init__.pyRq�s		N(1terrorttokensR6RCRR8t__version__tcyamltTruet__with_libyaml__tImportErrorRRRRtRuntimeWarningRRRRRRRR R#R&R'R)R*R,R-R7R5RERARMRNRPRQRRRVRYR[R^RaRRctobjectRq(((sD/opt/plesk/python/2.7/lib64/python2.7/site-packages/yaml/__init__.pyt<module>sn











		
	
	
	
	
	
					
		

Zerion Mini Shell 1.0