/snap/core18/2999/usr/lib/python3.6/encodings/__pycache__
NameSizeModeActions
aliases.cpython-36.pyc62740644editdlrm
ascii.cpython-36.pyc18620644editdlrm
base64_codec.cpython-36.pyc24010644editdlrm
big5.cpython-36.pyc14220644editdlrm
big5hkscs.cpython-36.pyc14320644editdlrm
bz2_codec.cpython-36.pyc32630644editdlrm
charmap.cpython-36.pyc29150644editdlrm
cp037.cpython-36.pyc24070644editdlrm
cp273.cpython-36.pyc23930644editdlrm
cp424.cpython-36.pyc24370644editdlrm
cp437.cpython-36.pyc78210644editdlrm
cp500.cpython-36.pyc24070644editdlrm
cp720.cpython-36.pyc25040644editdlrm
cp737.cpython-36.pyc81430644editdlrm
cp775.cpython-36.pyc78510644editdlrm
cp850.cpython-36.pyc74820644editdlrm
cp852.cpython-36.pyc78590644editdlrm
cp855.cpython-36.pyc81120644editdlrm
cp856.cpython-36.pyc24690644editdlrm
cp857.cpython-36.pyc74640644editdlrm
cp858.cpython-36.pyc74520644editdlrm
cp860.cpython-36.pyc78000644editdlrm
cp861.cpython-36.pyc78150644editdlrm
cp862.cpython-36.pyc80040644editdlrm
cp863.cpython-36.pyc78150644editdlrm
cp864.cpython-36.pyc79610644editdlrm
cp865.cpython-36.pyc78150644editdlrm
cp866.cpython-36.pyc81480644editdlrm
cp869.cpython-36.pyc78410644editdlrm
cp874.cpython-36.pyc25350644editdlrm
cp875.cpython-36.pyc24040644editdlrm
cp932.cpython-36.pyc14240644editdlrm
cp949.cpython-36.pyc14240644editdlrm
cp950.cpython-36.pyc14240644editdlrm
cp1006.cpython-36.pyc24830644editdlrm
cp1026.cpython-36.pyc24110644editdlrm
cp1125.cpython-36.pyc81040644editdlrm
cp1140.cpython-36.pyc23970644editdlrm
cp1250.cpython-36.pyc24340644editdlrm
cp1251.cpython-36.pyc24310644editdlrm
cp1252.cpython-36.pyc24340644editdlrm
cp1253.cpython-36.pyc24470644editdlrm
cp1254.cpython-36.pyc24360644editdlrm
cp1255.cpython-36.pyc24550644editdlrm
cp1256.cpython-36.pyc24330644editdlrm
cp1257.cpython-36.pyc24410644editdlrm
cp1258.cpython-36.pyc24390644editdlrm
cp65001.cpython-36.pyc16610644editdlrm
euc_jisx0213.cpython-36.pyc14380644editdlrm
euc_jis_2004.cpython-36.pyc14380644editdlrm
euc_jp.cpython-36.pyc14260644editdlrm
euc_kr.cpython-36.pyc14260644editdlrm
gb2312.cpython-36.pyc14260644editdlrm
gb18030.cpython-36.pyc14280644editdlrm
gbk.cpython-36.pyc14200644editdlrm
hex_codec.cpython-36.pyc23880644editdlrm
hp_roman8.cpython-36.pyc26080644editdlrm
hz.cpython-36.pyc14180644editdlrm
idna.cpython-36.pyc57550644editdlrm
iso2022_jp.cpython-36.pyc14390644editdlrm
iso2022_jp_1.cpython-36.pyc14430644editdlrm
iso2022_jp_2.cpython-36.pyc14430644editdlrm
iso2022_jp_3.cpython-36.pyc14430644editdlrm
iso2022_jp_2004.cpython-36.pyc14490644editdlrm
iso2022_jp_ext.cpython-36.pyc14470644editdlrm
iso2022_kr.cpython-36.pyc14390644editdlrm
iso8859_1.cpython-36.pyc24060644editdlrm
iso8859_2.cpython-36.pyc24060644editdlrm
iso8859_3.cpython-36.pyc24130644editdlrm
iso8859_4.cpython-36.pyc24060644editdlrm
iso8859_5.cpython-36.pyc24070644editdlrm
iso8859_6.cpython-36.pyc24510644editdlrm
iso8859_7.cpython-36.pyc24140644editdlrm
iso8859_8.cpython-36.pyc24450644editdlrm
iso8859_9.cpython-36.pyc24060644editdlrm
iso8859_10.cpython-36.pyc24110644editdlrm
iso8859_11.cpython-36.pyc25050644editdlrm
iso8859_13.cpython-36.pyc24140644editdlrm
iso8859_14.cpython-36.pyc24320644editdlrm
iso8859_15.cpython-36.pyc24110644editdlrm
iso8859_16.cpython-36.pyc24130644editdlrm
johab.cpython-36.pyc14240644editdlrm
koi8_r.cpython-36.pyc24580644editdlrm
koi8_t.cpython-36.pyc23690644editdlrm
koi8_u.cpython-36.pyc24440644editdlrm
kz1048.cpython-36.pyc24210644editdlrm
latin_1.cpython-36.pyc18740644editdlrm
mac_arabic.cpython-36.pyc77150644editdlrm
mac_centeuro.cpython-36.pyc24450644editdlrm
mac_croatian.cpython-36.pyc24530644editdlrm
mac_cyrillic.cpython-36.pyc24430644editdlrm
mac_farsi.cpython-36.pyc23870644editdlrm
mac_greek.cpython-36.pyc24270644editdlrm
mac_iceland.cpython-36.pyc24460644editdlrm
mac_latin2.cpython-36.pyc25870644editdlrm
mac_roman.cpython-36.pyc24440644editdlrm
mac_romanian.cpython-36.pyc24540644editdlrm
mac_turkish.cpython-36.pyc24470644editdlrm
mbcs.cpython-36.pyc16730644editdlrm
oem.cpython-36.pyc14860644editdlrm
palmos.cpython-36.pyc24340644editdlrm
ptcp154.cpython-36.pyc25280644editdlrm
punycode.cpython-36.pyc64450644editdlrm
quopri_codec.cpython-36.pyc24210644editdlrm
raw_unicode_escape.cpython-36.pyc17470644editdlrm
rot_13.cpython-36.pyc29790644editdlrm
shift_jis.cpython-36.pyc14320644editdlrm
shift_jisx0213.cpython-36.pyc14420644editdlrm
shift_jis_2004.cpython-36.pyc14420644editdlrm
tis_620.cpython-36.pyc24960644editdlrm
undefined.cpython-36.pyc21410644editdlrm
unicode_escape.cpython-36.pyc19140644editdlrm
unicode_internal.cpython-36.pyc17370644editdlrm
utf_7.cpython-36.pyc15330644editdlrm
utf_8.cpython-36.pyc15920644editdlrm
utf_8_sig.cpython-36.pyc45090644editdlrm
utf_16.cpython-36.pyc48110644editdlrm
utf_16_be.cpython-36.pyc16120644editdlrm
utf_16_le.cpython-36.pyc16120644editdlrm
utf_32.cpython-36.pyc47040644editdlrm
utf_32_be.cpython-36.pyc15050644editdlrm
utf_32_le.cpython-36.pyc15050644editdlrm
uu_codec.cpython-36.pyc32050644editdlrm
zlib_codec.cpython-36.pyc31010644editdlrm
__init__.cpython-36.pyc39300644editdlrm
Edit: /snap/core18/2999/usr/lib/python3.6/encodings/__pycache__/punycode.cpython-36.pyc (6445B)
3 Nqi@sdZddlZddZddZddZd d Zd d Zd ZddZddZ ddZ ddZ ddZ ddZ ddZGdddejZGdddejZGd d!d!ejZGd"d#d#eejZGd$d%d%eejZd&d'ZdS)(uY Codec for the Punicode encoding, as specified in RFC 3492 Written by Martin v. Löwis. NcCsTt}t}x2|D]*}t|dkr2|jt|q|j|qWt|}t||fS)z 3.1 Basic code point segregation) bytearraysetordappendaddsortedbytes)strbaseextendedcr(/usr/lib/python3.6/encodings/punycode.py segregate s  rcCs*d}x |D]}t||kr |d7}q W|S)z@Return the length of str, considering only characters below max.r)r)r maxresr rrr selective_lens    rcCsRt|}xD|d7}||krdS||}||kr:|d|fS||kr |d7}q WdS)aReturn a pair (index, pos), indicating the next occurrence of char in str. index is the position of the character considering only ordinals up to and including char, and pos is the position in the full string. index/pos is the starting position in the full string.rNr)rr)len)r charindexposlr rrrselective_finds rc Csd}g}d}x~|D]v}d}}t|}t||} | d||} xBt||||\}}|dkr^P| ||7} |j| d|}d} qBW|}qW|S)z3.2 Insertion unsort codingrrrrrr)rrrr) r r ZoldcharresultZoldindexr rrrZcurlendeltarrrinsertion_unsort0s$   rcCs,d|d|}|dkrdS|dkr(dS|S)N$rr)jbiasrrrrTFs r#s$abcdefghijklmnopqrstuvwxyz0123456789cCsrt}d}xbt||}||kr4|jt|t|S|jt|||d|||d|}|d7}q WdS)z(3.3 Generalized variable-length integersrrrN)rr#rdigitsr )Nr"rr!trrrgenerate_generalized_integerNs r'cCs\|r|d}n|d}|||7}d}x|dkrB|d}|d7}q(W|d||d}|S)Niri#r&r)rfirstnumcharsZ divisionsr"rrradapt[s    r-cCsTt}d}x@t|D]4\}}t||}|j|t||dk||d}qWt|S)z3.4 Bias adaptationHrr)r enumerater'extendr-r )Zbaselendeltasrr"Zpointsrsrrrgenerate_integersjs  r3cCs8t|\}}t||}tt||}|r4|d|S|S)N-)rrr3r)textr r r1rrrpunycode_encodeus    r6c Csd}d}d}xyt||}Wn,tk rJ|dkr>td|ddfSX|d7}d|kofdknrv|d}nDd|kod knr|d }n"|dkrtd ||n|dfSt||} |||7}|| kr||fS|d | }|d7}qWdS) z(3.3 Generalized variable-length integersrrstrictzincomplete punicode stringNAZ09z Invalid extended code point '%s'r)r IndexError UnicodeErrorr#) r extposr"errorsrwr!rZdigitr&rrrdecode_generalized_numbers2     rBc Csd}d }d}d}x|t|krt||||\}}|dkr<|S||d7}||t|d7}|dkr|dkrxtd|td }|t|d}|d|t|||d}t||dkt|}|}qW|S) z3.2 Insertion unsort codingrrr.rNir7zInvalid character U+%x?r)rrBr>rchrr-) r r r@rrr"r?Znewposrrrrinsertion_sorts(    rEcCst|tr|jd}t|tr&t|}|jd}|dkrLd}t|dj}n.t|d|d|}t||dddj}t|||S)Nasciir4rr) isinstancer encode memoryviewr rfindupperrE)r5r@rr r rrrpunycode_decodes    rMc@s eZdZdddZdddZdS) Codecr7cCst|}|t|fS)N)r6r)selfinputr@rrrrrIsz Codec.encodecCs*|dkrtd|t||}|t|fS)Nr7replaceignorezUnsupported error handling )r7rQrR)r>rMr)rOrPr@rrrrdecodes  z Codec.decodeN)r7)r7)__name__ __module__ __qualname__rIrSrrrrrNs rNc@seZdZdddZdS)IncrementalEncoderFcCst|S)N)r6)rOrPfinalrrrrIszIncrementalEncoder.encodeN)F)rTrUrVrIrrrrrWsrWc@seZdZdddZdS)IncrementalDecoderFcCs$|jdkrtd|jt||jS)Nr7rQrRzUnsupported error handling )r7rQrR)r@r>rM)rOrPrXrrrrSs zIncrementalDecoder.decodeN)F)rTrUrVrSrrrrrYsrYc@s eZdZdS) StreamWriterN)rTrUrVrrrrrZsrZc@s eZdZdS) StreamReaderN)rTrUrVrrrrr[sr[c Cs tjdtjtjttttdS)NZpunycode)namerIrSincrementalencoderincrementaldecoder streamwriter streamreader) codecs CodecInforNrIrSrWrYrZr[rrrr getregentrysrc)__doc__rarrrrr#r$r'r-r3r6rBrErMrNrWrYrZr[rcrrrrs(