File: //usr/lib/python2.7/weakref.pyc
ó
’, bc @ 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 „ 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 sž | s t d ƒ ‚ n | d } | d } t | ƒ d k rT t d t | ƒ ƒ ‚ n t | ƒ d „ } | | _ g | _ t ƒ | _ t j j | | | Ž d S( NsG descriptor '__init__' of 'WeakValueDictionary' object needs an argumenti i s$ expected at most 1 arguments, got %dc 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 remove7 s
( t TypeErrort lenR t _removeR t setR t UserDictt __init__( t argst kwR R ( ( 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_removalsD 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__L s c C s$ | j r | j ƒ n | j | =d S( N( R R"