bgy&UddlmZddlZddlZddlZddlmZddlZejdkr ddlm Z m Z nddl m Z m Z dZ dd Z Gd d ZeZded<GddZGddeZGddeZddZdZddZdS)) annotationsN)Any))FinalLiteralcHGddtj}||S)NceZdZddZdS)(lazy_descriptor..DescriptorProxyNc8|j||SN) __class____get__)selfinstanceowners ]/builddir/build/BUILD/cloudlinux-venv-1.0.7/venv/lib/python3.11/site-packages/astroid/util.pyrz0lazy_descriptor..DescriptorProxy.__get__s>))$99 9r )__name__ __module__ __qualname__rrrDescriptorProxyr s( : : : : : :rrlazy_object_proxyProxy)objrs rlazy_descriptorrsB:::::+1::: ?3  r module_namestrreturnlazy_object_proxy.Proxyc2tjfdS)Nc4tjdzdS)N.astroid) importlib import_modulersrzlazy_import..s 'k(99EErrr)s`r lazy_importr+s$  "EEEE  rc@eZdZdZddZeZddZdd Zdd ZeZ dZ dS)UninferableBasezSpecial inference object, which is returned when inference fails. This is meant to be used as a singleton. Use astroid.util.Uninferable to access it. r!Literal['Uninferable']cdS)N Uninferablerrs r__repr__zUninferableBase.__repr__)s}rnamer rc|dkrtd|dr0|drt||S|dkrt||S|S)Nnextz next method should not be called__accept)AttributeError startswithendswithobject__getattribute__)rr3s rr<z UninferableBase.__getattribute__.s} 6>> !CDD D ??4  7T]]4%8%8 7**466 6 8  **466 6 rargskwargsc|Sr r)rr=r>s r__call__zUninferableBase.__call__7s rLiteral[False]cdS)NFrr1s r__bool__zUninferableBase.__bool__:surc,||Sr )visit_uninferable)rvisitors rr7zUninferableBase.accept?s((...rN)r!r.)r3r r!r)r=rr>rr!r-)r!rA) rrr__doc__r2__str__r<r@rC __nonzero__r7rrrr-r-#s GK/////rr-rr0ceZdZdZdS)BadOperationMessagezObject which describes a TypeError occurred somewhere in the inference chain. This is not an exception, but a container object which holds the types and the error which occurred. N)rrrrGrrrrKrKFsrrKc<eZdZdZdZedZdZd dZdS) BadUnaryOperationMessagez8Object which describes operational failures on UnaryOps.c0||_||_||_dSr )operandoperror)rrOrPrQs r__init__z!BadUnaryOperationMessage.__init__Qs  rc.td}|jS)Nhelpers)r+ object_type)rrTs r_object_type_helperz,BadUnaryOperationMessage._object_type_helperVsi((""rc^||}t|trdS|Sr )rV isinstancer-)rrobjtypes r _object_typez%BadUnaryOperationMessage._object_type[s1**3// g / / 4rr!r c t|jdr |jj}nF||j}t|dr|j}n|}d}||j|S)Nr3z!bad operand type for unary {}: {})hasattrrOr3rZ as_stringformatrP)r operand_typerUmsgs rrHz BadUnaryOperationMessage.__str__bs 4< ( ( 7<,LL++DL99K{F++ 7*/  +4466 1zz$'<000rNr!r ) rrrrGrRpropertyrVrZrHrrrrMrMNsgBB ##X# 1 1 1 1 1 1rrMc eZdZdZdZddZdS)BadBinaryOperationMessagez.Object which describes type errors for BinOps.c0||_||_||_dSr ) left_type right_typerP)rrfrPrgs rrRz"BadBinaryOperationMessage.__init__ts"$rr!r cfd}||j|jj|jjS)Nz1unsupported operand type(s) for {}: {!r} and {!r})r^rPrfr3rg)rr`s rrHz!BadBinaryOperationMessage.__str__ys)Azz$'4>#68LMMMrNra)rrrrGrRrHrrrrdrdqsC88 NNNNNNrrdboolc|j}|j}||upt||}tj|jjd|jdt d|S)Nz: is deprecated and slated for removal in astroid 2.0, use z instead) stacklevel) __wrapped__r issubclasswarningswarnrPendingDeprecationWarning)clsotherwrapped other_clsis_instance_ofs r_instancecheckrw~sooGI )KZ 7-K-KN M!$!7!7!79I9I9I K!  rct|tjftjdt d}|fdS)z7Get a Proxy from the given name to the given node type.r)r__instancecheck__cSr r) node_typesrr*zproxy_alias..sr)typerrr;__dict__rw) alias_namer{proxys ` r proxy_aliasrsQ   "5!/    E 5"""" # ##rcHtdtjDS)zReturn True if any other than the default DeprecationWarning filter is enabled. https://docs.python.org/3/library/warnings.html#default-warning-filter c3|K|]7}tt|do|ddko |ddkV8dS)rkrignorer__main__N)rnDeprecationWarning).0filters r z(check_warnings_filter..si  %vay11 $ 1I ! $ 1I #r)anyrofiltersrrrcheck_warnings_filterrs7 &   r)rr r!r")r!ri) __future__rr'sysrotypingrr version_inforrtyping_extensionsrr+r-r0__annotations__rKrMrdrwrrrrrrs #"""""" v%%%%%%%%%00000000    ////////@%_&& &&&& 1 1 1 1 12 1 1 1F N N N N N 3 N N N     $ $ $      r