| 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/__pycache__/ |
Upload File : |
�
cR�a�
� �t � d Z ddlZddlZddlmZmZmZ ddlmZ ddl Z e G d� de� � � � Z
d� ZdS )zW
Pythran integration into IPython.
* provides the %%pythran magic function to ipython
� N)�Magics�magics_class�
cell_magic)�magic_argumentsc
�b � � e Zd ZdZ� fd�Zd� Z ej � � ej ddg �� � ej ddg �� � ej ddg �� � ej d dg �� � ej d
dg �� � ed� � � � � � � � � � � � � � � Z � xZ
S )�
PythranMagicszE Class to make it possible to use pythran as a magic IPython command.c �f �� t t | � � � |� � i | _ dS )z Init the pythran magic stuff. N)�superr �__init__�_reloads)�self�shell� __class__s ��//usr/lib/python3/dist-packages/pythran/magic.pyr zPythranMagics.__init__ s, �� �
�m�T�"�"�+�+�E�2�2�2���
�
�
� c �| � | j � d� |j � � � D � � � � dS )z Import only globals modules. c �D � i | ]\ }}|� d � � �||��S )�__)�
startswith)�.0�k�vs r �
<dictcomp>z-PythranMagics._import_all.<locals>.<dictcomp>"