-=[ Mr. Bumblebee ]=-
_Indonesia_
ó
ºV}]c @ sî d Z d d l Z d d l m Z m Z m Z m Z m Z m Z m Z d d l
m Z m Z d d l
m Z e e f Z d d d d d
d d d
d d d d g Z d e j f d „ ƒ YZ d e f d „ ƒ YZ d
e j f d „ ƒ YZ d S( s{ Weak reference support for Python.
This module is an implementation of PEP 205:
http://www.python.org/dev/peps/pep-0205/
iÿÿÿÿN( t getweakrefcountt getweakrefst reft proxyt CallableProxyTypet ProxyTypet
ReferenceType( t WeakSett _IterationGuard( t ReferenceErrorR R R R t WeakKeyDictionaryR R R R t
ProxyTypest WeakValueDictionaryR c B sò e Z d Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z
d „ Z d
„ Z e Z
d „ Z d d „ Z d
„ Z d „ Z d „ Z e Z d „ Z d „ Z d „ Z d „ Z d d „ Z d d „ Z d „ Z d „ Z RS( s› Mapping class that references values weakly.
Entries in the dictionary will be discarded when no strong
reference to the value exists anymore
c O sJ t | ƒ d „ } | | _ g | _ t ƒ | _ t j j | | | Ž d S( Nc S sH | ƒ } | d k rD | j r4 | j j | j ƒ qD | j | j =n d S( N( t Nonet
_iteratingt _pending_removalst appendt keyt data( t wrt selfreft self( ( s /usr/lib/python2.7/weakref.pyt remove0 s
( R t _removeR t setR t UserDictt __init__( R t argst kwR ( ( s /usr/lib/python2.7/weakref.pyR / s
c C s0 | j } | j } x | r+ | | j ƒ =q Wd S( N( R R t pop( R t lt d( ( s /usr/lib/python2.7/weakref.pyt _commit_removals= s c C s0 | j | ƒ } | d k r( t | ‚ n | Sd S( N( R R
t KeyError( R R t o( ( s /usr/lib/python2.7/weakref.pyt __getitem__E s c C s$ | j r | j ƒ n | j | =d S( N( R R R ( R R ( ( s /usr/lib/python2.7/weakref.pyt __delitem__L s
c C s3 y | j | ƒ } Wn t k
r( t SX| d k S( N( R R! t FalseR
( R R R"