| Server IP : 185.143.233.238 / Your IP : 185.215.232.195 Web Server : Apache System : Linux 81-12-52-146.cprapid.com 4.18.0-553.76.1.lve.el8.x86_64 #1 SMP Wed Oct 1 16:05:07 UTC 2025 x86_64 User : noavaranesama ( 1039) PHP Version : 8.2.29 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /lib/python3.8/site-packages/pip/_internal/utils/__pycache__/ |
Upload File : |
U
��.e( � @ s� d dl Z d dlZd dlZd dlZd dlmZ erDd dlmZmZm Z e j
dfe jdfe jdfe j
dfe jdfe jd fe jd
fgZe�d�Zdd
� ZdS )� N)�MYPY_CHECK_RUNNING)�List�Tuple�Textzutf-8zutf-16z utf-16-bez utf-16-lezutf-32z utf-32-bez utf-32-les coding[:=]\s*([-\w.]+)c C s� t D ],\}}| �|�r| t|�d� �|� S q| �d�dd� D ]D}|dd� dkrDt�|�rDt�|��� d �d�}| �|� S qD| �t� d�p�t
�� �S ) z�Check a bytes string for a BOM to correctly detect the encoding
Fallback to locale.getpreferredencoding(False) like open() on Python3N�
� r � � #�asciiF)�BOMS�
startswith�len�decode�split�ENCODING_RE�search�groups�localeZgetpreferredencoding�sys�getdefaultencoding)�dataZbom�encoding�line� r �@/usr/lib/python3.8/site-packages/pip/_internal/utils/encoding.py�auto_decode s
�r )�codecsr �rer Zpip._internal.utils.typingr �typingr r r �BOM_UTF8� BOM_UTF16�BOM_UTF16_BE�BOM_UTF16_LE� BOM_UTF32�BOM_UTF32_BE�BOM_UTF32_LEr �compiler r r r r r �<module> s �