o
    2g                     @  s4  U d dl mZ d dlZd dlZd dlmZmZmZ d dlm	Z	 dZ
ded< dZded	< d
Zded< dZded< dZded< dZded< dZded< dZded< dZded< dZded< dZded< dZded< dZded< d Zded!< d"Zded#< d$Zded%< d&Zded'< ed(Zded)< edureenejd*   d+ Z!ded(< ee!d,kZ"ded-< e"rd,nd+Z#d&d+ee! d&  d* Z$ded.< e$ d* Z%ded/< e$Z&ded0< e& d* Z'ded1< d2Z(ded3< d4Z)ded5< g d6Z*ded7< ee+ef Z,dTd;d<Z-dUd>d?Z.dVdCdDZ/dVdEdFZ0dWdJdKZ1dXdOdPZ2dYdRdSZ3dS )Z    )annotationsN)AnyDictFinalunnamed_functionCPyPy_r   PREFIXCPyDef_NATIVE_PREFIX
CPyDunder_DUNDER_PREFIXcpy_r_
REG_PREFIX
CPyStatic_STATIC_PREFIXCPyType_TYPE_PREFIX
CPyModule_MODULE_PREFIXCPyTypeVar_TYPE_VAR_PREFIX_ATTR_PREFIX__mypyc_env__ENV_ATTR_NAME__mypyc_next_label__NEXT_LABEL_ATTR_NAME__mypyc_temp__TEMP_ATTR_NAME__mypyc_lambda__LAMBDA_NAME__mypyc_setter__PROPSET_PREFIX__mypyc_self__	SELF_NAME__top_level__TOP_LEVEL_NAME   FAST_ISINSTANCE_MAX_SUBCLASSESSIZEOF_SIZE_TSIZEOF_SIZE_T_SYSCONFIG         IS_32_BIT_PLATFORMMAX_SHORT_INTMIN_SHORT_INTMAX_LITERAL_SHORT_INTMIN_LITERAL_SHORT_INTuint32_tBITMAP_TYPE    BITMAP_BITS)zinit.cz	getargs.czgetargsfast.cz	int_ops.czfloat_ops.cz	str_ops.czbytes_ops.cz
list_ops.cz
dict_ops.cz	set_ops.cztuple_ops.cz	exc_ops.cz
misc_ops.czgeneric_ops.czpythonsupport.cRUNTIME_C_FILES
group_namestrreturnc                 C  s
   |  dS )zGiven a group name, return the actual name of its extension module.

    (This just adds a suffix to the final component.)
    __mypyc )r9   r=   r=   D/home/garg/my-data/venv/lib/python3.10/site-packages/mypyc/common.pyshared_lib_nameY   s   
r?   namec                 C  s   |  dr| dd  S | S )Nz	builtins.	   )
startswith)r@   r=   r=   r>   
short_namea   s   
rC   capi_versiontuple[int, int]boolc                 C     | dkS )N)   r-   r=   rD   r=   r=   r>   use_vectorcallg      rJ   c                 C  rG   )N)rH   rA   r=   rI   r=   r=   r>   use_method_vectorcalll   rK   rL   fullnamelineintc                 C  s   t | r| d| S |S )aj  Create a unique id for a function.

    This creates an id that is unique for any given function definition, so that it can be used as
    a dictionary key. This is usually the fullname of the function, but this is different in that
    it handles the case where the function is named '_', in which case multiple different functions
    could have the same name..r   )r@   rM   rN   r=   r=   r>   get_id_from_nameq   s   rQ   	func_name	shortname
int | Nonec                 C  s.   t | r|d us
J | d| }|S |}|S )NrP   r   )rR   rS   rN   partial_namer=   r=   r>   short_id_from_name~   s   rV   indexc                 C  s   | dkrdS d| d  S )Nr   __bitmapr,   r=   )rW   r=   r=   r>   bitmap_name   s   rY   )r9   r:   r;   r:   )r@   r:   r;   r:   )rD   rE   r;   rF   )r@   r:   rM   r:   rN   rO   r;   r:   )rR   r:   rS   r:   rN   rT   r;   r:   )rW   rO   r;   r:   )4
__future__r   sys	sysconfigtypingr   r   r   	mypy.utilr   r	   __annotations__r   r   r   r   r   r   r   r   r   r   r   r!   r#   r%   r'   r)   get_config_varr+   rO   maxsize
bit_lengthr*   r/   PLATFORM_SIZEr0   r1   r2   r3   r5   r7   r8   r:   JsonDictr?   rC   rJ   rL   rQ   rV   rY   r=   r=   r=   r>   <module>   sX    
 





	