관리-도구
편집 파일: encoding.pyc
� �Rec @ s� d d l Z d d l Z d d l Z d d l Z d d l m Z e re d d l m Z m Z m Z n e j d f e j d f e j d f e j d f e j d f e j d f e j d f g Z e j d � Z d � Z d S( i����N( t MYPY_CHECK_RUNNING( t Listt Tuplet Texts utf-8s utf-16s utf-16-bes utf-16-les utf-32s utf-32-bes utf-32-les coding[:=]\s*([-\w.]+)c C s� x: t D]2 \ } } | j | � r | t | � j | � Sq Wx� | j d � d D]o } | d d !d k rQ t j | � rQ t j | � } | d k s� t � | j � d j d � } | j | � SqQ W| j t j t � p� t j � � S( s� Check a bytes string for a BOM to correctly detect the encoding Fallback to locale.getpreferredencoding(False) like open() on Python3s i i i t #t asciiN( t BOMSt startswitht lent decodet splitt ENCODING_REt searcht Nonet AssertionErrort groupst localet getpreferredencodingt Falset syst getdefaultencoding( t datat bomt encodingt linet result( ( s� /builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/utils/encoding.pyt auto_decode s "( t codecsR t reR t pip._internal.utils.typingR t typingR R R t BOM_UTF8t BOM_UTF16t BOM_UTF16_BEt BOM_UTF16_LEt BOM_UTF32t BOM_UTF32_BEt BOM_UTF32_LER t compileR R ( ( ( s� /builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/utils/encoding.pyt <module> s