config root man

Current Path : /usr/local/lib/python2.5/encodings/

FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64
Upload File :
Current File : //usr/local/lib/python2.5/encodings/punycode.pyo

³ò
h”Rc@sdZddkZd„Zd„Zd„Zd„Zd„ZdZd	„Zd
„Z	d„Z
d„Zd
„Zd„Z
d„Zdeifd„ƒYZdeifd„ƒYZdeifd„ƒYZdeeifd„ƒYZdeeifd„ƒYZd„ZdS(sX Codec for the Punicode encoding, as specified in RFC 3492

Written by Martin v. Löwis.
iÿÿÿÿNcCs}g}h}x<|D]4}t|ƒdjo|i|ƒqd||<qW|iƒ}|iƒdi|ƒidƒ|fS(s 3.1 Basic code point segregationi€ittascii(tordtappendtkeystsorttjointencode(tstrtbasetextendedtc((s./usr/local/lib/python2.5/encodings/punycode.pyt	segregates
cCs<d}x/|D]'}t|ƒ|jo|d7}q
q
W|S(s@Return the length of str, considering only characters below max.ii(R(RtmaxtresR((s./usr/local/lib/python2.5/encodings/punycode.pyt
selective_lenscCsyt|ƒ}xf|d7}||jodSn||}||jo|d|fSq||jo|d7}qqdS(sReturn 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.iiÿÿÿÿN(iÿÿÿÿiÿÿÿÿ(tlen(RtchartindextpostlR((s./usr/local/lib/python2.5/encodings/punycode.pytselective_find s




cCsÂd}g}d}x©|D]¡}d}}t|ƒ}t||ƒ}	|	d||}
x[t||||ƒ\}}|djoPn|
||7}
|i|
dƒ|}d}
qY|}qW|S(s3.2 Insertion unsort codingi€iÿÿÿÿii(RRRR(RR
toldchartresulttoldindexRRRRtcurlentdelta((s./usr/local/lib/python2.5/encodings/punycode.pytinsertion_unsort2s&

	
cCs@d|d|}|djodSn|djodSn|S(Ni$ii((tjtbiasR((s./usr/local/lib/python2.5/encodings/punycode.pytTHs

t$abcdefghijklmnopqrstuvwxyz0123456789cCsˆg}d}xut||ƒ}||jo|it|ƒ|Sn|it|||d|ƒ||d|}|d7}qdS(s(3.3 Generalized variable-length integersii$iN(RRtdigits(tNRRRtt((s./usr/local/lib/python2.5/encodings/punycode.pytgenerate_generalized_integerPs
!cCsv|o|d}n|d}|||7}d}x&|djo|d}|d7}q6W|d||d}|S(Ni¼iiiÇi#i$i&((Rtfirsttnumcharst	divisionsR((s./usr/local/lib/python2.5/encodings/punycode.pytadapt]s


cCsrg}d}xVt|ƒD]H\}}t||ƒ}|i|ƒt||dj||dƒ}qWdi|ƒS(s3.4 Bias adaptationiHiiR(t	enumerateR#textendR'R(tbaselentdeltasRRtpointsRts((s./usr/local/lib/python2.5/encodings/punycode.pytgenerate_integersls

$cCs`t|ƒ\}}|idƒ}t||ƒ}tt|ƒ|ƒ}|o|d|Sn|S(NRt-(RRRR.R(ttextR	R
R+((s./usr/local/lib/python2.5/encodings/punycode.pytpunycode_encodewsc
CsOd}d}d}x6yt||ƒ}Wn;tj
o/|djo
td‚n|ddfSnX|d7}d|jo
djno|d}n\d|jo
djno|d	}n0|djotd
||ƒ‚n|dfSt||ƒ}	|||7}||	jo||fSn|d|	}|d7}qdS(
s(3.3 Generalized variable-length integersiitstrictsincomplete punicode stringiAiZi0i9is Invalid extended code point '%s'i$N(Rt
IndexErrortUnicodeErrortNoneR(
R
textposRterrorsRtwRRtdigitR"((s./usr/local/lib/python2.5/encodings/punycode.pytdecode_generalized_number‚s2





c	Csd}d}d}d}xý|t|ƒjoét||||ƒ\}}|d
jo|Sn||d7}||t|ƒd7}|djo.|djotd|‚ntd	ƒ}n|t|ƒd}|| t|ƒ||}t||djt|ƒƒ}|}qW|S(s3.2 Insertion unsort codingi€iÿÿÿÿiHiiiÿÿR2sInvalid character U+%xt?N(RR:R5R4RtunichrR'(	R	R
R7RRRR6tnewposR((s./usr/local/lib/python2.5/encodings/punycode.pytinsertion_sort s*	


cCsr|idƒ}|djod}|}n|| }||d}t|d|ƒ}|iƒ}t|||ƒS(NR/iÿÿÿÿRiR(trfindtunicodetupperR>(R0R7RR	R
((s./usr/local/lib/python2.5/encodings/punycode.pytpunycode_decode¹s


tCodeccBs eZdd„Zdd„ZRS(R2cCst|ƒ}|t|ƒfS(N(R1R(tselftinputR7R((s./usr/local/lib/python2.5/encodings/punycode.pyRÉscCs=|djotd|‚nt||ƒ}|t|ƒfS(NR2treplacetignoresUnsupported error handling (sstrictsreplacesignore(R4RBR(RDRER7R((s./usr/local/lib/python2.5/encodings/punycode.pytdecodeÍs
(t__name__t
__module__RRH(((s./usr/local/lib/python2.5/encodings/punycode.pyRCÇstIncrementalEncodercBseZed„ZRS(cCs
t|ƒS(N(R1(RDREtfinal((s./usr/local/lib/python2.5/encodings/punycode.pyRÔs(RIRJtFalseR(((s./usr/local/lib/python2.5/encodings/punycode.pyRKÓstIncrementalDecodercBseZed„ZRS(cCs4|idjotd|i‚nt||iƒS(NR2RFRGsUnsupported error handling (sstrictsreplacesignore(R7R4RB(RDRERL((s./usr/local/lib/python2.5/encodings/punycode.pyRHØs(RIRJRMRH(((s./usr/local/lib/python2.5/encodings/punycode.pyRN×stStreamWritercBseZRS((RIRJ(((s./usr/local/lib/python2.5/encodings/punycode.pyROÝstStreamReadercBseZRS((RIRJ(((s./usr/local/lib/python2.5/encodings/punycode.pyRPàscCs@tidddtƒidtƒidtdtdtdtƒS(	NtnametpunycodeRRHtincrementalencodertincrementaldecodertstreamwritertstreamreader(	tcodecst	CodecInfoRCRRHRKRNRORP(((s./usr/local/lib/python2.5/encodings/punycode.pytgetregentryås	(t__doc__RWRRRRRR R#R'R.R1R:R>RBRCRKRNRORPRY(((s./usr/local/lib/python2.5/encodings/punycode.pys<module>s(	
					
						

Man Man