⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.30
Server IP:
45.79.8.107
Server:
Linux localhost 5.15.0-140-generic #150-Ubuntu SMP Sat Apr 12 06:00:09 UTC 2025 x86_64
Server Software:
nginx/1.18.0
PHP Version:
8.1.2-1ubuntu2.21
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
lib
/
python3.10
/
__pycache__
/
View File Name :
weakref.cpython-310.pyc
o }5h8T @ s d Z ddlmZmZmZmZmZmZmZm Z ddl mZmZ ddl Z ddlZddlZeefZg dZe je e je G dd deZG dd d e jZG d d deZG dd d e jZG dd dZdS )z|Weak reference support for Python. This module is an implementation of PEP 205: https://www.python.org/dev/peps/pep-0205/ )getweakrefcountgetweakrefsrefproxyCallableProxyType ProxyType ReferenceType_remove_dead_weakref)WeakSet_IterationGuardN) r r r r WeakKeyDictionaryr r r ProxyTypesWeakValueDictionaryr WeakMethodfinalizec sD e Zd ZdZdZdddZ fddZdd Zd d Ze j Z ZS ) 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 sx z|j }|j}W n ty tdt|d w fdd}t| ||}t|||_t||_ d|_ t||S )Nz)argument should be a bound method, not {}c s. }|j rd|_ d ur | d S d S d S NF)r )argselfcallbackself_wr /usr/lib/python3.10/weakref.py_cb6 s zWeakMethod.__new__.
._cbT)__self____func__AttributeError TypeErrorformattyper __new__r r r )clsmethr objfuncr r r r r r$ / s" zWeakMethod.__new__c s2 t }| }|d u s|d u rd S | ||S N)super__call__r r )r r' r( __class__r r r+ E s zWeakMethod.__call__c C s: t |tr| jr|js| |u S t| |o| j|jkS tS r) ) isinstancer r r __eq__r NotImplementedr otherr r r r/ L zWeakMethod.__eq__c C s: t |tr| jr|js| |uS t| |p| j|jkS tS r) )r. r r r __ne__r r0 r1 r r r r4 S r3 zWeakMethod.__ne__r) )__name__ __module____qualname____doc__ __slots__r$ r+ r/ r4 r __hash__ __classcell__r r r, r r ' s r c @ s e Zd ZdZd2ddZefddZdd Zd d Zdd Z d d Z dd Zdd Zdd Z e Zdd Zd3ddZdd Zdd ZeZdd Zd d! Zd"d# Zd$d% Zd3d&d'Zd3d(d)Zd*d+ Zd,d- Zd.d/ Zd0d1 ZdS )4r zMapping class that references values weakly. Entries in the dictionary will be discarded when no strong reference to the value exists anymore r c K sB t | tfdd}|| _g | _t | _i | _| j|fi | d S )Nc S s<