/[theodore]/bunnyblog/modules/yaml/serializer.pyc


UCC Code Repository

Contents of /bunnyblog/modules/yaml/serializer.pyc

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1 - (show annotations) (download) (as text)
Tue Jan 29 14:32:01 2008 UTC (12 years, 7 months ago) by svn-admin
File MIME type: application/octet-stream
File size: 4006 byte(s)
Re-import of repository after repository database corruption.

1
2 ĶĀŅDc@sWddgZdklZdkTdkTdefd„ƒYZdefd„ƒYZdS(t
3 SerializertSerializerError(s YAMLError(t*cBstZRS(N(t__name__t
4 __module__(((t./modules/yaml/serializer.pyRscBs\tZdZdddddd„Zd„Zd„Zd„Zd„Zd„Z d„Z
5 RS( Nuid%03dcCsU||_||_||_||_||_
6 h|_ h|_ d|_ d|_dS(Ni(tencodingtselft use_encodingtexplicit_starttuse_explicit_startt explicit_endtuse_explicit_endtversiont use_versionttagstuse_tagstserialized_nodestanchorstlast_anchor_idtNonetclosed(RRR R R R((Rt__init__s        cCs`|idjo&|itd|iƒƒt|_n'|iotdƒ‚n tdƒ‚dS(NRsserializer is closedsserializer is already opened(RRRtemittStreamStartEventRtFalseR(R((Rtopens  
7 cCsK|idjotdƒ‚n(|ip|itƒƒt|_ndS(Nsserializer is not opened(RRRRRtStreamEndEventtTrue(R((Rtclose$s
8 
9 cCs―|idjotdƒ‚n|iotdƒ‚n|itd|id|id|iƒƒ|i |ƒ|i |ddƒ|it d|i ƒƒh|_h|_d|_dS(Nsserializer is not openedsserializer is closedtexplicitR Ri(RRRRRtDocumentStartEventR
10 RRt anchor_nodetnodetserialize_nodetDocumentEndEventR RRt last_alias_id(RR!((Rt serialize.s
11    cCsÐ||ijo2|i|djo|i|ƒ|i|<qĖn‹d|i|<t|tƒo%xj|iD]}|i |ƒqiWnIt|t
12 ƒo8x5|iD]&\}}|i |ƒ|i |ƒqžWndS(N( R!RRRtgenerate_anchort
13 isinstancet SequenceNodetvaluetitemR t MappingNodetkey(RR!R)R*R,((RR <s 
14 
15  cCs|id7_|i|iS(Ni(RRtANCHOR_TEMPLATE(RR!((RR&Jsc CsC|i|}||ijo|it|ƒƒn t|i|<|i||ƒt |t ƒo‰|i t |ittfƒ}|i t |ittfƒ}|i|j|i|jf}|it||i||id|iƒƒnLt |tƒo‘|i|i t|itƒj}|it||i|d|iƒƒd}x.|iD]#}
16 |i|
17 ||ƒ|d7}qPW|itƒƒnŦt |tƒoš|i|i t|itƒj}|it||i|d|iƒƒx=|iD]2\}} |i||dƒ|i| ||ƒqëW|it ƒƒn|i!ƒdS(Ntstylet
18 flow_styleii("RRR!taliasRRt
19 AliasEventRtdescend_resolvertparenttindexR't
20 ScalarNodetresolveR)Rt detected_tagt default_tagttagtimplicitt ScalarEventR.R(tSequenceStartEventR/R*R"tSequenceEndEventR+tMappingStartEventR,RtMappingEndEventtascend_resolver( RR!R3R4R8R0R,R7R:R)R*((RR"Ns>  !
21 !
22 ( RRR-RRRRR%R R&R"(((RR s
23   N(t__all__terrort YAMLErrorteventstnodesRtobjectR(RRCRRA((Rt?s
24  

Properties

Name Value
svn:mime-type application/octet-stream

Managed by UCC Webmasters ViewVC Help
Powered by ViewVC 1.1.26