403Webshell
Server IP : 217.160.0.135  /  Your IP : 216.73.216.115
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/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

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

cR�a����dZddlZddlZddlZddlZddlZddlmZejd��Z	d�Z
d�Zd�Ze
dkre��dSdS)	zG Script to run Pythran file compilation with specified g++ like flags. �N)�CompileError�pythranc#�jK�|���D]}|���s�|V��dS)z*Read argument from file in a prettier way.N)�split�strip)�arg_line�args  �-/usr/lib/python3/dist-packages/pythran/run.py�convert_arg_line_to_argsrsG�����~�~�������y�y�{�{�	���	�	�	�	���c��|j|j|j|j|j|j|jd�}dD]}t
||d��}|r|||<�|S)z�
    Build a dictionnary with an entry for cppflags, ldflags, and cxxflags.

    These options are filled according to the command line defined options

    )�
define_macros�undef_macros�include_dirs�extra_compile_args�library_dirs�extra_link_args�config)�optsN)�defines�undefsr�extra_flags�
libraries_dirr�getattr)�args�compiler_options�param�vals    r
�
compile_flagsrst�������)�"�.��*��+��+�����*�*���d�E�4�(�(���	*�&)��U�#���rc	�\�d}tjdkr|dz
}tjddd|d���}|�d	t
d
���|�dd
t
d���|�dddd���|�dddd���|�dddd���|�dddd���|�dddd ���|�d!d"d#tjj�$��|�d%d&d'd(d)t���*��|�d+d,d-d(d.t���*��|�d/d0d1d(d2t���*��|�d3d4d5d(d6t���*��|�d7d8d5d(d9t���*��|�d:d;d;d(d<t���*��|�d=d>dd?���t|_
|�tj
d@d���\}}||_|jr!dA|_|j�dB��|jr5|jr.t*�dC��tjd@��|jr$t*�t2j��|jr$t*�t2j��|jr4tj�tjj|j��|jr5|js.tj�tjj��	tj �!|j"��s'tGdD�$|j"�����tj �%tj �&|j"����\}}|dEvr"tOdF�$|�����|dGkr�|j(r'tGdH�$|j"�����|jr'tGdI�$|j"�����t
j)||j"|j*fitW|����dSt
j,|j"f|j*|j|j(|j-dJ�tW|����dS#t\$rI}t*�dKt|��z��tjd@��Yd}~dSd}~wtF$rI}t*�dLt|��z��tjd@��Yd}~dSd}~wtj/j0j1$rI}t*�dMt|��z��tjd@��Yd}~dSd}~wtj2j3$rI}t*�dNt|��z��tjd@��Yd}~dSd}~wth$rI}t*�dOt|��z��tjd@��Yd}~dSd}~wtj$rt*�dP���tl$rI}t*�dQt|��z��tjd@��Yd}~dSd}~wwxYw)RN�-�nt�/rz!pythran: a python to C++ compilerzIt's a megablast!�@)�prog�description�epilog�prefix_chars�fromfile_prefix_chars�
input_filez:the pythran module to compile, either a .py or a .cpp file)�type�helpz-o�output_filez'path to generated file. Honors %%{ext}.)�destr+r,z-P�
optimize_only�
store_truez1only run the high-level optimizer, do not compile)r.�actionr,z-E�translate_onlyz'only run the translator, do not compilez-e�raw_translate_onlyz0similar to -E, but does not generate python gluez-v�verbosezbe more verbosez-w�warn_offzbe less verbosez-Vz	--version�version)r1r6z-pr�pass�appendz8any pythran optimization to apply before code generation)r.�metavarr1r,�defaultz-Ir�include_dirz7any include dir relevant to the underlying C++ compilerz-Lr�ldflagsz%any search dir relevant to the linkerz-Dr�macro_definitionz<any macro definition relevant to the underlying C++ compilerz-Urz7any macro undef relevant to the underlying C++ compilerz--configrzconfig additional paramsz
-ftime-report�report_timesz5report time spent in each optimization/transformation�T�ENABLE_PYTHON_MODULEz.Unexpected combination: -w and -v? Daoubennek?zinput file `{0}' not found)�.cppz.pyz!Unsupported file extension: '{0}'rAzEDo you really ask for Python-to-Python on this C++ input file: '{0}'?zBDo you really ask for Python-to-C++ on this C++ input file: '{0}'?)r-�cpponly�pyonlyr>z(I've got a bad feeling about this...
E: z%Chair to keyboard interface error
E: zYou shall not pass!
E: zQI am in trouble. Your input file does not seem to match Pythran's constraints...
z%Cover me Jack. Jack? Jaaaaack!!!!
E: zyMAYDAY, MAYDAY, MAYDAY; pythran compiler; code area out of control
E: not implemented feature needed, bash the developerszGBy Jove! Your environment does not seem to provide all what we need
E: )7�os�name�argparse�ArgumentParser�add_argument�strrr6�__version__�listr�parse_known_args�sys�argvrr3r2rr8r4r5�logger�critical�exit�setLevel�logging�INFO�ERRORr�
update_cfg�cfg�lint_cfg�path�existsr*�
ValueError�format�splitext�basename�SyntaxErrorr/�compile_cxxfiler-r�compile_pythranfiler>�IOError�types�tog�PythranTypeError�syntax�PythranSyntaxErrorr�NotImplementedError�EnvironmentError)r(�parserr�extra�module_name�ext�es       r
�runro2s9���L�	�w�$�������
�
$�)�20�,?�2>�;>�@�@�@�F�����3�;��<�<�<�����=�s�F��H�H�H�����?�<�)��*�*�*�����#3�L�F��H�H�H�����#7��A��B�B�B�����9�\�.��0�0�0�����:�l�.��0�0�0�����k�(� '�� ;��=�=�=�����6�6�'�%� $���	�(�(�(�����>�=�'�#� $���	�(�(�(�����?�I�'�D� $����(�(�(�
����9�6H�'�;� $���	�(�(�(�����8�5G�'�;� $���	�(�(�(����
��8�'�7� $����(�(�(�
����n�+�T��V�V�V�'?�F�#��)�)�#�(�1�2�2�,�7�7�K�D�%��D����3�"�������1�2�2�2��|���
�����H�I�I�I��������|�&������%�%�%��}�'�����
�&�&�&��{�C���!�!�'�.�"4�d�k�B�B�B��|�4�D�M�4������� 2�3�3�3�?��w�~�~�d�o�.�.�	"��9�@�@���!�!�"�"�
"��7�+�+�B�G�,<�,<�T�_�,M�,M�N�N���S��o�%�%��A�H�H��M�M�N�N�N��&�=�=��!�
7� �"B�BH�&�%)�_�C6�C6�7�7�7��"�
7� �"B�BH�&�%)�_�C6�C6�7�7�7�
�#�K�$(�O�T�5E�
;�
;�&3�D�&9�&9�
;�
;�
;�
;�
;�
�'���
?�48�4D�04�0C�/3�/A�59�5F�	
?�
?�
+8��*=�*=�
?�
?�
?�
?�
?���������� #�A���'�	(�	(�	(������������������������� #�A���'�	(�	(�	(������������������=��-�������� #�A���'�	(�	(�	(������������������>�,�������>�@C�A���G�	H�	H�	H������������������������� #�A���'�	(�	(�	(������������������������.�	/�	/�	/�	��������� #�A���'�	(�	(�	(�	����������������	���s[�ET�=T�
\+�>U�
\+�!>V%�%\+�>X�\+�>Y � 
\+�->Z1�11\+�">\&�&\+�__main__)�__doc__rFrSrDrMr�distutils.errorsr�	getLoggerrOrrro�__name__�rr
�<module>rvs���N�M���������	�	�	�	�
�
�
�
�����)�)�)�)�)�)�	��	�9�	%�	%��������2g�g�g�T�z����C�E�E�E�E�E��r

Youez - 2016 - github.com/yon3zu
LinuXploit