| Server IP : 104.21.4.30 / Your IP : 104.22.72.11 Web Server : Apache System : Linux keen-cori.18-142-40-148.plesk.page 5.15.0-1084-aws #91~20.04.1-Ubuntu SMP Fri May 2 06:59:36 UTC 2025 x86_64 User : simottodesign.com_2tntp341vs7 ( 10011) PHP Version : 8.3.31 Disable Function : opcache_get_status MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /lib/python3/dist-packages/zope/interface/__pycache__/ |
Upload File : |
U
ؒ�]> � @ sv d Z ddlmZ zddlmZ W n ek
r8 dZY nX dZddlZdd� Zdd
d�Zdd
� Z ddd�Z
dd� ZdS )aj Class advice.
This module was adapted from 'protocols.advice', part of the Python
Enterprise Application Kit (PEAK). Please notify the PEAK authors
([email protected] and [email protected]) if bugs are found or
Zope-specific changes are required, so that the PEAK version of this module
can be kept in sync.
PEAK is a Python application framework that interoperates with (but does
not require) Zope 3 and Twisted. It provides tools for manipulating UML
models, object-relational persistence, aspect-oriented programming, and more.
Visit the PEAK home page at http://peak.telecommunity.com for more information.
� )�FunctionType�� ClassTypeTFNc
C s� | j }| j}||k}d|k}d|k}|o*|}|o>|d |d k}|rTtj�|d �pVd}|od|j|k}|spd} n*|r~|s~d} n|r�|s�d} n|s�d} nd} | |||fS ) z�Return (kind,module,locals,globals) for a frame
'kind' is one of "exec", "module", "class", "function call", or "unknown".
�
__module__�__name__N�exec�module�classz
function call�unknown)�f_locals� f_globals�sys�modules�get�__dict__)
�framer r Z
sameNamespaceZ hasModuleZhasNameZsameNamer ZnamespaceIsModule�kind� r �7/usr/lib/python3/dist-packages/zope/interface/advice.py�getFrameInfo&