python (3.11.7)
e T < d Z ddlmZmZmZmZmZmZmZm Z ddl
mZmZ ddl
Z
ddlZddlZeefZg dZe
j e G d de Z G d d e
j Z G d
de Z G d d
e
j Z G d d ZdS )ztWeak reference support for Python.
This module is an implementation of PEP 205:
https://peps.python.org/pep-0205/
)getweakrefcountgetweakrefsrefproxyCallableProxyType ProxyType
ReferenceType_remove_dead_weakref)WeakSet_IterationGuardN)
r r r r WeakKeyDictionaryr r r
ProxyTypesWeakValueDictionaryr
WeakMethodfinalizec H e Zd ZdZdZddZ fdZd Zd Ze j
Z
xZS ) r z
A custom `weakref.ref` subclass which simulates a weak reference to
a bound method, working around the lifetime problem of bound methods.
) _func_ref
_meth_type_alive__weakref__Nc \ |j }|j }n># t $ r1 t d t | d w xY wfd}t
j | || }t
|| |_ t | |_ d|_
t
| |S )Nz)argument should be a bound method, not {}c Z }|j rd|_ | d S d S d S NF)r )argselfcallbackself_wrs ;/BuggyBox/python/3.11.7/bootstrap/lib/python3.11/weakref.py_cbzWeakMethod.__new__.<locals>._cb5 sH 799D{
##'HTNNNNN
#
#''