ó ¤B$?c@såddlTdadZddd„ƒYZedƒZedƒZiZddlZdejfd „ƒYZd e fd „ƒYZ d e fd „ƒYZ dd„Zdd„Zd„Zd„Zd„ZedkráeƒndS(iÿÿÿÿ(t*it__wddx__t TruthValuecBs>eZd„Zd„Zd„Zd„Zd„Zd„ZRS(cCs'|rd|jds(R(R((sB/opt/freeware/lib/python2.7/site-packages/_xmlplus/marshal/wddx.pyt__repr__Ds (t__name__t __module__RR R R RR(((sB/opt/freeware/lib/python2.7/site-packages/_xmlplus/marshal/wddx.pyR6s      iNt RecordSetcBseZd„ZRS(cGs¶tjj|ƒt|ƒt|ƒkr4td‚nx:|dD].}t|ƒt|dƒkr?td‚q?q?W||_x5tt|ƒƒD]!}||}|||j|t wddxPackettnumbertbooleans0.9cCs%|dkrt|_n ||_dS(N(tNonetSTRICTt_strict(Rtstrict((sB/opt/freeware/lib/python2.7/site-packages/_xmlplus/marshal/wddx.pyRes  cCsTd|j|jfg}|jdƒ||j||ƒ}|jd|jƒ|S(Ns<%s version="%s">s
s (ttag_roott wddx_versiontappendt_marshal(RRtdictR((sB/opt/freeware/lib/python2.7/site-packages/_xmlplus/marshal/wddx.pytm_rootks  cCsÂt|tƒr|j||ƒSt|tƒrE|r;dgSdgSn|j r®t|tƒr®t|tƒƒ}t|tƒržtdtt |ƒtf‚n|j ||ƒS|j ||ƒdS(NsssA%s method of object %s may not return object having own %s method( t isinstanceRt m_recordsetRR$thasattrt _WDDX_METHODtgetattrRtreprR)tm_unimplemented(RRR*tnewval((sB/opt/freeware/lib/python2.7/site-packages/_xmlplus/marshal/wddx.pyt m_instancess cCsœdt|ƒtj|jdƒfg}x`|jD]U}||}|jd|ƒx$|D]}||j||ƒ}qZW|jdƒq2W|jdƒ|S(Ns)t,sss (RtstringtjoinRR(R)(RRR*RRtrecstr((sB/opt/freeware/lib/python2.7/site-packages/_xmlplus/marshal/wddx.pyR-Žs%   cCsqg}tt|ƒƒ}d||<|jdt|ƒƒx$|D]}||j||ƒ}q@W|jdƒ|S(Niss(tstrtidR(RR)(RRR*RRtelem((sB/opt/freeware/lib/python2.7/site-packages/_xmlplus/marshal/wddx.pytm_list›s   cCs-|jr|j||ƒS|j||ƒSdS(N(R$R2R=(RRR*((sB/opt/freeware/lib/python2.7/site-packages/_xmlplus/marshal/wddx.pytm_tuple¥s cCs-|jr|j||ƒS|jd|ƒSdS(Nt(R$R2tm_string(RRR*((sB/opt/freeware/lib/python2.7/site-packages/_xmlplus/marshal/wddx.pytm_None«s cCs¡g}tt|ƒƒ}d||<|jdƒ|jƒ}|jƒxH|D]@\}}|jd|ƒ||j||ƒ}|jdƒqLW|jdƒ|S(Nissss (R:R;R(titemstsortR)(RRR*RRRBtkeytv((sB/opt/freeware/lib/python2.7/site-packages/_xmlplus/marshal/wddx.pyt m_dictionary±s     N(RRtDTDR&t tag_floatttag_intttag_longt tag_instanceR't MarshallerR2t m_referencet m_complextm_codeR"RR+R4R-R=R>RARF(((sB/opt/freeware/lib/python2.7/site-packages/_xmlplus/marshal/wddx.pyR\s     tWDDXUnmarshallercBs¼eZi d%d6d&d6d'd6d(d6d)d6d*d 6d+d6d,d6d-d6d.d6d/d6d0d6Zd„Zd„Zd„ZejZ ej Z d „Z d!„Z d"„Zd#„ZejZRS(1Rt um_start_rootRtheadert um_start_chartchartum_start_booleantum_end_booleanR!tum_start_numbert um_end_numberR tum_start_stringt um_end_stringR6t um_start_listt um_end_listtarraytum_start_dictionarytum_end_dictionarytstructt um_start_vartvartum_start_recordsettum_end_recordsett recordsettum_start_fieldt um_end_fieldtfieldcCs4|jdjtttj|ddƒƒƒƒdS(Niÿÿÿÿtcodei(t data_stackR(R:tchrR6tatoi(Rtnametattrs((sB/opt/freeware/lib/python2.7/site-packages/_xmlplus/marshal/wddx.pyRSÒscCs!|d}|jj|gƒdS(NR(RjR((RRmRnRE((sB/opt/freeware/lib/python2.7/site-packages/_xmlplus/marshal/wddx.pyRUÕs cCs8|j}|dddkr*t|d|d}|jj|ƒ|jjtƒ|jjgƒdS(NRm(RjR(tLIST(RRmRnRh((sB/opt/freeware/lib/python2.7/site-packages/_xmlplus/marshal/wddx.pyRfüs N(NN(RQN(NN(s um_start_charN(sum_start_booleansum_end_boolean(sum_start_numbers um_end_number(RYRZ(R[s um_end_list(R^R_(s um_start_varN(sum_start_recordsetsum_end_recordset(sum_start_fields um_end_field(RRR"tunmarshal_methRSRURVt Unmarshallertum_start_genericRWt um_end_floatRXRaRcRdRfR\Rg(((sB/opt/freeware/lib/python2.7/site-packages/_xmlplus/marshal/wddx.pyRPÂs.          cCst|ƒ}|j||ƒS(N(Rtdump(RtfileR%tm((sB/opt/freeware/lib/python2.7/site-packages/_xmlplus/marshal/wddx.pyR‚s cCst|ƒ}|j|ƒS(N(Rtdumps(RR%R„((sB/opt/freeware/lib/python2.7/site-packages/_xmlplus/marshal/wddx.pyR…s cCstƒj|ƒS(N(RPtload(Rƒ((sB/opt/freeware/lib/python2.7/site-packages/_xmlplus/marshal/wddx.pyR† scCstƒj|ƒS(N(RPtloads(R6((sB/opt/freeware/lib/python2.7/site-packages/_xmlplus/marshal/wddx.pyR‡scCsdGHtddgddgddgƒ}dd&d „ƒY}d atttttttd t d d ƒd dd d ddg|idd6dd6ddgd6idd6idd6dd6d6dd6td6ddgd 6g ƒd!atttttd dd"d#d|d$ƒfgd%d!ƒdS('NsTesting WDDX marshalling...tNAMEtAGEsJohn DoesJane Doei"itCustomcBs#eZd„Zd„Zd„ZRS(cSs ||_dS(N(R(RR((sB/opt/freeware/lib/python2.7/site-packages/_xmlplus/marshal/wddx.pyRscSs|jS(N(R(R((sB/opt/freeware/lib/python2.7/site-packages/_xmlplus/marshal/wddx.pyRscSs t|jƒS(N(R1R(R((sB/opt/freeware/lib/python2.7/site-packages/_xmlplus/marshal/wddx.pyRs(RRRRR(((sB/opt/freeware/lib/python2.7/site-packages/_xmlplus/marshal/wddx.pyRŠs  iil{g¸…ëQ¸3@shere is a string & a itfooit lowerBoundi‹t upperBoundsrhode island redtbantamteggssa stringtsg¶óýÔxé(Àtntobjtbi ssecond elementtaitfiveii*t do_assert(( RR#ttestR†R‡R‚R…RpRqtpowR"(ReRŠ((sB/opt/freeware/lib/python2.7/site-packages/_xmlplus/marshal/wddx.pytruntestss$    "t__main__((tgenericR#R/RRpRqRwRRRLRRRPR"R‚R…R†R‡R™R(((sB/opt/freeware/lib/python2.7/site-packages/_xmlplus/marshal/wddx.pyts"     fA