ó vĘ_c@sŪddlZddlZddlZddlZddlmZereddlmZmZm Z nej dfej dfej dfej dfejdfejd fejd fgZejd ƒZd „ZdS( i’’’’N(tMYPY_CHECK_RUNNING(tListtTupletTextsutf-8sutf-16s utf-16-bes utf-16-lesutf-32s utf-32-bes utf-32-lescoding[:=]\s*([-\w.]+)cCsŌx:tD]2\}}|j|ƒr|t|ƒj|ƒSqWxr|jdƒd D]]}|dd!dkrQtj|ƒrQtj|ƒ}|jƒdjdƒ}|j|ƒSqQW|jtj 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 iiit#tascii( tBOMSt startswithtlentdecodetsplitt ENCODING_REtsearchtgroupstlocaletgetpreferredencodingtFalsetsystgetdefaultencoding(tdatatbomtencodingtlinetresult((sM/opt/alt/python38/lib/python3.8/site-packages/pip/_internal/utils/encoding.pyt auto_decodes"(tcodecsRtreRtpip._internal.utils.typingRttypingRRRtBOM_UTF8t BOM_UTF16t BOM_UTF16_BEt BOM_UTF16_LEt BOM_UTF32t BOM_UTF32_BEt BOM_UTF32_LERtcompileR R(((sM/opt/alt/python38/lib/python3.8/site-packages/pip/_internal/utils/encoding.pyts