$82 GRAYBYTE WORDPRESS FILE MANAGER $39

SERVER : premium201.web-hosting.com #1 SMP Wed Mar 26 12:08:09 UTC 2025
SERVER IP : 172.67.162.162 | ADMIN IP 216.73.216.174
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : NONE

/opt/cloudlinux/venv/lib/python3.11/site-packages/astroid/__pycache__/

HOME
Current File : /opt/cloudlinux/venv/lib/python3.11/site-packages/astroid/__pycache__//objects.cpython-311.pyc
�

�|oi�1���dZddlmZddlZddlmZddlmZmZddl	m
Z
mZmZddl
mZddlmZmZmZmZdd	lmZdd
lmZmZejd��Zejdkr
dd
lmZddlmZnddlmZddl m!Zed��Z"Gd�dej#��Z$Gd�dej%��Z&Gd�de
j'��Z(Gd�de
j'��Z)Gd�de
j*��Z+Gd�de
j*��Z,Gd�de
j*��Z-Gd�d ej.��Z/ej%e)fej0_1Gd!�d"ej.��Z2dS)#a"
Inference objects are a way to represent composite AST nodes,
which are used only as inference results, so they can't be found in the
original AST tree. For instance, inferring the following frozenset use,
leads to an inferred FrozenSet:

    Call(func=Name('frozenset'), args=Tuple(...))
�)�annotationsN)�	Generator)�Any�TypeVar)�bases�
decorators�util)�InferenceContext)�AttributeInferenceError�InferenceError�MroError�
SuperError)�AstroidManager)�node_classes�scoped_nodeszinterpreter.objectmodel)��)�cached_property)�Literal)�cachedproperty�_Tc�:�eZdZdZdd�Zd
dd
�Zed���ZdS)�	FrozenSetz.Class representing a FrozenSet composite node.�return�Literal['builtins.frozenset']c��dS)Nzbuiltins.frozenset���selfs �a/builddir/build/BUILD/cloudlinux-venv-1.0.10/venv/lib/python3.11/site-packages/astroid/objects.py�pytypezFrozenSet.pytype/s��#�#�N�context�InferenceContext | None�kwargsrc+�K�|V�dS�Nr�rr#r%s   r �_inferzFrozenSet._infer2������
�
�
�
�
r"c�^�t��j}|�d��dS)N�	frozensetr�r�builtins_module�getattr�r�ast_builtinss  r �_proxiedzFrozenSet._proxied5s)��%�'�'�7���#�#�K�0�0��3�3r")rrr'�r#r$r%r)�__name__�
__module__�__qualname__�__doc__r!r)rr2rr"r rr,sb������8�8�$�$�$�$�������4�4��_�4�4�4r"rc���eZdZdZejd���Z�fd�Zddd	�Zd
�Z	e
d���Zdd�Zdd�Z
ed���Zdd�Z	ddd�Zddd�Z�xZS)�Supera�Proxy class over a super call.

    This class offers almost the same behaviour as Python's super,
    which is MRO lookups for retrieving attributes from the parents.

    The *mro_pointer* is the place in the MRO from where we should
    start looking, not counting it. *mro_type* is the object which
    provides the MRO, it can be both a type or an instance.
    *self_class* is the class where the super call is, while
    *scope* is the function where the super call is.
    c�4�t���Sr')�objectmodel�
