Repository URL to install this package:
|
Version:
0.1.5-1 ▾
|
odigos
/
etc
/
odigos-vmagent
/
instrumentations
/
python
/
setuptools
/
__pycache__
/
unicode_utils.cpython-311.pyc
|
|---|
§
ãbgm ã ó¨ d dl Z d dlZd dlmZ ddlmZ ddlmZ d Zd Z d Z
ej fd ed
efdZ
ej fded ed
dfd
Z G d de¦ « ZdS )é N)ÚConfigParseré )Úpy39)ÚSetuptoolsDeprecationWarningc óü t | t ¦ « rt j d| ¦ « S | d¦ « } t j d| ¦ « } | d¦ « } n# t $ r Y nw xY w| S )NÚNFDúutf-8)Ú
isinstanceÚstrÚunicodedataÚ normalizeÚdecodeÚencodeÚUnicodeError)Úpaths ú?/tmp/pip-target-vp8_xwat/lib/python/setuptools/unicode_utils.pyÚ decomposer
s Ý$ÑÔð 2ÝÔ$ U¨DÑ1Ô1Ð1ð
Ø{{7Ñ#Ô#ÝÔ$ U¨DÑ1Ô1Ø{{7Ñ#Ô#øÝð
ð
ð
Øð
øøøàKs ¬?A, Á,
A9Á8A9c ó¾ t | t ¦ « r| S t j ¦ « pd}|df}|D ])} | |¦ « c S # t
$ r Y &w xY wdS )z]
Ensure that the given path is decoded,
``None`` when no expected encoding works
r N)r
r ÚsysÚgetfilesystemencodingr ÚUnicodeDecodeError)r Úfs_encÚ
candidatesÚencs r Úfilesys_decoder s õ $ÑÔð Øå
Ô
&Ñ
(Ô
(Ð
3¨GFØJàð ð ð Ø;;sÑ#Ô#Ð#Ð#Ð#øÝ!ð ð ð ØHð øøøð 4s ¶A
Á
AÁAc óP | |¦ « S # t $ r Y dS w xY w)z/turn unicode encoding into a functional routineN)r ÚUnicodeEncodeError)Ústringr s r Ú
try_encoder + s; ðØ}}SÑ!Ô!Ð!øÝð ð ð Øttðøøøs
%¤%ÚfileÚreturnc ó^ t | dd¬¦ « 5 }| ¦ « cddd¦ « S # 1 swxY w Y dS # t $ r` t | |¬¦ « t | d|¬¦ « 5 }| ¦ « cddd¦ « cY S # 1 swxY w Y Y dS w xY w)a
First try to read the file with UTF-8, if there is an error fallback to a
different encoding ("locale" by default). Returns the content of the file.
Also useful when reading files that might have been produced by an older version of
setuptools.
Úrr ©ÚencodingN©r Úfallback_encoding)ÚopenÚreadr Ú_Utf8EncodingNeededÚemit)r r' Úfs r Ú_read_utf8_with_fallbackr- 3 sN ðÝ
$ gÐ
.Ñ
.Ô
.ð °!Ø6688ð ð ð ð ñ ô ð ð ð ð ð ð øøøð ð ð ð ð ð øåð ð ð Ý× Ò dÐ>OÐ ÑPÔPÐPÝ
$Ð&7Ð
8Ñ
8Ô
8ð ¸AØ6688ð ð ð ð ñ ô ð ð ð ð ð ð ð ð øøøð ð ð ð ð ð ð ðøøøsP A 5¨A µ9¹A ¼9½A Á8B,Á:BÂ
B,ÂB! Â!B,Â$B! Â%B,Â+B,Úcfgc óæ | |d¬¦ « dS # t $ rK t ||¬¦ « | ¦ « | ||¬¦ « Y dS w xY w)zSame idea as :func:`_read_utf8_with_fallback`, but for the
:meth:`ConfigParser.read` method.
This method may call ``cfg.clear()``.
r r$ r&