mfc@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  cBsCeZddZdZdZdZdZdZdZ dZ dZ dZ d Z d Zd Zd Zd ZdZeZdZdZdZeZdZdZdZeZdZdZeZdZdZ 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__AscCs2yt|}Wntk r$tSX||jkS(N(Rt TypeErrortFalseR(RRtwr((s#/usr/lib64/python2.7/_weakrefset.pyt __contains__Ds  cCs%|jt|ft|ddfS(Nt__dict__(t __class__tlisttgetattrR(R((s#/usr/lib64/python2.7/_weakrefset.pyt __reduce__KscCs6|jr|jn|jjt||jdS(N(RR RRRR(RR((s#/usr/lib64/python2.7/_weakrefset.pyRQs  cCs'|jr|jn|jjdS(N(RR Rtclear(R((s#/usr/lib64/python2.7/_weakrefset.pyR,Vs  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 js  cCs0|jr|jn|jjt|dS(N(RR RRR(RR((s#/usr/lib64/python2.7/_weakrefset.pyRos  cCs8|jr|jnx|D]}|j|qWdS(N(RR R(Rtothertelement((s#/usr/lib64/python2.7/_weakrefset.pyRts   cCs|j||S(N(R(RR0((s#/usr/lib64/python2.7/_weakrefset.pyt__ior__zs cCs|j}|j||S(N(R-tdifference_update(RR0tnewset((s#/usr/lib64/python2.7/_weakrefset.pyt difference~s  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}|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.pyRBscsVjrjn|kr2jjn jjfd|DS(Nc3s!|]}t|jVqdS(N(RR(R7R(R(s#/usr/lib64/python2.7/_weakrefset.pys s(RR RR,RB(RR0((Rs#/usr/lib64/python2.7/_weakrefset.pyRDs     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>RARCt__xor__RBRDREt__or__RF(((s#/usr/lib64/python2.7/_weakrefset.pyR#sJ                          N(t_weakrefRt__all__tobjectRR(((s#/usr/lib64/python2.7/_weakrefset.pyts