SuperModelrr"r �<lambda>zSuper.<lambda>Is��k�6L�6L�6N�6N�r"c���||_||_d|_||_||_t�����dS)NF)�type�mro_pointer�_class_based�_self_class�_scope�super�__init__)rr@�mro_type�
self_class�scope�	__class__s     �r rEzSuper.__init__KsE�����	�&���!���%������
���������r"Nr#r$r%rc+�K�|V�dSr'rr(s   r r)zSuper._inferSr*r"c�2�t|jtj��st	d|����t|jtj��rd|_|j}nMt|jdd��}t|tj	tjf��st	d|����|j
st	d|����|���}|j|vrt	d|����|�|j��}||dzd�S)	zBGet the MRO which will be used to lookup attributes in this super.zIThe first argument to super must be a subtype of type, not {mro_pointer}.)�super_Tr2NzPThe second argument to super must be an instance or subtype of type, not {type}.z*Unable to call super on old-style classes.�)
�
isinstancer@r�ClassDefrr?rAr/r�Instance�newstyle�mro�index)rrFrRrSs    r �	super_mrozSuper.super_mroVs7���$�*�L�,A�B�B�	��+�����
��d�i��!6�7�7�	� $�D���y�H�H��t�y�*�d�;�;�H��h����9N�(O�P�P�
� �?������� �	X��I�RV�W�W�W�W��l�l�n�n����3�&�&��;�����
��	�	�$�*�+�+���5�1�9�;�;��r"c�^�t��j}|�d��dS)NrDrr-r0s  r r2zSuper._proxiedzs)��%�'�'�7���#�#�G�,�,�Q�/�/r"r�Literal['builtins.super']c��dS)Nzbuiltins.superrrs r r!zSuper.pytypes���r"�strc��dS)NzSuper ofrrs r �display_typezSuper.display_type�s���zr"c��|jjS)z Get the name of the MRO pointer.)r@�namers r r\z
Super.name�s����$�$r"�Literal['super']c��dS)NrDrrs r �qnamezSuper.qname�s���wr"r\c	#�K�|dkr|j�|��V�dS	|���}nY#t$r}t	d||||j���|�d}~wt$r%}t	d||||j|j���|�d}~wwxYwd}|D�]m}||j	vr�
d}tj||g||�	��D�]>}t|tj��s|V��"|jd
krtj||��V��E|jjd
kr|jdkr|V��e|js|jdkr|V��|t|t&��rD|j}	|�||�
��Ed{V����#t,$rt.jV�Y��wxYwtj|��r>	|�||��Ed{V����#t,$rt.jV�Y��#wxYwtj||��V���@��o|s'||jvr|j�|��V�dS|st	|||����dS)z9Retrieve the inferred values of the given attribute name.rINzHLookup for {name} on {target!r} because super call {super!r} is invalid.)�target�	attributer#rLzJLookup for {name} on {target!r} failed because {cls!r} has an invalid MRO.)rarbr#�mros�clsFT)�frame�classmethod�method�staticmethod��callerr#)rarbr#)�special_attributes�lookuprTrrrLr
rcrd�localsr�_infer_stmtsrNr�FunctionDefr?�BoundMethodrCrA�Property�function�infer_call_resultrr	�Uninferable�_is_property)	rr\r#rR�exc�foundrd�inferredrrs	         r �igetattrzSuper.igetattr�sb�����;����)�0�0��6�6�6�6�6��F�	��.�.�"�"�C�C���
	�
	�
	�)�"�����z�	�	�	��	
������	�	�	�)�#�����X��G�
�
�
��

�����	�������!	;�!	;�C��3�:�%�%���E�!�.��D�	�{�G�4�P�P�P�
;�
;��!�(�L�,D�E�E��"�N�N�N���=�M�1�1��+�H�c�:�:�:�:�:�:��[�%��6�6�8�=�H�;T�;T�"�N�N�N�N��&�;�(�-�>�*I�*I�"�N�N�N�N���(�3�3�;�'�0�H�/�#+�#=�#=�#'��$>�$�$����������*�/�/�/�"�.�.�.�.�.�.�/�����'��1�1�;�/�#+�#=�#=�d�G�#L�#L�L�L�L�L�L�L�L�L��)�/�/�/�"�.�.�.�.�.�.�/���� �+�H�c�:�:�:�:�:�:�9
;�@�	���!8�8�8��)�0�0��6�6�6�6�6��F��	X�)���w�W�W�W�W�	X�	XsE�=�
B�A!�!
B�. B�B� E>�>F�F�1G�G+�*G+c�J�t|�||�����S)N)r#)�listry)rr\r#s   r r/z
Super.getattr�s ���D�M�M�$��M�8�8�9�9�9r"r'r3)rrV�rrX)rr])r\rXr#r$�r#r$)r4r5r6r7r	�lazy_descriptorrkrEr)rTrr2r!rZ�propertyr\r_ryr/�
__classcell__�rIs@r r9r9;s9�������
�
�.��-�.N�.N�O�O������������" �" �" �H�0�0��_�0� � � � ������%�%��X�%�����=A�PX�PX�PX�PX�PX�d:�:�:�:�:�:�:�:�:r"r9c�(�eZdZdZed���ZdS)�ExceptionInstancez�Class for instances of exceptions.

    It has special treatment for some of the exceptions's attributes,
    which are transformed at runtime into certain concrete objects, such as
    the case of .args.
    c��|���}tj�|tj��}|��|��Sr')r_r;�BUILTIN_EXCEPTIONS�get�ExceptionInstanceModel)rr_�instances   r rkz$ExceptionInstance.special_attributes�sG���
