Current Dir: /snap/core22/2437/usr/lib/python3.10/distutils/__pycache__/

[FILE] archive_util.cpython-310.pyc [ edit | delete | rename ]
[FILE] bcppcompiler.cpython-310.pyc [ edit | delete | rename ]
[FILE] ccompiler.cpython-310.pyc [ edit | delete | rename ]
[FILE] cmd.cpython-310.pyc [ edit | delete | rename ]
[FILE] config.cpython-310.pyc [ edit | delete | rename ]
[FILE] core.cpython-310.pyc [ edit | delete | rename ]
[FILE] cygwinccompiler.cpython-310.pyc [ edit | delete | rename ]
[FILE] debug.cpython-310.pyc [ edit | delete | rename ]
[FILE] dep_util.cpython-310.pyc [ edit | delete | rename ]
[FILE] dir_util.cpython-310.pyc [ edit | delete | rename ]
[FILE] dist.cpython-310.pyc [ edit | delete | rename ]
[FILE] errors.cpython-310.pyc [ edit | delete | rename ]
[FILE] extension.cpython-310.pyc [ edit | delete | rename ]
[FILE] fancy_getopt.cpython-310.pyc [ edit | delete | rename ]
[FILE] filelist.cpython-310.pyc [ edit | delete | rename ]
[FILE] file_util.cpython-310.pyc [ edit | delete | rename ]
[FILE] log.cpython-310.pyc [ edit | delete | rename ]
[FILE] msvc9compiler.cpython-310.pyc [ edit | delete | rename ]
[FILE] msvccompiler.cpython-310.pyc [ edit | delete | rename ]
[FILE] spawn.cpython-310.pyc [ edit | delete | rename ]
[FILE] sysconfig.cpython-310.pyc [ edit | delete | rename ]
[FILE] text_file.cpython-310.pyc [ edit | delete | rename ]
[FILE] unixccompiler.cpython-310.pyc [ edit | delete | rename ]
[FILE] util.cpython-310.pyc [ edit | delete | rename ]
[FILE] version.cpython-310.pyc [ edit | delete | rename ]
[FILE] versionpredicate.cpython-310.pyc [ edit | delete | rename ]
[FILE] _msvccompiler.cpython-310.pyc [ edit | delete | rename ]
[FILE] __init__.cpython-310.pyc [ edit | delete | rename ]

Viewing: /snap/core22/2437/usr/lib/python3.10/distutils/__pycache__/log.cpython-310.pyc

o

��bc��@sldZdZdZdZdZdZddlZGdd	�d	�Ze�Zej	Z	ej
Z
ejZejZej
Z
ejZd
d�Zdd
�ZdS)z,A simple log mechanism styled after PEP 282.������Nc@sPeZdZefdd�Zdd�Zdd�Zdd�Zd	d
�Zdd�Z	d
d�Z
dd�ZdS)�LogcCs
||_dS�N)�	threshold)�selfr	�r�$/usr/lib/python3.10/distutils/log.py�__init__s
zLog.__init__cCs�|tttttfvrtdt|���||jkrV|r||}|tttfvr'tj	}ntj
}z	|�d|�WntyO|j
}|�|d��|�}|�d|�Ynw|��dSdS)Nz%s wrong log levelz%s
�backslashreplace)�DEBUG�INFO�WARN�ERROR�FATAL�
ValueError�strr	�sys�stderr�stdout�write�UnicodeEncodeError�encoding�encode�decode�flush)r
�level�msg�args�streamrrrr�_logs"
��zLog._logcGs|�|||�dSr)r#)r
rr r!rrr�log'�zLog.logcG�|�t||�dSr)r#r�r
r r!rrr�debug*r%z	Log.debugcGr&r)r#rr'rrr�info-r%zLog.infocGr&r)r#rr'rrr�warn0r%zLog.warncGr&r)r#rr'rrr�error3r%z	Log.errorcGr&r)r#rr'rrr�fatal6r%z	Log.fatalN)�__name__�
__module__�__qualname__rr
r#r$r(r)r*r+r,rrrrrsrcCstj}|t_|Sr)�_global_logr	)r�oldrrr�
set_thresholdAsr2cCs@|dkr
tt�dS|dkrtt�dS|dkrtt�dSdS)Nrrr)r2rrr)�vrrr�
set_verbosityGs�r4)�__doc__rrrrrrrr0r$r(r)r*r+r,r2r4rrrr�<module>s"+
Upload File: