ž ¦ÿfIc@sCddlmZdgZGdd„dƒZGdd„dƒZdS(i(urefuWeakSetcBs8|EeZdZdd„Zdd„Zdd„ZdS(u_IterationGuardcCst|ƒ|_dS(N(urefu weakcontainer(uselfu weakcontainer((u0/opt/alt/python33/lib64/python3.3/_weakrefset.pyu__init__su_IterationGuard.__init__cCs/|jƒ}|dk r+|jj|ƒn|S(N(u weakcontaineruNoneu _iteratinguadd(uselfuw((u0/opt/alt/python33/lib64/python3.3/_weakrefset.pyu __enter__s  u_IterationGuard.__enter__cCsH|jƒ}|dk rD|j}|j|ƒ|sD|jƒqDndS(N(u weakcontaineruNoneu _iteratinguremoveu_commit_removals(uselfueutubuwus((u0/opt/alt/python33/lib64/python3.3/_weakrefset.pyu__exit__s     u_IterationGuard.__exit__N(u__name__u __module__u __qualname__u__init__u __enter__u__exit__(u __locals__((u0/opt/alt/python33/lib64/python3.3/_weakrefset.pyu_IterationGuard s  u_IterationGuardcBs£|EeZdZd=dd„Zdd„Zdd„Zdd„Zd d „Zd d „Z d d„Z dd„Z dd„Z dd„Z dd„Zdd„Zdd„Zdd„Zdd„ZeZdd „Zd!d"„Zd#d$„ZeZd%d&„Zd'd(„Zd)d*„ZeZd+d,„Zd-d.„ZeZd/d0„Zd1d2„Z d3d4„Z!e!Z"d5d6„Z#d7d8„Z$d9d:„Z%e%Z&d;d<„Z'd=S(>uWeakSetcCs_tƒ|_t|ƒdd„}||_g|_tƒ|_|dk r[|j|ƒndS(NcSsH|ƒ}|dk rD|jr1|jj|ƒqD|jj|ƒndS(N(uNoneu _iteratingu_pending_removalsuappendudataudiscard(uitemuselfrefuself((u0/opt/alt/python33/lib64/python3.3/_weakrefset.pyu_remove&s    u!WeakSet.__init__.._remove(usetudataurefu_removeu_pending_removalsu _iteratinguNoneuupdate(uselfudatau_remove((u0/opt/alt/python33/lib64/python3.3/_weakrefset.pyu__init__$s     uWeakSet.__init__cCs6|j}|jj}x|r1||jƒƒqWdS(N(u_pending_removalsudataudiscardupop(uselfuludiscard((u0/opt/alt/python33/lib64/python3.3/_weakrefset.pyu_commit_removals4s   uWeakSet._commit_removalsc csHt|ƒ6x.|jD]#}|ƒ}|dk r|VqqWWdQXdS(N(u_IterationGuardudatauNone(uselfuitemrefuitem((u0/opt/alt/python33/lib64/python3.3/_weakrefset.pyu__iter__:s    uWeakSet.__iter__cCst|jƒt|jƒS(N(ulenudatau_pending_removals(uself((u0/opt/alt/python33/lib64/python3.3/_weakrefset.pyu__len__CsuWeakSet.__len__c Cs6yt|ƒ}Wntk r(dSYnX||jkS(NF(urefu TypeErroruFalseudata(uselfuitemuwr((u0/opt/alt/python33/lib64/python3.3/_weakrefset.pyu __contains__Fs   uWeakSet.__contains__cCs%|jt|ƒft|ddƒfS(Nu__dict__(u __class__ulistugetattruNone(uself((u0/opt/alt/python33/lib64/python3.3/_weakrefset.pyu __reduce__MsuWeakSet.__reduce__cCs6|jr|jƒn|jjt||jƒƒdS(N(u_pending_removalsu_commit_removalsudatauaddurefu_remove(uselfuitem((u0/opt/alt/python33/lib64/python3.3/_weakrefset.pyuaddQs  u WeakSet.addcCs'|jr|jƒn|jjƒdS(N(u_pending_removalsu_commit_removalsudatauclear(uself((u0/opt/alt/python33/lib64/python3.3/_weakrefset.pyuclearVs  u WeakSet.clearcCs |j|ƒS(N(u __class__(uself((u0/opt/alt/python33/lib64/python3.3/_weakrefset.pyucopy[su WeakSet.copyc Csm|jr|jƒnxPy|jjƒ}Wntk rLtdƒ‚YnX|ƒ}|dk r|SqdS(Nupop from empty WeakSet(u_pending_removalsu_commit_removalsudataupopuKeyErroruNone(uselfuitemrefuitem((u0/opt/alt/python33/lib64/python3.3/_weakrefset.pyupop^s     u WeakSet.popcCs0|jr|jƒn|jjt|ƒƒdS(N(u_pending_removalsu_commit_removalsudatauremoveuref(uselfuitem((u0/opt/alt/python33/lib64/python3.3/_weakrefset.pyuremovejs  uWeakSet.removecCs0|jr|jƒn|jjt|ƒƒdS(N(u_pending_removalsu_commit_removalsudataudiscarduref(uselfuitem((u0/opt/alt/python33/lib64/python3.3/_weakrefset.pyudiscardos  uWeakSet.discardcCs8|jr|jƒnx|D]}|j|ƒqWdS(N(u_pending_removalsu_commit_removalsuadd(uselfuotheruelement((u0/opt/alt/python33/lib64/python3.3/_weakrefset.pyuupdatets   uWeakSet.updatecCs|j|ƒ|S(N(uupdate(uselfuother((u0/opt/alt/python33/lib64/python3.3/_weakrefset.pyu__ior__zs uWeakSet.__ior__cCs|jƒ}|j|ƒ|S(N(ucopyudifference_update(uselfuotherunewset((u0/opt/alt/python33/lib64/python3.3/_weakrefset.pyu difference~s  uWeakSet.differencecCs|j|ƒdS(N(u__isub__(uselfuother((u0/opt/alt/python33/lib64/python3.3/_weakrefset.pyudifference_update„suWeakSet.difference_updatecCsS|jr|jƒn||kr2|jjƒn|jjdd„|Dƒƒ|S(Ncss|]}t|ƒVqdS(N(uref(u.0uitem((u0/opt/alt/python33/lib64/python3.3/_weakrefset.pyu Œsu#WeakSet.__isub__..(u_pending_removalsu_commit_removalsudatauclearudifference_update(uselfuother((u0/opt/alt/python33/lib64/python3.3/_weakrefset.pyu__isub__†s    uWeakSet.__isub__cs ˆj‡fdd†|DƒƒS(Nc3s!|]}|ˆkr|VqdS(N((u.0uitem(uself(u0/opt/alt/python33/lib64/python3.3/_weakrefset.pyu su'WeakSet.intersection..(u __class__(uselfuother((uselfu0/opt/alt/python33/lib64/python3.3/_weakrefset.pyu intersectionsuWeakSet.intersectioncCs|j|ƒdS(N(u__iand__(uselfuother((u0/opt/alt/python33/lib64/python3.3/_weakrefset.pyuintersection_update“suWeakSet.intersection_updatecCs7|jr|jƒn|jjdd„|Dƒƒ|S(Ncss|]}t|ƒVqdS(N(uref(u.0uitem((u0/opt/alt/python33/lib64/python3.3/_weakrefset.pyu ˜su#WeakSet.__iand__..(u_pending_removalsu_commit_removalsudatauintersection_update(uselfuother((u0/opt/alt/python33/lib64/python3.3/_weakrefset.pyu__iand__•s  uWeakSet.__iand__cCs|jjdd„|DƒƒS(Ncss|]}t|ƒVqdS(N(uref(u.0uitem((u0/opt/alt/python33/lib64/python3.3/_weakrefset.pyu œsu#WeakSet.issubset..(udatauissubset(uselfuother((u0/opt/alt/python33/lib64/python3.3/_weakrefset.pyuissubset›suWeakSet.issubsetcCs |jtdd„|DƒƒkS(Ncss|]}t|ƒVqdS(N(uref(u.0uitem((u0/opt/alt/python33/lib64/python3.3/_weakrefset.pyu  su!WeakSet.__lt__..(udatauset(uselfuother((u0/opt/alt/python33/lib64/python3.3/_weakrefset.pyu__lt__ŸsuWeakSet.__lt__cCs|jjdd„|DƒƒS(Ncss|]}t|ƒVqdS(N(uref(u.0uitem((u0/opt/alt/python33/lib64/python3.3/_weakrefset.pyu £su%WeakSet.issuperset..(udatau issuperset(uselfuother((u0/opt/alt/python33/lib64/python3.3/_weakrefset.pyu issuperset¢suWeakSet.issupersetcCs |jtdd„|DƒƒkS(Ncss|]}t|ƒVqdS(N(uref(u.0uitem((u0/opt/alt/python33/lib64/python3.3/_weakrefset.pyu §su!WeakSet.__gt__..(udatauset(uselfuother((u0/opt/alt/python33/lib64/python3.3/_weakrefset.pyu__gt__¦suWeakSet.__gt__cCs6t||jƒstS|jtdd„|DƒƒkS(Ncss|]}t|ƒVqdS(N(uref(u.0uitem((u0/opt/alt/python33/lib64/python3.3/_weakrefset.pyu ¬su!WeakSet.__eq__..(u isinstanceu __class__uNotImplementedudatauset(uselfuother((u0/opt/alt/python33/lib64/python3.3/_weakrefset.pyu__eq__©suWeakSet.__eq__cCs|jƒ}|j|ƒ|S(N(ucopyusymmetric_difference_update(uselfuotherunewset((u0/opt/alt/python33/lib64/python3.3/_weakrefset.pyusymmetric_difference®s  uWeakSet.symmetric_differencecCs|j|ƒdS(N(u__ixor__(uselfuother((u0/opt/alt/python33/lib64/python3.3/_weakrefset.pyusymmetric_difference_update´su#WeakSet.symmetric_difference_updatecsYˆjrˆjƒnˆ|kr2ˆjjƒn#ˆjj‡fdd†|DƒƒˆS(Nc3s!|]}t|ˆjƒVqdS(N(urefu_remove(u.0uitem(uself(u0/opt/alt/python33/lib64/python3.3/_weakrefset.pyu ¼su#WeakSet.__ixor__..(u_pending_removalsu_commit_removalsudatauclearusymmetric_difference_update(uselfuother((uselfu0/opt/alt/python33/lib64/python3.3/_weakrefset.pyu__ixor__¶s    #uWeakSet.__ixor__cCs |jdd„||fDƒƒS(Ncss"|]}|D] }|Vq qdS(N((u.0usue((u0/opt/alt/python33/lib64/python3.3/_weakrefset.pyu Àsu WeakSet.union..(u __class__(uselfuother((u0/opt/alt/python33/lib64/python3.3/_weakrefset.pyuunion¿su WeakSet.unioncCst|j|ƒƒdkS(Ni(ulenu intersection(uselfuother((u0/opt/alt/python33/lib64/python3.3/_weakrefset.pyu isdisjointÃsuWeakSet.isdisjointN((u__name__u __module__u __qualname__uNoneu__init__u_commit_removalsu__iter__u__len__u __contains__u __reduce__uadduclearucopyupopuremoveudiscarduupdateu__ior__u differenceu__sub__udifference_updateu__isub__u intersectionu__and__uintersection_updateu__iand__uissubsetu__le__u__lt__u issupersetu__ge__u__gt__u__eq__usymmetric_differenceu__xor__usymmetric_difference_updateu__ixor__uunionu__or__u isdisjoint(u __locals__((u0/opt/alt/python33/lib64/python3.3/_weakrefset.pyuWeakSet#sH                        N(u_weakrefurefu__all__u_IterationGuarduWeakSet(((u0/opt/alt/python33/lib64/python3.3/_weakrefset.pyus