• File: unicode_utils.cpython-36.pyc
  • Full Path: /home3/farmfre2/public_html/ALFA_DATA/alfasymlink/root/lib/python3.6/site-packages/setuptools/__pycache__/unicode_utils.cpython-36.pyc
  • Date Modified: 10/18/2026 11:59 PM
  • File size: 1.07 KB
  • MIME-type: text/x-bytecode.python
  • Charset: 8 bit
3

l]j@s8ddlZddlZddlmZddZddZddZdS)	N)sixcCsVt|tjrtjd|Sy$|jd}tjd|}|jd}Wntk
rPYnX|S)NZNFDzutf-8)
isinstancer	text_typeunicodedataZ	normalizedecodeencodeUnicodeError)pathr
#/usr/lib/python3.6/unicode_utils.py	decomposes
rcCsXt|tjr|Stjpd}|df}x.|D]&}y
|j|Stk
rNw*Yq*Xq*WdS)zY
    Ensure that the given path is decoded,
    NONE when no expected encoding works
    zutf-8N)rrrsysgetfilesystemencodingrUnicodeDecodeError)r	Zfs_encZ
candidatesencr
r
rfilesys_decodes

rcCs$y
|j|Stk
rdSXdS)z/turn unicode encoding into a functional routineN)rUnicodeEncodeError)stringrr
r
r
try_encode's
r)rr
Zsetuptools.externrrrrr
r
r
r<module>s