
    ^hA                        S SK r S SKJrJr  \" 5       rS rS rS rS r	S r
S r " S	 S
5      r\R                  r\R                   S   r\R                   S   r\R                   S   r\\\\/r\" \" \\5      5      rS rg)    N)of_type
CannotEvalc                 F    [         R                  S   R                  U 5      $ )N__mro__)type__dict____get__)klasss    U/home/james-whalen/.local/lib/python3.13/site-packages/pure_eval/my_getattr_static.py_static_getmror      s    ==#++E22    c                     0 n [         R                  U S5      n[        R	                  X![
        5      $ ! [         a     N&f = fNr   )object__getattribute__AttributeErrordictget	_sentinel)objattrinstance_dicts      r   _check_instancer      sE    M//Z@ 88M33  s   4 
A Ac                     [        U 5       H5  n[        [        U5      5      [        L a   UR                  U   s  $   [        $    [        $ ! [
         a     ML  f = fN)r   _shadowed_dictr   r   r   KeyError)r
   r   entrys      r   _check_classr      s]    &$u+&)3~~d++  ' 	  s   A
AAc                 <     [        U 5        g! [         a     gf = f)NFT)r   	TypeError)r   s    r   _is_typer"   !   s(    s   s    
c                 "   [         R                  S   n[        U 5       HW  n UR                  U5      S   n[        U5      [        R
                  L a  UR                  S:X  a  UR                  UL d  Us  $ MY     [        $ ! [         a     Mn  f = fr   )
r   r   r   r	   typesGetSetDescriptorType__name____objclass__r   r   )r
   	dict_attrr   
class_dicts       r   r   r   )   s    j)I&	""**51*=J $(B(BB'':5++u4!! 5 '   		s   B  
BBc                 j   [         n[        U 5      (       dM  [        U 5      n[        U5      nU[         L d  [        U5      [        R
                  L a  [        X5      nO[        eU n[        X15      nU[         Lai  U[         La`  [        [        U5      S5      [         LaD  [        [        U5      S5      [         Ld  [        [        U5      S5      [         La  [        XPU5      $ U[         La  U$ U[         La5  [        [        U5      S5      nU[         L a  U$ XL a  SnOU n[        XWU5      $ XL an  [        [        U5      5       HV  n[        [        U5      5      [         L d  M    UR                  U   n	[        [        U	5      S5      nU[         La  [        eU	s  $    [        e! [         a     Mm  f = f)a  Retrieve attributes without triggering dynamic lookup via the
descriptor protocol,  __getattr__ or __getattribute__.

Note: this function may not be able to retrieve all attributes
that getattr can fetch (like dynamically created attributes)
and may find attributes that getattr can't (like descriptors
that raise AttributeError). It can also return descriptor objects
instead of instance members in some cases. See the
documentation for details.
r	   __set__
__delete__N)r   r"   r   r   r$   MemberDescriptorTyper   r   r   _resolve_descriptorr   r   r   )
r   r   instance_resultr
   r(   klass_resultr   instancer   results
             r   getattr_staticr3   8   s     OC==S	"5)	"Y5#=#==-c8O,Li'L	,I\*I6iGl+Y7yHD.=YN&|%@@i'9$4-y9)|&|uEE
|#DK0Ed5k*i7"^^D1F&tF|Y?C)+((!M 1    s   %4F$$
F21F2c                        \ rS rSrS/rS rSrg)_foot   fooc                      g)Nr    r9   r   r   <lambda>_foo.<lambda>v   s    Qr   r9   N)r&   
__module____qualname____firstlineno__	__slots__method__static_attributes__r9   r   r   r5   r5   t   s    IFr   r5   __add__
startswithr@   c                      [        [        U /[        Q76 5      R                  XU5      $ ! [         a  n[
        UeS nAff = fr   )r   r   safe_descriptor_typesr	   r   r   )dr1   owneres       r   r.   r.      sB     GA6 567??USS  a s   (+ 
A<A)r$   pure_eval.utilsr   r   r   r   r   r   r   r"   r   r3   r5   r7   slot_descriptorstrr   wrapper_descriptormethod_descriptoruser_method_descriptorsafe_descriptors_rawlistmapr   rE   r.   r9   r   r   <module>rR      s     /H	34	9x 
 ((\\), LL. x0  	  S';<=  r   