← Back
Editing: __init__.cpython-311.pyc
� �@�c< � � � d Z ddlZddlZej dk r ed� � �ddlmZ ddlmZ ddl m Z dd lmZ dd l mZ ddlmZ ddlmZ ej �d ej �d�Zej Zej Zej ZdhZdd�Zdd�Zdd�ZdS )zW IPython: tools for interactive and parallel computing in Python. https://ipython.org � N)� � a� IPython 8+ supports Python 3.8 and above, following NEP 29. When using Python 2.7, please install IPython 5.x LTS Long Term Support version. Python 3.3 and 3.4 were supported up to IPython 6.x. Python 3.5 was supported with IPython 7.0 to 7.9. Python 3.6 was supported with IPython up to 7.16. Python 3.7 was still supported with the 7.x branch. See IPython `README.rst` file for more information: https://github.com/ipython/ipython/blob/main/README.rst � )�get_ipython)�release)�Application)�embed)�InteractiveShell)�sys_info)�extract_module_localsz <�>zCVE-2022-21699c �\ � t d� � \ }}| �|} |�|}ddlm} |d| |d�|�� dS )a� Embed and start an IPython kernel in a given scope. If you don't want the kernel to initialize the namespace from the scope of the surrounding function, and/or you want to load full IPython configuration, you probably want `IPython.start_kernel()` instead. Parameters ---------- module : types.ModuleType, optional The module to load into IPython globals (default: caller) local_ns : dict, optional The namespace to load into IPython user namespace (default: caller) **kwargs : various, optional Further keyword args are relayed to the IPKernelApp constructor, allowing configuration of the Kernel. Will only have an effect on the first embed_kernel call for a given process. r Nr )�embed_kernel)�module�local_ns� )r �ipykernel.embedr )r r �kwargs� caller_module� caller_locals�real_embed_kernels �2/usr/lib/python3/dist-packages/IPython/__init__.pyr r E sd � �( &;�1�%=�%=�"�]�M� �~����� �� B�A�A�A�A�A���A�V�h�A�A�&�A�A�A�A�A� c �"