%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /usr/local/lib/python2.7/test/
Upload File :
Create Path :
Current File : //usr/local/lib/python2.7/test/test_zlib.pyc

ó
Nêáac@sûddlZddlmZddlmZmZmZmZm	Z	ddl
Z
ddlZddlZddlm
Z
mZmZddlZyddlZWnek
r¹eZnXedƒZejeejƒdƒdƒZejeejƒdƒdƒZd	ejfd
„ƒYZdejfd„ƒYZd
ejfd„ƒYZdefd„ƒYZ de ejfd„ƒYZ!de ejfd„ƒYZ"ded„Z#eed„Z$dZ%dfd„ƒYZ&d„Z'e(dkr÷e'ƒndS(iÿÿÿÿN(ttest_support(tTESTFNtrun_unittestt
import_moduletunlinktrequires(tprecisionbigmemtestt_1Gt_4Gtzlibtcopysrequires Compress.copy()srequires Decompress.copy()tChecksumTestCasecBsYeZd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Z	d„Z
RS(	cCsB|jtjdƒtjddƒƒ|jtjddƒƒdS(NtitabcIÿÿÿÿ(tassertEqualR	tcrc32t
assertTrue(tself((s*/usr/local/lib/python2.7/test/test_zlib.pyttest_crc32starts%cCsX|jtjddƒdƒ|jtjddƒdƒ|jtjddƒdƒdS(NRiii°(RR	R(R((s*/usr/local/lib/python2.7/test/test_zlib.pyttest_crc32emptyscCsB|jtjdƒtjddƒƒ|jtjddƒƒdS(NRiR
Iÿÿÿÿ(RR	tadler32R(R((s*/usr/local/lib/python2.7/test/test_zlib.pyttest_adler32start$s%cCsX|jtjddƒdƒ|jtjddƒdƒ|jtjddƒdƒdS(NRiii°(RR	R(R((s*/usr/local/lib/python2.7/test/test_zlib.pyttest_adler32empty(scCs|j|d@|d@ƒdS(Nlÿÿ(R(Rtseentexpected((s*/usr/local/lib/python2.7/test/test_zlib.pyt
assertEqual32-scCs¾|jtjddƒdƒ|jtjddƒdƒ|jtjddƒdƒ|jtjddƒdƒ|jtjdƒtjddƒƒ|jtjdƒtjddƒƒdS(Ntpenguinil !ƒKii”ª¶CiöÏi÷Ö(RR	RRR(R((s*/usr/local/lib/python2.7/test/test_zlib.pyt
test_penguins2s%cCsrd}|jtj|ƒdƒ|jtjdƒdƒ|jtj||ƒdƒ|jtjdƒdƒdS(s7test issue1202 compliance: signed crc32, adler32 in 2.xtabcdefghijklmnopi“À:”tspami=ÿÚCi
Õi²ON(RR	RR(Rtfoo((s*/usr/local/lib/python2.7/test/test_zlib.pyttest_abcdefghijklmnop;s
cCsNd}|jtj|ƒtj|ƒƒ|jtjdƒtjdƒƒdS(NRR(RtbinasciiRR	(RR((s*/usr/local/lib/python2.7/test/test_zlib.pyttest_same_as_binascii_crc32Ds"cCs||jtjddƒtjddƒƒ|jtjddƒtjddƒƒ|jtjdd
ƒtjddƒƒdS(NthamiÿÿÿÿlÿÿRi'Ðÿl' iiI€i€I€(RR	R(R((s*/usr/local/lib/python2.7/test/test_zlib.pyttest_negative_crc_iv_inputIs
((t__name__t
__module__RRRRRRRR!R#(((s*/usr/local/lib/python2.7/test/test_zlib.pyRs										tChecksumBigBufferTestCasecBs0eZededdddeƒd„ƒZRS(tsizeitmemuseitdry_runcCsLdtd}|jtj|ƒd@dƒ|jtj|ƒd@dƒdS(NtnyaniIÿÿÿÿiM"B>Ií჆(RRR	RR(RR'tdata((s*/usr/local/lib/python2.7/test/test_zlib.pyttest_big_bufferWs(R$R%RRtFalseR,(((s*/usr/local/lib/python2.7/test/test_zlib.pyR&UstExceptionTestCasecBs>eZd„Zd„Zd„Zd„Zejd„ƒZRS(cCs |jtjtjddƒdS(NtERRORi
(tassertRaisesR	terrortcompress(R((s*/usr/local/lib/python2.7/test/test_zlib.pyt
test_badlevel`scCsI|jttjdtjdƒ|jttjdtjtjdƒdS(Nii(R0t
ValueErrorR	tcompressobjtDEFLATEDt	MAX_WBITS(R((s*/usr/local/lib/python2.7/test/test_zlib.pyttest_badcompressobjfs	cCs|jttjdƒdS(Niÿÿÿÿ(R0R4R	t
decompressobj(R((s*/usr/local/lib/python2.7/test/test_zlib.pyttest_baddecompressobjmscCs<|jttjƒjdƒ|jttjƒjdƒdS(Niiÿÿÿÿ(R0R4R	R9tflush(R((s*/usr/local/lib/python2.7/test/test_zlib.pyttest_decompressobj_badflushqsc	Cs |jtdƒtjddtjdƒWdQX|jtdƒ"tjƒjdtjdƒWdQX|jtdƒtjƒjtjdƒWdQXdS(Ns
int too largeRii(tassertRaisesRegexpt
OverflowErrorR	t
decompresstsystmaxsizeR9R;(R((s*/usr/local/lib/python2.7/test/test_zlib.pyt
test_overflowvs #(	R$R%R3R8R:R<tsupporttcpython_onlyRB(((s*/usr/local/lib/python2.7/test/test_zlib.pyR.^s
				tBaseCompressTestCasecBseZd„Zd„ZRS(cCsŠd}dd|}djgtdƒD]&}tj|tjd|ƒƒ^q'ƒ}||t|ƒd}z||ƒWdd}XdS(	Nis%%0%dxiRi
iii(tjointrangeR ta2b_hextrandomtgetrandbitstlentNone(RR't
compress_funct_1MtfmttiR+((s*/usr/local/lib/python2.7/test/test_zlib.pytcheck_big_compress_buffers	9cCs}d|}ztj|dƒ}Wdd}X||ƒ}z9|jt|ƒ|ƒ|jt|jdƒƒdƒWdd}XdS(Ntxii(R	R2RLRRKtstrip(RR'tdecompress_funcR+t
compressed((s*/usr/local/lib/python2.7/test/test_zlib.pytcheck_big_decompress_buffers
#(R$R%RQRV(((s*/usr/local/lib/python2.7/test/test_zlib.pyRE€s	tCompressTestCasecBsËeZd„Zd„Zd„Zededddƒd„ƒZededddƒd	„ƒZede	dd
ƒd„ƒZ
d„Zej
ejdkdƒede	dddƒd„ƒƒZRS(cCs,tjtƒ}|jtj|ƒtƒdS(N(R	R2tHAMLET_SCENERR?(RRR((s*/usr/local/lib/python2.7/test/test_zlib.pyttest_speech¢scCs6td}tj|ƒ}|jtj|ƒ|ƒdS(Ni€(RXR	R2RR?(RR+RR((s*/usr/local/lib/python2.7/test/test_zlib.pyttest_speech128¦s
cCs3tjtƒ}|jtjdtj|d ƒdS(NsAError -5 while decompressing data: incomplete or truncated streamiÿÿÿÿ(R	R2RXR=R1R?(RRR((s*/usr/local/lib/python2.7/test/test_zlib.pyttest_incomplete_stream¬sR'iR(icCsd„}|j||ƒdS(NcSstj|dƒS(Ni(R	R2(ts((s*/usr/local/lib/python2.7/test/test_zlib.pyt<lambda>·R(RQ(RR'R2((s*/usr/local/lib/python2.7/test/test_zlib.pyttest_big_compress_bufferµs	icCs|j|tjƒdS(N(RVR	R?(RR'((s*/usr/local/lib/python2.7/test/test_zlib.pyttest_big_decompress_bufferºsicCs?td}tj|dƒ}|jtj|d|ƒ|ƒdS(Ni
ii(RXR	R2RR?(RR'R+RU((s*/usr/local/lib/python2.7/test/test_zlib.pyttest_large_bufsize¾s
cCsBtd}tj|dƒ}|jtj|dtƒƒ|ƒdS(Ni
ii(RXR	R2RR?t	CustomInt(RR+RU((s*/usr/local/lib/python2.7/test/test_zlib.pyttest_custom_bufsizeÅs
i srequires 64bit platformidicCsKd|}z/tj|dƒ}|jtj|ƒ|ƒWdd}}XdS(NRRi(R	R2RR?RL(RR'R+tcomp((s*/usr/local/lib/python2.7/test/test_zlib.pyttest_64bit_compressÊs

iiI(R$R%RYRZR[RRR^R_RR`Rbtunittestt
skipUnlessR@RARd(((s*/usr/local/lib/python2.7/test/test_zlib.pyRW s				""	tCompressObjectTestCasecBsVeZd„Zd„Zd„Zed/ddd„Zd„Zd/ddd„Z	ed„Z
d	„Zd
„Zd„Z
d„Zd
„Zd„Zejeedƒdƒd„ƒZd„Zd„Zd„Zededdƒd„ƒZd„Zed„ƒZed„ƒZd„Z e!d„ƒZ"e!d„ƒZ#d„Z$d „Z%ede&d0dd"ƒd#„ƒZ'ede&d1dd$ƒd%„ƒZ(eje)j*d2kd'ƒeded(dd)ƒd*„ƒƒZ+eje)j*d3kd'ƒeded(dd"ƒd+„ƒƒZ,eje)j*d4kd'ƒeded(dd,ƒd-„ƒƒZ-d.„Z.RS(5cCsŠtd}tjƒ}|j|ƒ}|jƒ}|jtj|jƒtjƒ}|j||ƒ}|jƒ}|j	|||ƒdS(Ni€(
RXR	R5R2R;R0R1R9R?R(RR+tcotx1tx2tdcoty1ty2((s*/usr/local/lib/python2.7/test/test_zlib.pyt	test_pair×s
cCs d}tj}d}d}tj}tj|||||ƒ}|jtƒ}|jƒ}tj|ƒ}	|	j||ƒ}
|	jƒ}|j	t|
|ƒdS(Niiôÿÿÿi	(
R	R6t
Z_FILTEREDR5R2RXR;R9R?R(RtleveltmethodtwbitstmemleveltstrategyRhRiRjRkRlRm((s*/usr/local/lib/python2.7/test/test_zlib.pyttest_compressoptionsãs		c	CsÊtd}tjƒ}g}xAtdt|ƒdƒD]'}|j|j|||d!ƒƒq5W|j|jƒƒdj|ƒ}tj	ƒ}|j
dj|ƒƒ}|jƒ}|j|||ƒdS(Ni€iiR(RXR	R5RGRKtappendR2R;RFR9R?R(	RR+RhtbufsRPtcombufRkRlRm((s*/usr/local/lib/python2.7/test/test_zlib.pyttest_compressincrementalòs
%ii@cCs¯|p	t}|d}tjƒ}g}xAtdt|ƒ|ƒD]'}|j|j||||!ƒƒqAW|j|jƒƒdj|ƒ}	|j	|tj
|	ƒƒtjƒ}
g}xdtdt|	ƒ|ƒD]J}|j|
j
|	|||!ƒƒ|j	d|
jdt|
jƒƒqÒW|r<|j|
jƒƒn3x0t
rn|
j
dƒ}|rj|j|ƒq?Pq?W|j	d|
jdt|
jƒƒ|j	|dj|ƒƒdS(Ni€iRs!(A) uct should be '': not %d longs!(B) uct should be '': not %d long(RXR	R5RGRKRvR2R;RFRR?R9tunconsumed_tailtTrue(RR;tsourcetcxtdcxR+RhRwRPRxRktchunk((s*/usr/local/lib/python2.7/test/test_zlib.pyttest_decompincs6
%!	cCs|jdtƒdS(NR;(R€R{(R((s*/usr/local/lib/python2.7/test/test_zlib.pyttest_decompincflush$scCsV|p	t}|d}tjƒ}g}xAtdt|ƒ|ƒD]'}|j|j||||!ƒƒqAW|j|jƒƒdj|ƒ}|j	|tj
|ƒdƒtjƒ}	g}|}
x^|
r"|	j
|
|ƒ}|jt|ƒ|kdt|ƒ|fƒ|j|ƒ|	j
}
qÅW|j|	jƒƒ|j	|dj|ƒdƒdS(Ni€iRscompressed data failureschunk too big (%d>%d)sWrong data retrieved(RXR	R5RGRKRvR2R;RFRR?R9tassertFalseRz(RR|R}R~R+RhRwRPRxRktcbR((s*/usr/local/lib/python2.7/test/test_zlib.pyttest_decompimax's*
%	

cCs¿td}tjƒ}g}xAtdt|ƒdƒD]'}|j|j|||d!ƒƒq5W|j|jƒƒdj|ƒ}|j	|tj
|ƒdƒtjƒ}g}|}xr|r*dt|ƒd}	|j
||	ƒ}
|jt|
ƒ|	kdt|
ƒ|	fƒ|j|
ƒ|j
}q¹W|rG|j|jƒƒnXxU|
rž|j
d|	ƒ}
|jt|
ƒ|	kdt|
ƒ|	fƒ|j|
ƒqJW|j	|dj|ƒd	ƒdS(
Ni€iiRscompressed data failureii
schunk too big (%d>%d)sWrong data retrieved(RXR	R5RGRKRvR2R;RFRR?R9R‚Rz(RR;R+RhRwRPRxRkRƒt
max_lengthR((s*/usr/local/lib/python2.7/test/test_zlib.pyttest_decompressmaxlenBs6
%	

	cCs|jdtƒdS(NR;(R†R{(R((s*/usr/local/lib/python2.7/test/test_zlib.pyttest_decompressmaxlenflushbscCs<tjƒ}|jt|jddƒ|jd|jƒdS(NRiÿÿÿÿ(R	R9R0R4R?RRz(RRk((s*/usr/local/lib/python2.7/test/test_zlib.pyttest_maxlenmiscescCsgtd}d}|jt|ƒ|ƒtj|dƒ}tjƒ}|j|j|tj	ƒ|ƒdS(Ni
iiii@(
RXt
assertGreaterRKR	R2R9RR?R@RA(RR+tDEFAULTALLOCRURk((s*/usr/local/lib/python2.7/test/test_zlib.pyttest_maxlen_largeks
cCsOtd}tj|dƒ}tjƒ}|j|j|tƒƒ|d ƒdS(Ni
iid(RXR	R2R9RR?Ra(RR+RURk((s*/usr/local/lib/python2.7/test/test_zlib.pyttest_maxlen_customus
cCsQd}tjƒ}|j|dƒ}||j|jƒ7}|j|jdƒdS(Ns
xœKLJMiR(R	R9R?RzR(RtcdataRktddata((s*/usr/local/lib/python2.7/test/test_zlib.pyttest_clear_unconsumed_tail{s
c	Csdddg}g|D]$}tt|ƒrtt|ƒ^q}td}x³|D]«}x¢tdƒD]”}tj|ƒ}|j|d ƒ}|j|ƒ}|j|dƒ}	|jƒ}
|jtj	dj
|||	|
gƒƒ|d||fƒ~qdWqQWdS(	Nt
Z_NO_FLUSHtZ_SYNC_FLUSHtZ_FULL_FLUSHii
i¸Rs*Decompress failed: flush mode=%i, level=%i(thasattrR	tgetattrRXRGR5R2R;RR?RF(Rtsync_opttoptR+tsyncRptobjtatbtctd((s*/usr/local/lib/python2.7/test/test_zlib.pyttest_flushes„s
$

'R‘srequires zlib.Z_SYNC_FLUSHc	Csåddl}tjtjƒ}tjƒ}y|jƒ}Wn;tk
rwy|jƒ}Wqxtk
rs|}qxXnX|jdƒt	ddd|ƒ}|j
|ƒ}|jtjƒ}|j
||ƒ}|j||dƒdS(Niÿÿÿÿiiit	generators17K random source doesn't matchiD(RIR	R5tZ_BEST_COMPRESSIONR9tWichmannHilltAttributeErrortRandomtseedtgenblockR2R;R‘R?R(	RRIRhRktgenR+tfirsttsecondtexpanded((s*/usr/local/lib/python2.7/test/test_zlib.pyttest_odd_flush˜s 


cCsKtjtjƒ}|j|jƒƒtjƒ}|j|jƒdƒdS(NR(R	R5RŸRR;R9R(RRhRk((s*/usr/local/lib/python2.7/test/test_zlib.pyttest_empty_flushºscCsd}|jtj|ƒdƒ|jtjtj|d ƒtjƒ}|j|d ƒ}||jƒ7}|j|dƒdS(NsxœKËÏ‚ERiûÿÿÿ(RR	R?R0R1R9R;(RRRRkty((s*/usr/local/lib/python2.7/test/test_zlib.pyt!test_decompress_incomplete_streamÄscCsgd}d}tj|ƒ}tjƒ}|j|dƒ~tj|ƒ}|j|jƒ|dƒdS(NtabcdefghijklmnopqrstuvwxyztQWERTYUIOPASDFGHJKLZXCVBNMi(R	R2R9R?RR;(Rtinput1tinput2R+Rk((s*/usr/local/lib/python2.7/test/test_zlib.pyttest_flush_with_freed_inputÑsR'R(icCsYtd}tj|dƒ}tjƒ}|j|dƒ|j|j|ƒ|dƒdS(Ni
i(RXR	R2R9R?RR;(RR'tinputR+Rk((s*/usr/local/lib/python2.7/test/test_zlib.pyttest_flush_large_lengthÝs

cCs\td}tj|dƒ}tjƒ}|j|dƒ|j|jtƒƒ|dƒdS(Ni
i(RXR	R2R9R?RR;Ra(RR²R+Rk((s*/usr/local/lib/python2.7/test/test_zlib.pyttest_flush_custom_lengthæs

c	Cst}tjƒ}tjtjƒ}g}|j|j|ƒƒ|jƒ}|}|j|j|ƒƒ|j|jƒƒdj	|ƒ}|j|j|ƒƒ|j|jƒƒdj	|ƒ}|j
tj|ƒ||ƒ|j
tj|ƒ||ƒdS(NR(RXtswapcaseR	R5RŸRvR2R
R;RFRR?(	Rtdata0tdata1tc0tbufs0tc1tbufs1ts0ts1((s*/usr/local/lib/python2.7/test/test_zlib.pyttest_compresscopyíscCs:tjƒ}|jtƒ|jƒ|jt|jƒdS(N(R	R5R2RXR;R0R4R
(RR›((s*/usr/local/lib/python2.7/test/test_zlib.pyttest_badcompresscopys

c

Csnd}d}tj|ƒ}||}xBdD]:}x1ddt|ƒt|ƒfD]}tjƒ}d}x°tdt|ƒ|ƒD]–}	|	t|ƒkr°|j|jdƒn|dkrð||j||	|	|!ƒ7}|j|jdƒq‚||j|j||	|	|!|ƒ7}q‚W||j	ƒ7}|j||ƒ|j|jdƒ|j|j|ƒqQWq,WdS(	NR­t
0123456789iièiiR(iiè(
R	R2RKR9RGRtunused_dataR?RzR;(
RR|t	remainderR«RRtmaxlentstepRkR+RP((s*/usr/local/lib/python2.7/test/test_zlib.pyttest_decompress_unused_datas(

%	#c	CsÊt}tj|ƒ}tjƒ}g}|j|j|d ƒƒ|jƒ}|}|j|j|dƒƒdj|ƒ}|j|j|dƒƒdj|ƒ}|j||ƒ|j||ƒdS(Ni R(	RXR	R2R9RvR?R
RFR(	RR+Rctd0R¹td1R»R¼R½((s*/usr/local/lib/python2.7/test/test_zlib.pyttest_decompresscopy%scCsItjtƒ}tjƒ}|j|ƒ|jƒ|jt|jƒdS(N(	R	R2RXR9R?R;R0R4R
(RR+Rœ((s*/usr/local/lib/python2.7/test/test_zlib.pyttest_baddecompresscopy;s


cCs]xVttjdƒD]A}|jttjfƒ!tjtjtj	ƒ|ƒWdQXqWdS(Ni(
RGtpickletHIGHEST_PROTOCOLR0t	TypeErrort
PicklingErrortdumpsR	R5RŸ(Rtproto((s*/usr/local/lib/python2.7/test/test_zlib.pyttest_compresspickleDscCsWxPttjdƒD];}|jttjfƒtjtjƒ|ƒWdQXqWdS(Ni(	RGRÊRËR0RÌRÍRÎR	R9(RRÏ((s*/usr/local/lib/python2.7/test/test_zlib.pyttest_decompresspickleIsiics2tjdƒ‰‡fd†}|j||ƒdS(Nicsˆj|ƒˆjƒS(N(R2R;(R\(R›(s*/usr/local/lib/python2.7/test/test_zlib.pyR]SR(R	R5RQ(RR'R2((R›s*/usr/local/lib/python2.7/test/test_zlib.pyR^Psics/tjƒ‰‡fd†}|j||ƒdS(Ncsˆj|ƒˆjƒS(N(R?R;(R\(Rœ(s*/usr/local/lib/python2.7/test/test_zlib.pyR]YR(R	R9RV(RR'R?((Rœs*/usr/local/lib/python2.7/test/test_zlib.pyR_Vsi srequires 64bit platformidicCsd|}tjdƒ}tjƒ}zF|j|ƒ|jƒ}|j|ƒ|jƒ}|j||ƒWdd}}}XdS(NRRi(R	R5R9R2R;R?RRL(RR'R+RhtdoRctuncomp((s*/usr/local/lib/python2.7/test/test_zlib.pyRd\s
cCs…d}d|}tj|ƒ|}tjƒ}z@|j|ƒ|jƒ}|j||jƒ|j||ƒWdd}}}XdS(NRRR(R	R2R9R?R;RRÁRL(RR'R+tunusedRcRÒRÓ((s*/usr/local/lib/python2.7/test/test_zlib.pyttest_large_unused_datais
icCsd|}tjƒ}zUtj|dƒ}|j|dƒ|jƒ}|j||ƒ|j|jdƒWdd}}}XdS(NRRiiR(R	R9R2R?R;RRzRL(RR'R+RÒRcRÓ((s*/usr/local/lib/python2.7/test/test_zlib.pyttest_large_unconsumed_tailws
cCs=tjdtjdƒ}|jtƒ|jƒ}|jtj|dƒtƒ|jtj|d
ƒtƒ|jtj	dƒtj|dƒWdQXtj
dƒ}|j|j|ƒtƒtj
dƒ}|jtj	dƒ|j|ƒWdQXtjdtjdƒ}|jtƒ|jƒ}|jtj|dƒtƒ|jtj|dƒtƒ|jtj|dƒtƒtj
d
ƒ}|j|j|ƒtƒtjdtjdƒ}|jtƒ|jƒ}|jtj|dƒtƒtj
dƒ}|j|j|ƒtƒtjdtjdƒ}|jtƒ|jƒ}|jtj|dƒtƒ|jtj|dƒtƒtj
dƒ}|j|j|ƒtƒtjdtjdƒ}|jtƒ|jƒ}|jtj|dƒtƒ|jtj|dƒtƒtj
dƒ}|j|j|ƒtƒdS(Niii sinvalid window sizeii	iñÿÿÿi÷ÿÿÿii/i/i)i)iii/i/(R	R5R6R2RXR;RR?R=R1R9(RRhtzlib15Rktzlib9t	deflate15tdeflate9tgzip((s*/usr/local/lib/python2.7/test/test_zlib.pyt
test_wbits„sFNiiIII(/R$R%RnRuRyR-RLR€RR„R†R‡RˆR‹RŒRRReRfR“R	R©RªR¬R±RRR³R´trequires_Compress_copyR¾R¿RÅtrequires_Decompress_copyRÈRÉRÐRÑRR^R_R@RARdRÕRÖRÜ(((s*/usr/local/lib/python2.7/test/test_zlib.pyRgÕsH			#	 			
				!	
	
							""%%
%ic	Cs¸|dk	r|j|ƒn|j}||ks=|dkrF|}ng}xXtd||ƒD]D}|jdjgt|ƒD]}t|ddƒƒ^q~ƒƒq_Wdj|ƒ| S(sDlength-byte stream of random data from a seed (in step-byte blocks).iiRiÿN(RLR£trandintRGRvRFtchr(R£tlengthRÄRžRßtblocksRPRR((s*/usr/local/lib/python2.7/test/test_zlib.pyR¤®s		3cCsQ|dk	r|j|ƒn|jdƒ}gt|ƒD]}|j|ƒ^q8S(s=Return a list of number lines randomly chosen from the sources
N(RLR£tsplitRGtchoice(R|tnumberR£Ržtsourcestn((s*/usr/local/lib/python2.7/test/test_zlib.pytchoose_lines½ss
LAERTES

       O, fear me not.
       I stay too long: but here my father comes.

       Enter POLONIUS

       A double blessing is a double grace,
       Occasion smiles upon a second leave.

LORD POLONIUS

       Yet here, Laertes! aboard, aboard, for shame!
       The wind sits in the shoulder of your sail,
       And you are stay'd for. There; my blessing with thee!
       And these few precepts in thy memory
       See thou character. Give thy thoughts no tongue,
       Nor any unproportioned thought his act.
       Be thou familiar, but by no means vulgar.
       Those friends thou hast, and their adoption tried,
       Grapple them to thy soul with hoops of steel;
       But do not dull thy palm with entertainment
       Of each new-hatch'd, unfledged comrade. Beware
       Of entrance to a quarrel, but being in,
       Bear't that the opposed may beware of thee.
       Give every man thy ear, but few thy voice;
       Take each man's censure, but reserve thy judgment.
       Costly thy habit as thy purse can buy,
       But not express'd in fancy; rich, not gaudy;
       For the apparel oft proclaims the man,
       And they in France of the best rank and station
       Are of a most select and generous chief in that.
       Neither a borrower nor a lender be;
       For loan oft loses both itself and friend,
       And borrowing dulls the edge of husbandry.
       This above all: to thine ownself be true,
       And it must follow, as the night the day,
       Thou canst not then be false to any man.
       Farewell: my blessing season this in thee!

LAERTES

       Most humbly do I take my leave, my lord.

LORD POLONIUS

       The time invites you; go; your servants tend.

LAERTES

       Farewell, Ophelia; and remember well
       What I have said to you.

OPHELIA

       'Tis in my memory lock'd,
       And you yourself shall keep the key of it.

LAERTES

       Farewell.
RacBseZd„ZRS(cCsdS(Nid((R((s*/usr/local/lib/python2.7/test/test_zlib.pyt__int__s(R$R%Ré(((s*/usr/local/lib/python2.7/test/test_zlib.pyRascCsttttttƒdS(N(RRR&R.RWRg(((s*/usr/local/lib/python2.7/test/test_zlib.pyt	test_mainst__main__()RettestRRCttest.test_supportRRRRRR RÊRIRRRR@tmmaptImportErrorRLR	RfR“R5RÝR9RÞtTestCaseRR&R.tobjectRERWRgR¤RèRXRaRêR$(((s*/usr/local/lib/python2.7/test/test_zlib.pyt<module>s@(

		<	" 5ÿÚG		

Zerion Mini Shell 1.0