| Server IP : 35.80.110.71 / Your IP : 216.73.216.52 Web Server : Apache/2.4.58 (Ubuntu) System : Linux ip-172-31-21-44 6.17.0-1019-aws #19~24.04.1-Ubuntu SMP Tue Jun 23 18:53:06 UTC 2026 x86_64 User : ubuntu ( 1000) PHP Version : 8.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /lib/python3/dist-packages/IPython/core/__pycache__/ |
Upload File : |
�
}�e�I �
�B � d Z ddlZddlmZ ddlZddlZddlZddlZddlm Z ddl
mZmZ ddl
mZmZ ddlmZmZ ddlmZmZ dd lmZmZ dd
lmZ ddlmZmZmZmZm Z m!Z!m"Z"m#Z#m$Z$ ejJ dk( r4ejL jO d
d� Z(e(� e) e e(� dz � gZ*ng Z*nddgZ*g Z+ejX j[ ej\ dd� Z/e/e*vre+ja e/� ejL jO d� Z1e1dv rdZ2n?e1jg � dv rdZ2n*e1jg � dv rdZ2n ejh de1z � i Z5 e6ejn e8� re5js ejn � e5js dddddd�� e8� Z: e6ejv e8� re:js ejv � e:js e8dd ejx iid!fdd ejz iid"fd#ddd$�id%f�&� � G d'� d(e� Z> G d)� d#e� Z?y)*a-
An application for IPython.
All top-level applications should use the classes in this module for
handling configuration and creating configurables.
The job of an :class:`Application` is to create the master configuration
object and then create the configurable objects, passing the config to them.
� N)�deepcopy)�Path)�Application�catch_config_error)�ConfigFileNotFound�PyFileConfigLoader)�release�crashhandler)�
ProfileDir�ProfileDirError)�get_ipython_dir�get_ipython_package_dir)�ensure_dir_exists) �List�Unicode�Type�Bool�Set�Instance� Undefined�default�observe�nt�PROGRAMDATA�ipythonz/usr/local/etc/ipythonz/etc/ipython�etc�IPYTHON_SUPPRESS_CONFIG_ERRORS> N� > �1�trueT> �0�falseFz�Unsupported value for environment variable: 'IPYTHON_SUPPRESS_CONFIG_ERRORS' is set to '%s' which is none of {'0', '1', 'false', 'true', ''}.�ProfileDir.locationzBaseIPythonApplication.profilez"BaseIPythonApplication.ipython_dirzApplication.log_levelz(BaseIPythonApplication.extra_config_file)zprofile-dir�profilezipython-dirz log-level�configr � log_levelz8set log level to logging.DEBUG (maximize logging output)z;set log level to logging.CRITICAL (minimize logging output)�BaseIPythonApplication)�copy_config_files�auto_createz�Initialize profile with default config files. This is equivalent
to running `ipython profile create <profile>` prior to startup.
)�debug�quiet�initc �$ � � e Zd ZdZd� fd� Z� xZS )�ProfileAwareConfigLoaderz>A Python file config loader that is aware of IPython profiles.c � �� |�+ t j t � |� }|j }t
t | � ||�� S # t $ r Y y w xY w)N��path)r �find_profile_dir_by_namer
r �location�superr. �load_subconfig)�self�fnamer1 r$ �profile_dir� __class__s ��:/usr/lib/python3/dist-packages/IPython/core/application.pyr5 z'ProfileAwareConfigLoader.load_subconfigq sa �� ���
�(�A�A�'�)���� �'�'�D��-�t�C�E�PT�C�U�U�� #�
��
�s �A � A�A)NN)�__name__�
__module__�__qualname__�__doc__r5 �
__classcell__�r9 s @r: r. r. o s �� �H�
V�
V� r. c � � � e Zd ZdZdZ eej � ZeZ e
Z ee
g� ZeZ e� Z e� Z ed� d� � Z ed� d� � Z eej2 j5 e� ddd� � Z e e� � Z ed � d
� � Z ed�� j? d
�� Z ed� d� � Z! edd�� j? d
�� Z" ed� d� � Z# e$dd� j? d
�� Z% ed�� j? d
�� Z& ed� d� � Z'dZ( e)e
d
�� Z* ed� d� � Z+ e$dd�� j? d
�� Z, e$dd�� j? d
�� Z- e e� � Z. ed� d� � Z/ e$dd�� j? d
�� Z0 e$dd �� j? d
�� Z1 e2e3jh � Z5e6� fd!�� Z7d"� Z8d#� Z9 ed� d$� � Z:e;fd%�Z<d&� Z=d'� Z>d(� Z?e6d*d)�� Z@� xZAS )+r'