403Webshell
Server IP : 217.160.0.135  /  Your IP : 216.73.217.85
Web Server : Apache
System : Linux www 6.18.52-i1-ampere #1203 SMP Mon Sep 14 18:29:59 CEST 2026 aarch64
User : sws1074145052 ( 1074145052)
PHP Version : 8.3.32
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /usr/lib/python3/dist-packages/pythran/analyses/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/lib/python3/dist-packages/pythran/analyses/__pycache__/pure_expressions.cpython-311.pyc
�

cR�a#
��j�dZddlmZddlmZddlmZddlmZddl	m
Z
ddlZGd�d	e��Z
dS)
z9
PureExpressions detects functions without side-effects.
�)�Aliases)�ArgumentEffects)�
GlobalEffects)�ModuleAnalysis)�	IntrinsicNc�>��eZdZdZ�fd�Zd�Zd�Zd�Z�fd�Z�xZ	S)�PureExpressionsz"Yields the set of pure expressionsc���t��|_tt|���t
tt��dS)N)�set�result�superr	�__init__rrr)�self�	__class__s ��C/usr/lib/python3/dist-packages/pythran/analyses/pure_expressions.pyrzPureExpressions.__init__sA����e�e���
�o�t�$�$�-�-�o�}�.5�	7�	7�	7�	7�	7�c�D�|jD]}|�|���dS)NF)�body�visit)r�node�stmts   r�visit_FunctionDefz!PureExpressions.visit_FunctionDefs-���I�	�	�D��J�J�t������urc���t�fd�tj|��D����}|r�j�|��|S)Nc�:��g|]}��|����S��r)�.0�xrs  �r�
<listcomp>z1PureExpressions.generic_visit.<locals>.<listcomp>s#���I�I�I��t�z�z�!�}�}�I�I�Ir)�all�ast�iter_child_nodesr�add)rr�is_pures`  r�
generic_visitzPureExpressions.generic_visitsQ����I�I�I�I�c�.B�4�.H�.H�I�I�I�J�J���	"��K�O�O�D�!�!�!��rc���t�fd�|jD����}�j|j}|r�|D]�}t	|t
��r||jz}n||�jvz}|�jvrS�j|}t|j|��D]/\}}|r(	tj|���#t$rd}Y�+wxYw�0��d}��nd}|��
|j��z}|r�j�|��|S)Nc�:��g|]}��|����Srr)r�argrs  �rrz.PureExpressions.visit_Call.<locals>.<listcomp>%s#���<�<�<�3�t�z�z�#���<�<�<rF)r �args�aliases�func�
isinstancer�global_effectsr�argument_effects�zipr!�literal_eval�
ValueErrorrr#)rrr$�func_aliases�
func_alias�func_aesr(�aes`       r�
visit_CallzPureExpressions.visit_Call#s^����<�<�<�<�$�)�<�<�<�=�=���|�D�I�.���	�*�
$�
$�
��j�)�4�4�9��:�#<�<�<�G�G��z�T�[�8�8�G���!6�6�6�#�4�Z�@�H�#&�t�y�(�#;�#;�0�0���R��0�0� #� 0�� 5� 5� 5� 5��#-�0�0�0�*/����0����0�0�$�G�G�%
$�(�G�	�4�:�:�d�i�(�(�(���	"��K�O�O�D�!�!�!��s�B/�/B>�=B>c����tt����|���fd��j���D���_dS)Nc�J��h|]\}}|�jv�t|���|�� Sr)r-�any)rr+r5rs   �r�	<setcomp>z*PureExpressions.prepare.<locals>.<setcomp>HsB���K�K�K���b��d�&9�9�9�#�b�'�'�9��9�9�9r)r
r	�preparer.�itemsr)rrrs` �rr;zPureExpressions.prepareFse����
�o�t�$�$�,�,�T�2�2�2�K�K�K�K�D�,A�,G�,G�,I�,I�K�K�K����r)
�__name__�
__module__�__qualname__�__doc__rrr%r6r;�
__classcell__)rs@rr	r	s��������,�,�7�7�7�7�7�
������!�!�!�FK�K�K�K�K�K�K�K�Krr	)r@�pythran.analyses.aliasesr�!pythran.analyses.argument_effectsr�pythran.analyses.global_effectsr�pythran.passmanagerr�pythran.intrinsicr�gastr!r	rrr�<module>rHs�����-�,�,�,�,�,�=�=�=�=�=�=�9�9�9�9�9�9�.�.�.�.�.�.�'�'�'�'�'�'�����;K�;K�;K�;K�;K�n�;K�;K�;K�;K�;Kr

Youez - 2016 - github.com/yon3zu
LinuXploit