�
�����1�5�5��;�5�
�
���x�x�z�z�$���r"N)r4r5r6r7rrkrr"r r�r��s9��������� � ��_� � � r"r�c�4�eZdZdZejd���ZdS)�DictInstancez�Special kind of instances for dictionaries.

    This instance knows the underlying object model of the dictionaries, which means
    that methods such as .values or .items can be properly inferred.
    c�4�t���Sr')r;�	DictModelrr"r r=zDictInstance.<lambda>�s��k�6K�6K�6M�6M�r"N)r4r5r6r7r	r~rkrr"r r�r��s3��������.��-�.M�.M�N�N���r"r�c�>�eZdZejjZejjZdS)�	DictItemsN�r4r5r6r�NodeNG�__str__�__repr__rr"r r�r��$�������!�)�G��"�+�H�H�Hr"r�c�>�eZdZejjZejjZdS)�DictKeysNr�rr"r r�r�r�r"r�c�>�eZdZejjZejjZdS)�
DictValuesNr�rr"r r�r�r�r"r�c�j��eZdZdZejd���	d�fd�	��Zd
d�fd�
Zdd�Z�xZ	S)�PartialFunctionzEA class representing partial function obtained via functools.partial.�'Use the postinit arg 'doc_node' instead��docNc���t���|||d���||_||_|jdd�|_|j|_|jd}t|�	����}t|t��r)|j|jz|_i|j�|j�|_t|j��|_
dS)N��lineno�
col_offset�parentrMr)rDrE�_docr��positional_arguments�filled_args�keyword_arguments�filled_keywords�next�inferrNr��len�filled_positionals)
r�callr\r�r�r�r��wrapped_function�inferred_wrapped_functionrIs
         �r rEzPartialFunction.__init__s����
	������f��D��Q�Q�Q���	�����4�Q�R�R�8���#�5����4�Q�7��$(�)9�)?�)?�)A�)A�$B�$B�!��/��A�A�	�8�D�t�GW�W�D��$�+�;�$��&�$�D� �
