ACC SHELL

Path : /usr/lib/python/encodings/
File Upload :
Current File : //usr/lib/python/encodings/idna.pyc

Ñò
rÄMc@sddkZddkZddkZddklZeidƒZdZeedƒZ	d„Z
d„Zd„Zd	ei
fd
„ƒYZ
deifd„ƒYZd
eifd„ƒYZde
eifd„ƒYZde
eifd„ƒYZd„ZdS(iÿÿÿÿN(t	ucd_3_2_0u[.。.。]sxn--tasciicCs—g}x;|D]3}ti|ƒoq
n|iti|ƒƒq
Wdi|ƒ}tid|ƒ}x²|D]ª}ti|ƒp€ti|ƒppti	|ƒp`ti
|ƒpPti|ƒp@ti|ƒp0ti
|ƒp ti|ƒpti|ƒotd|ƒ‚qlqlWtti|ƒ}xd|D]\}|oOtti|ƒotdƒ‚n|dp|dotdƒ‚qq3q3W|S(NutNFKCsInvalid character %rsViolation of BIDI requirement 2iiÿÿÿÿsViolation of BIDI requirement 3(t
stringpreptin_table_b1tappendtmap_table_b2tjointunicodedatat	normalizetin_table_c12tin_table_c22tin_table_c3tin_table_c4tin_table_c5tin_table_c6tin_table_c7tin_table_c8tin_table_c9tUnicodeErrortmaptin_table_d1tfiltertin_table_d2(tlabeltnewlabeltctRandAL((s$/usr/lib/python2.6/encodings/idna.pytnamepreps:c	Cs:y|idƒ}Wntj
on7Xdt|ƒjo
djno|Stdƒ‚t|ƒ}y|idƒ}Wntj
on7Xdt|ƒjo
djno|Stdƒ‚|itƒotdƒ‚n|idƒ}t|}dt|ƒjo
djno|Stdƒ‚dS(NRii@slabel empty or too longsLabel starts with ACE prefixtpunycode(tencodeRtlenRt
startswithtuace_prefixt
ace_prefix(R((s$/usr/lib/python2.6/encodings/idna.pytToASCII>s,$$
$cCst|tƒo
t}n6y|idƒ}t}Wntj
o
t}nX|pEt|ƒ}y|idƒ}Wq›tj
otdƒ‚q›Xn|itƒpt	|dƒS|t
tƒ}|idƒ}t|ƒ}|i
ƒ|jotd||ƒ‚n|S(NRsInvalid character in IDN labelRsIDNA does not round-trip(t
isinstancetstrtTrueRRtFalseRR R"tunicodeRtdecodeR#tlower(Rt
pure_asciitlabel1tresulttlabel2((s$/usr/lib/python2.6/encodings/idna.pyt	ToUnicodeis*

tCodeccBs eZdd„Zdd„ZRS(tstrictcCs¸|djotd|ƒ‚n|pdSg}ti|ƒ}|o(t|dƒdjod}|d=nd}x!|D]}|it|ƒƒq~Wdi|ƒ|t|ƒfS(NR1sunsupported error handling tiiÿÿÿÿt.(R2i(RtdotstsplitRRR#R(tselftinputterrorsR-tlabelsttrailing_dotR((s$/usr/lib/python2.6/encodings/idna.pyR“s
cCsô|djotd|ƒ‚n|pd	St|tƒoti|ƒ}n)t|ƒ}t|dƒ|idƒ}|o(t|dƒdjod}|d=nd}g}x!|D]}|it|ƒƒqºWdi	|ƒ|t|ƒfS(
NR1sUnsupported error handling uiRR3iÿÿÿÿu.(ui(
RR$R(R4R5R%RRR/R(R6R7R8R9R:R-R((s$/usr/lib/python2.6/encodings/idna.pyR)¨s$

(t__name__t
__module__RR)(((s$/usr/lib/python2.6/encodings/idna.pyR0’stIncrementalEncodercBseZd„ZRS(c	Cs|djotd|ƒ‚n|pd	Sti|ƒ}d}|oC|dpd}|d=qŒ|p|d=|o
d}qˆqŒng}d}xF|D]>}|it|ƒƒ|o|d7}n|t|ƒ7}qŸWdi|ƒ|}|t|ƒ7}||fS(
NR1sunsupported error handling R2iuiÿÿÿÿR3i(R2i(RR4R5RR#RR(	R6R7R8tfinalR9R:R-tsizeR((s$/usr/lib/python2.6/encodings/idna.pyt_buffer_encodeÆs2
(R;R<R@(((s$/usr/lib/python2.6/encodings/idna.pyR=ÅstIncrementalDecodercBseZd„ZRS(c	CsJ|djotd|ƒ‚n|pd
St|tƒoti|ƒ}n)t|ƒ}t|dƒ|idƒ}d}|oC|dpd}|d=qÈ|p|d=|o
d}qÄqÈng}d}xF|D]>}|it|ƒƒ|o|d	7}n|t|ƒ7}qÛWdi	|ƒ|}|t|ƒ7}||fS(NR1sUnsupported error handling uiRR3iÿÿÿÿu.i(ui(
RR$R(R4R5R%RR/RR(	R6R7R8R>R9R:R-R?R((s$/usr/lib/python2.6/encodings/idna.pyt_buffer_decodeès:

(R;R<RB(((s$/usr/lib/python2.6/encodings/idna.pyRAçstStreamWritercBseZRS((R;R<(((s$/usr/lib/python2.6/encodings/idna.pyRCstStreamReadercBseZRS((R;R<(((s$/usr/lib/python2.6/encodings/idna.pyRDscCs@tidddtƒidtƒidtdtdtdtƒS(	NtnametidnaRR)tincrementalencodertincrementaldecodertstreamwritertstreamreader(	tcodecst	CodecInfoR0RR)R=RARCRD(((s$/usr/lib/python2.6/encodings/idna.pytgetregentrys	(RtreRKRRtcompileR4R"R(R!RR#R/R0tBufferedIncrementalEncoderR=tBufferedIncrementalDecoderRARCRDRM(((s$/usr/lib/python2.6/encodings/idna.pyt<module>s$	0	+	)3"(

ACC SHELL 2018