Your IP : 13.58.221.124
3
� fxC � @ s� d dl Z d dlZd dlZd dlZd dlZd dlZd dlZd dlZd dl Z d dl
Z
d dlmZ d dlm
Z
d dlmZ d dlmZ d dlmZ d dlmZ d dlmZ d dlZx"d8D ]Zee
e� ejde = q�W dZd9dd�Zd:dd�Zdadd� Zed� e
j� Zefdd�Zdada da!d;dd�Z"dd� Z#d d!� Z$d"d#� Z%d$d%� Z&d&d'� Z'd(d)� Z(d*d+� Z)G d,d-� d-ej*�Z+G d.d/� d/e j,�Z-G d0d1� d1e-�Z.G d2d3� d3e-�Z/G d4d5� d5ej0�Z1G d6d7� d7e2�Z3ed� dS )<� N)�autocomplete)�calltip)�
debugger_r)�
debugobj_r)�iomenu)�rpc)�stackviewer�simpledialog�
messagebox�font�dialog�
filedialog�commondialog�ttkztkinter.z 127.0.0.1c C sV d}|d||f 7 }|dkr(t j||�}|j� }|r@|d| 7 }|d|j| f 7 }|S )zFormat warnings the IDLE way.z!
Warning (from warnings module):
z File "%s", line %s
Nz %s
z%s: %s
)� linecache�getline�strip�__name__)�message�category�filename�lineno�line�s� r �0/opt/alt/python36/lib64/python3.6/idlelib/run.py�idle_formatwarning s r c
C sB |dkrt j}y|jt| ||||�� W n tk
r< Y nX dS )zuShow Idle-format warning after replacing warnings.showwarning.
The only difference is the formatter called.
N)�sys�stderr�writer �OSError)r r r r �filer r r r �idle_showwarning_subproc, s r"