#&�d�&6�"7�"7����r"r#r$c�F��|r|d�|jjD��}|j���D]*\}}||vr!|jj�||f���+|jjpg}|j|z|j_t���||���S)Nc��h|]\}}|��Srr)�.0�keyword�_s   r �	<setcomp>z4PartialFunction.infer_call_result.<locals>.<setcomp>/s)��'�'�'�(�W�a��'�'�'r"ri)	�callcontext�keywordsr��items�append�argsr�rDrs)rrjr#�current_passed_keywordsr��value�call_context_argsrIs       �r rsz!PartialFunction.infer_call_result-s�����		L�'�'�,3�,?�,H�'�'�'�#�#'�"6�"<�"<�">�">�
J�
J�����"9�9�9��'�0�7�7��%�8H�I�I�I�� '� 3� 8� >�B��'+�'7�:K�'K�G��$��w�w�(�(���(�H�H�Hr"rrXc��|jjSr')rIr4rs r r_zPartialFunction.qname;s
���~�&�&r"�NNNNN�NNr}r|)
r4r5r6r7r�deprecate_argumentsrErsr_r�r�s@r r�r�s��������O�O�#�Z�#�(Q�R�R�R�NR�8�8�8�8�8�S�R�8�0I�I�I�I�I�I�I�'�'�'�'�'�'�'�'r"r�c���eZdZdZejd���	d�fd�	��Zejd���Z	dZ
dd
�Zddd
�Z	ddd�Z
�xZS)rqz%Class representing a Python property.r�r�Nc�n��||_t���||||���||_dS)Nr�)rrrDrEr�)rrrr\r�r�r�r�rIs       �r rEzProperty.__init__Gs8���!��
�
������f��F��S�S�S���	�	�	r"c�4�t���Sr')r;�
PropertyModelrr"r r=zProperty.<lambda>Qs��k�6O�6O�6Q�6Q�r"rr�Literal['builtins.property']c��dS)Nzbuiltins.propertyrrs r r!zProperty.pytypeTs��"�"r"r#r$c� �td���)NzProperties are not callable)r)rrjr#s   r rszProperty.infer_call_resultWs���:�;�;�;r"rrr%r�Generator[_T, None, None]c+�K�|V�dSr'rr(s   r r)zProperty._inferZs�����
�
�
�
�
r"r�)rr�r�r}r')rrr#r$r%rrr�)r4r5r6r7rr�rEr	r~rkr?r!rsr)r�r�s@r rqrqDs��������/�/�#�Z�#�(Q�R�R�R�RV������S�R��.��-�.Q�.Q�R�R���D�#�#�#�#�<�<�<�<�<�6:���������r"rq)3r7�
__future__r�sys�collections.abcr�typingrr�astroidrrr	�astroid.contextr
�astroid.exceptionsrrr
r�astroid.managerr�
astroid.nodesrr�lazy_importr;�version_info�	functoolsrr�typing_extensions�astroid.decoratorsrr�
BaseContainerrr�r9rPr�r��Proxyr�r�r�ror��Dict�	__bases__rqrr"r �<module>r�s(��
��#�"�"�"�"�"�
�
�
�
�%�%�%�%�%�%���������+�+�+�+�+�+�+�+�+�+�,�,�,�,�,�,�������������+�*�*�*�*�*�4�4�4�4�4�4�4�4��d��8�9�9����v���)�)�)�)�)�)��������)�)�)�)�)�)�D�D�D�D�D�D��W�T�]�]��4�4�4�4�4��*�4�4�4�e:�e:�e:�e:�e:�L��e:�e:�e:�P � � � � ��� � � �"O�O�O�O�O�5�>�O�O�O�,�,�,�,�,���,�,�,�
,�,�,�,�,�u�{�,�,�,�
,�,�,�,�,���,�,�,�
+'�+'�+'�+'�+'�l�.�+'�+'�+'�` ,�2�L�A���������|�'�����r"


Current_dir [ NOT WRITEABLE ] Document_root [ WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
11 Feb 2026 9.30 AM
root / root
0755
__init__.cpython-311.pyc
6.777 KB
20 Jan 2026 1.01 PM
root / root
0644
__pkginfo__.cpython-311.pyc
0.245 KB
20 Jan 2026 1.01 PM
root / root
0644
_ast.cpython-311.pyc
5.535 KB
20 Jan 2026 1.01 PM
root / root
0644
_backport_stdlib_names.cpython-311.pyc
4.015 KB
20 Jan 2026 1.01 PM
root / root
0644
_cache.cpython-311.pyc
1.469 KB
20 Jan 2026 1.01 PM
root / root
0644
arguments.cpython-311.pyc
13.491 KB
20 Jan 2026 1.01 PM
root / root
0644
astroid_manager.cpython-311.pyc
0.602 KB
20 Jan 2026 1.01 PM
root / root
0644
bases.cpython-311.pyc
35.237 KB
20 Jan 2026 1.01 PM
root / root
0644
builder.cpython-311.pyc
23.149 KB
20 Jan 2026 1.01 PM
root / root
0644
const.cpython-311.pyc
1.518 KB
20 Jan 2026 1.01 PM
root / root
0644
constraint.cpython-311.pyc
6.866 KB
20 Jan 2026 1.01 PM
root / root
0644
context.cpython-311.pyc
7.675 KB
20 Jan 2026 1.01 PM
root / root
0644
decorators.cpython-311.pyc
11.925 KB
20 Jan 2026 1.01 PM
root / root
0644
exceptions.cpython-311.pyc
19.979 KB
20 Jan 2026 1.01 PM
root / root
0644
filter_statements.cpython-311.pyc
7.304 KB
20 Jan 2026 1.01 PM
root / root
0644
helpers.cpython-311.pyc
14.671 KB
20 Jan 2026 1.01 PM
root / root
0644
inference.cpython-311.pyc
53.187 KB
20 Jan 2026 1.01 PM
root / root
0644
inference_tip.cpython-311.pyc
3.496 KB
20 Jan 2026 1.01 PM
root / root
0644
manager.cpython-311.pyc
21.736 KB
20 Jan 2026 1.01 PM
root / root
0644
mixins.cpython-311.pyc
1.098 KB
20 Jan 2026 1.01 PM
root / root
0644
modutils.cpython-311.pyc
29.742 KB
20 Jan 2026 1.01 PM
root / root
0644
node_classes.cpython-311.pyc
2.927 KB
20 Jan 2026 1.01 PM
root / root
0644
objects.cpython-311.pyc
16.838 KB
20 Jan 2026 1.01 PM
root / root
0644
protocols.cpython-311.pyc
37.7 KB
20 Jan 2026 1.01 PM
root / root
0644
raw_building.cpython-311.pyc
27.537 KB
20 Jan 2026 1.01 PM
root / root
0644
rebuilder.cpython-311.pyc
102.574 KB
20 Jan 2026 1.01 PM
root / root
0644
scoped_nodes.cpython-311.pyc
0.999 KB
20 Jan 2026 1.01 PM
root / root
0644
test_utils.cpython-311.pyc
4.798 KB
20 Jan 2026 1.01 PM
root / root
0644
transforms.cpython-311.pyc
4.903 KB
20 Jan 2026 1.01 PM
root / root
0644
typing.cpython-311.pyc
2.743 KB
20 Jan 2026 1.01 PM
root / root
0644
util.cpython-311.pyc
8.917 KB
20 Jan 2026 1.01 PM
root / root
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF