zfc@sIddlmZdgZdefdYZdefdYZdS(i(treftWeakSett_IterationGuardcBs#eZdZdZdZRS(cCst||_dS(N(Rt weakcontainer(tselfR((s#/usr/lib64/python2.7/_weakrefset.pyt__init__scCs/|j}|dk r+|jj|n|S(N(RtNonet _iteratingtadd(Rtw((s#/usr/lib64/python2.7/_weakrefset.pyt __enter__s  cCsH|j}|dk rD|j}|j||sD|jqDndS(N(RRRtremovet_commit_removals(RtetttbR ts((s#/usr/lib64/python2.7/_weakrefset.pyt__exit__s     (t__name__t __module__RR R(((s#/usr/lib64/python2.7/_weakrefset.pyR s  cBsLeZddZdZdZdZdZdZdZ dZ dZ dZ d Z d Zd Zd Zd ZdZeZdZdZdZeZdZdZdZeZdZdZeZdZdZ dZ!dZ"e"Z#dZ$dZ%dZ&e&Z'dZ(RS( cCs\t|_t|d}||_g|_t|_|dk rX|j|ndS(NcSsH|}|dk rD|jr1|jj|qD|jj|ndS(N(RRt_pending_removalstappendtdatatdiscard(titemtselfrefR((s#/usr/lib64/python2.7/_weakrefset.pyt_remove&s    (tsetRRRRRRtupdate(RRR((s#/usr/lib64/python2.7/_weakrefset.pyR$s     cCs6|j}|jj}x|r1||jqWdS(N(RRRtpop(RtlR((s#/usr/lib64/python2.7/_weakrefset.pyR 4s   ccsHt|6x.|jD]#}|}|dk r|VqqWWdQXdS(N(RRR(RtitemrefR((s#/usr/lib64/python2.7/_weakrefset.pyt__iter__:s    cCst|jt|jS(N(tlenRR(R((s#/usr/lib64/python2.7/_weakrefset.pyt__len__CscCs2yt|}Wntk r$tSX||jkS(N(Rt TypeErrortFalseR(RRtwr((s#/usr/lib64/python2.7/_weakrefset.pyt __contains__Fs  cCs%|jt|ft|ddfS(Nt__dict__(t __class__tlisttgetattrR(R((s#/usr/lib64/python2.7/_weakrefset.pyt __reduce__MscCs6|jr|jn|jjt||jdS(N(RR RRRR(RR((s#/usr/lib64/python2.7/_weakrefset.pyRSs  cCs'|jr|jn|jjdS(N(RR Rtclear(R((s#/usr/lib64/python2.7/_weakrefset.pyR,Xs  cCs |j|S(N(R((R((s#/usr/lib64/python2.7/_weakrefset.pytcopy]scCss|jr|jnxVtrny|jj}Wntk rQtdnX|}|dk r|SqWdS(Nspop from empty WeakSet(RR tTrueRRtKeyErrorR(RRR((s#/usr/lib64/python2.7/_weakrefset.pyR`s      cCs0|jr|jn|jjt|dS(N(RR RR R(RR((s#/usr/lib64/python2.7/_weakrefset.pyR ls  cCs0|jr|jn|jjt|dS(N(RR RRR(RR((s#/usr/lib64/python2.7/_weakrefset.pyRqs  cCs8|jr|jnx|D]}|j|qWdS(N(RR R(Rtothertelement((s#/usr/lib64/python2.7/_weakrefset.pyRvs   cCs|j||S(N(R(RR0((s#/usr/lib64/python2.7/_weakrefset.pyt__ior__|s cCs|j}|j||S(N(R-tdifference_update(RR0tnewset((s#/usr/lib64/python2.7/_weakrefset.pyt differences  cCs|j|dS(N(t__isub__(RR0((s#/usr/lib64/python2.7/_weakrefset.pyR3scCsP|jr|jn||kr2|jjn|jjd|D|S(Ncss|]}t|VqdS(N(R(t.0R((s#/usr/lib64/python2.7/_weakrefset.pys s(RR RR,R3(RR0((s#/usr/lib64/python2.7/_weakrefset.pyR6s    csjfd|DS(Nc3s!|]}|kr|VqdS(N((R7R(R(s#/usr/lib64/python2.7/_weakrefset.pys s(R((RR0((Rs#/usr/lib64/python2.7/_weakrefset.pyt intersectionscCs|j|dS(N(t__iand__(RR0((s#/usr/lib64/python2.7/_weakrefset.pytintersection_updatescCs4|jr|jn|jjd|D|S(Ncss|]}t|VqdS(N(R(R7R((s#/usr/lib64/python2.7/_weakrefset.pys s(RR RR:(RR0((s#/usr/lib64/python2.7/_weakrefset.pyR9s  cCs|jjd|DS(Ncss|]}t|VqdS(N(R(R7R((s#/usr/lib64/python2.7/_weakrefset.pys s(Rtissubset(RR0((s#/usr/lib64/python2.7/_weakrefset.pyR;scCs|jtd|DkS(Ncss|]}t|VqdS(N(R(R7R((s#/usr/lib64/python2.7/_weakrefset.pys s(RR(RR0((s#/usr/lib64/python2.7/_weakrefset.pyt__lt__scCs|jjd|DS(Ncss|]}t|VqdS(N(R(R7R((s#/usr/lib64/python2.7/_weakrefset.pys s(Rt issuperset(RR0((s#/usr/lib64/python2.7/_weakrefset.pyR=scCs|jtd|DkS(Ncss|]}t|VqdS(N(R(R7R((s#/usr/lib64/python2.7/_weakrefset.pys s(RR(RR0((s#/usr/lib64/python2.7/_weakrefset.pyt__gt__scCs3t||jstS|jtd|DkS(Ncss|]}t|VqdS(N(R(R7R((s#/usr/lib64/python2.7/_weakrefset.pys s(t isinstanceR(tNotImplementedRR(RR0((s#/usr/lib64/python2.7/_weakrefset.pyt__eq__scCs$|j|}|tkrtS| S(N(RAR@(RR0topposite((s#/usr/lib64/python2.7/_weakrefset.pyt__ne__s cCs|j}|j||S(N(R-tsymmetric_difference_update(RR0R4((s#/usr/lib64/python2.7/_weakrefset.pytsymmetric_differences  cCs|j|dS(N(t__ixor__(RR0((s#/usr/lib64/python2.7/_weakrefset.pyRDscsVjrjn|kr2jjn jjfd|DS(Nc3s!|]}t|jVqdS(N(RR(R7R(R(s#/usr/lib64/python2.7/_weakrefset.pys s(RR RR,RD(RR0((Rs#/usr/lib64/python2.7/_weakrefset.pyRFs     cCs|jd||fDS(Ncss"|]}|D] }|Vq qdS(N((R7RR ((s#/usr/lib64/python2.7/_weakrefset.pys s(R((RR0((s#/usr/lib64/python2.7/_weakrefset.pytunionscCst|j|dkS(Ni(R!R8(RR0((s#/usr/lib64/python2.7/_weakrefset.pyt isdisjointsN()RRRRR R R"R&R+t__hash__RR,R-RR RRR2R5t__sub__R3R6R8t__and__R:R9R;t__le__R<R=t__ge__R>RARCREt__xor__RDRFRGt__or__RH(((s#/usr/lib64/python2.7/_weakrefset.pyR#sL                          N(t_weakrefRt__all__tobjectRR(((s#/usr/lib64/python2.7/_weakrefset.pyts