AnonSec Shell
Server IP : 209.38.156.173  /  Your IP : 216.73.216.122   [ Reverse IP ]
Web Server : Apache/2.4.52 (Ubuntu)
System : Linux lakekumayuhotel 5.15.0-136-generic #147-Ubuntu SMP Sat Mar 15 15:53:30 UTC 2025 x86_64
User : root ( 0)
PHP Version : 8.1.2-1ubuntu2.22
Disable Function : NONE
Domains : 2 Domains
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /lib/python3/dist-packages/zope/component/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     [ BACKUP SHELL ]     [ JUMPING ]     [ MASS DEFACE ]     [ SCAN ROOT ]     [ SYMLINK ]     

Current File : /lib/python3/dist-packages/zope/component/__pycache__/globalregistry.cpython-310.pyc
o

,�W�
�@s�dZddlmZddlmZddlmZddlmZddl	m
Z
dd�ZGd	d
�d
e�Zee�Gdd�de��Z
e
d
�ZzddlmZWn	eyMYnwedd��[eZdd�Zde
fdd�Zdde
fdd�Zddd�Zddd�ZdS)zGlobal components support
�)�implementer)�AdapterRegistry)�
Components)�IComponentLookup)�_BLANKcCs
t||�S�N)�getattr)�
components�registryName�r�?/usr/lib/python3/dist-packages/zope/component/globalregistry.py�GARs
r
cs(eZdZdZ�fdd�Zdd�Z�ZS)�GlobalAdapterRegistryz~A global adapter registry

    This adapter registry's main purpose is to be picklable in combination
    with a site manager.cs||_||_tt|���dSr)�
__parent__�__name__�superr�__init__)�self�parent�name��	__class__rrr szGlobalAdapterRegistry.__init__cCst|j|jffSr)r
rr�rrrr�
__reduce__%sz GlobalAdapterRegistry.__reduce__)r�
__module__�__qualname__�__doc__rr�
__classcell__rrrrrsrc@seZdZdd�Zdd�ZdS)�BaseGlobalComponentscCst|d�|_t|d�|_dS)N�adapters�	utilities)rrr rrrr�_init_registries+sz%BaseGlobalComponents._init_registriescCs|jSr)rrrrrr/szBaseGlobalComponents.__reduce__N)rrrr!rrrrrr(sr�base)�
addCleanUpcCs
t�d�S)Nr")r"rrrrr�<lambda>:s
r$cCstSr)�globalSiteManagerrrrr�getGlobalSiteManager>sr&NcC�tj|||dd�dS�NF)�event)r"�registerUtility)�	component�providesrrrr�provideUtilityE�r-cCstj||||dd�dSr()r"�registerAdapter)�factory�adaptsr,rrrr�provideAdapterHsr2cCr'r()r"�registerSubscriptionAdapter)r0r1r,rrr�provideSubscriptionAdapterKr.r4cCstj||dd�dSr()r"�registerHandler)r0r1rrr�provideHandlerNsr6)NNr)r�zope.interfacer�zope.interface.adapterr�zope.interface.registryr�zope.component.interfacesr�zope.component._compatrr
rrr"�zope.testing.cleanupr#�ImportErrorr%r&r-r2r4r6rrrr�<module>s0

�


Anon7 - 2022
AnonSec Team