KGRKJGETMRETU895U-589TY5MIGM5JGB5SDFESFREWTGR54TY
Server : Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8e-fips-rhel5 DAV/2 PHP/5.2.17
System : Linux localhost 2.6.18-419.el5 #1 SMP Fri Feb 24 22:47:42 UTC 2017 x86_64
User : nobody ( 99)
PHP Version : 5.2.17
Disable Function : NONE
Directory :  /proc/21572/root/usr/lib/python2.4/test/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //proc/21572/root/usr/lib/python2.4/test/test_funcattrs.pyo
mς
‚=5Dc@sφdklZlZlZdkZdfd„ƒYZd„Zeeiejƒeeidjƒyei	Wne
j
onXed‚eihjo
ed‚nde_	ei	djo
ed	‚nd
Zee_
ei
ejo
ed‚ndeeƒjo
ed
‚ny
e`Wnej
onXed‚de_	y
de_Wnej
onXed‚hdd<Zee_eiej	o
ed‚neidjo
ed‚neƒZeƒZyeii	Wne
j
onXed‚yeii	Wne
j
onXed‚ydei_	Wne
efj
onXed‚deii_	eii	djo
ed‚neii	djo
ed‚neii	djo
ed‚ndeeiƒjo
ed
‚nydei_	Wne
efj
onXed‚yeei_Wne
efj
onXed‚eeii_eiieiieiieiieiieiij	peiieiij	o
ed‚nyd<ei_Wne
efj
onXed‚hdd<dd<d d!<eii_eiidjo
ed"‚nd#klZehd$d%<d&d'<ƒZyeei_Wne
efj
onXe‚eiieiijoeiijo
djno
e‚ndkZeiedeƒe_eƒZeiƒeeƒjo
e‚nyeii Wne
j
onXe‚yd(ei_ Wne
efj
onXe‚yeii Wne
j
onXe‚yeii Wne
j
onXe‚yd(ei_ Wne
efj
onXe‚yeii Wne
j
onXe‚d)„Z!y
e!`Wnej
onXe‚y
e!`Wnej
onXe‚y
de!_Wnej
onXe‚y
e!`"Wne
j
onXe‚e!`#d*„Z d+„Z"d,„Z$e e"jo
e‚nhZdee <e$i%e _%ee e
efd-„Z&d.„Z'd/„Z(d0„Z)d1„Z*d2„Z+d3„Z,d4„Z-d5„Z.d6„Z/d7„Z0d8„Z1d9„Z2d:„Z3d;„Z4e4ƒdS(=(sverboses
TestFailedsverifyNtFcBstZd„ZRS(NcCsdS(N((tself((t)/usr/lib/python2.4/test/test_funcattrs.pytas(t__name__t
__module__R(((RRscCsdS(smy docstringN((((Rtbsstest.test_supportsexpected AttributeErrors*expected unassigned func.__dict__ to be {}is,function attribute not set to expected values
its docstrings&problem with setting __doc__ attributetpublishsattribute not in dir()s$del func.__dict__ expected TypeErrors'func.__dict__ = None expected TypeErrorthellotworlds-func.__dict__ assignment to dictionary faileds/attribute after func.__dict__ assignment faileds$expected AttributeError or TypeErrors2unbound method attribute not set to expected values*bound method attribute access did not workisattributes were not the sameiis$expected TypeError or AttributeErrortoneittwoitthreei!ssetting __dict__(sUserDicttfouri,tfivei7icCsdS(N((((Rtanother­scCsdS(N((((RtfooΘscCsdS(N((((RtbarΛscCs	dGHdS(Ni((((RttempΞscCsŽtt||ƒƒyt|||ƒWn|j
onXtd||f‚yt||ƒWnt	t
fj
onXtd|‚dS(Ns!shouldn't be able to set %s to %rsshouldn't be able to del %s(tverifythasattrtobjtnametsetattrtvaluet	exceptiont
TestFailedtdelattrtAttributeErrort	TypeError(RRRR((Rtcantsetέscsrd‰‡d†}|i}tt|tƒƒtt|ƒdjƒt|dii	djƒt
|d|ƒdS(Nics	ˆGHdS(N(R((R(Rtfξsiitcelltfunc_closure(RRR!tcRt
isinstancettupletlent	__class__RR(RR"R((RRttest_func_closureμs	cCsιd„}t|idjƒt|idjƒd|_t|idjƒt|idjƒ|`t|idjƒt|idjƒd|_t|idjƒt|idjƒ|`t|idjƒt|idjƒdS(NcCsdS(N((((RRφsRR	(RRt__doc__tNonetfunc_doc(R((Rt
test_func_docυs			cCs6d„}t|itƒjƒt|dtƒƒdS(NcCsdS(N((((RRstfunc_globals(RRR,tglobalsR(R((Rttest_func_globalss	cBsΘd„}e|idjƒe|idjƒd|_e|idjƒe|idjƒd|_e|idjƒe|idjƒe|ddƒe|ddƒd}|hd	h<UdS(
NcCsdS(N((((RRsRtgthR,iRsdef f(): pass
f.__name__t__builtins__(RRRt	func_nameRts(R3R((Rttest_func_names			c
sΦd‰‰d„}d„}‡d†}‡d†}‡‡d†}tt|i	ƒt
ijƒ|i	|_	t|ddƒt|d|i	dtƒt|d|i	dtƒt|d|i	dtƒ|i	|_	dS(	NicCsdS(N((((RRscCs	dGHdS(Ni((((RR/scs	ˆGHdS(N(R((R(Rtf1 scs	ˆGHdS(N(R((R(Rtg1!scs
ˆGˆGHdS(N(RR((RR(Rtf2"st	func_codeR(RRRR/R5R6R7RttypeR8ttypestCodeTypeRR)t
ValueError(RR5R7RR/R6R((RRRttest_func_codes
		cCs·d„}t|idjƒd|_t|idjƒt|dƒd	jƒddd„}t|id
jƒ|`t|idjƒy|ƒWntj
onXtd‚dS(NcCs
||fS(N(RR(RR((RR-siii
cCs
||fS(N(RR(RR((RR/2ss-shouldn't be allowed to call g() w/o defaults(ii(ii(i
i(ii(RRt
func_defaultsR)R/RR(R/R((Rttest_func_defaults,s		cCsd„}|i}|i}t|hjƒt||jƒd|_t|hdd<jƒt|i|jo
|ijnƒh|_tt|dƒƒhdd<|_t|idjƒt|i|ijohdd<jnƒt	|ddƒt	|ddƒdS(NcCsdS(N((((RR>sR	Rt	func_dictt__dict__(RRARR@RRRRR	RR)(RRR((Rttest_func_dict=s				'	0cCsodfd„ƒY}t|ii|jƒt|ƒii|jƒt|id|ƒt|ƒid|ƒdS(NtCcBstZd„ZRS(NcCsdS(N((R((RRPs(RRR(((RRCOstim_class(RCRRRDR(RC((Rt
test_im_classNs
cCsd„}dfd„ƒY}||_t|ii|jƒt|ƒii|jƒt|id|ƒt|ƒid|ƒdS(NcCsdS(N((R((RRWsRCcBstZRS(N(RR(((RRCXstim_func(RRCRRFR(RCR((Rttest_im_funcVs		cCsrdfd„ƒY}t|iidjƒ|ƒ}t|ii|jƒt|iddƒt|id|ƒdS(NRCcBstZd„ZRS(NcCsdS(N((R((RRbs(RRR(((RRCastim_self(RCRRRHR)R"R(RCR"((Rttest_im_self`s	cCsdfd„ƒY}t|iihdd<jƒt|ƒiihdd<jƒt|id|iiƒt|ƒid|iiƒdS(NRCcBstZd„Zde_RS(NcCsdS(N((R((RRksi*(RRRR(((RRCjs	Ri*RA(RCRRRAR(RC((Rttest_im_dictis
"cCsodfd„ƒY}t|iidjƒt|ƒiidjƒt|iddƒt|ƒiddƒdS(NRCcBstZd„ZRS(NcCsdS(RN((R((RRts(RRR(((RRCssRR((RCRRR(R(RC((Rttest_im_docrs
cCsodfd„ƒY}t|iidjƒt|ƒiidjƒt|iddƒt|ƒiddƒdS(NRCcBstZd„ZRS(NcCsdS(N((R((RR|s(RRR(((RRC{sRR(RCRRRR(RC((Rttest_im_namezs
cCs_tƒtƒtƒtƒtƒtƒtƒtƒtƒt	ƒt
ƒtƒtƒdS(N(
R'R+R.R4R=R?RBRERGRIRJRKRL(((Rttestmore‚s(iii(5ttest.test_supporttverboseRRR:RRRRRRRAt	docstringR(tdirRR)tdR@RR5R7RRFtmyclassRtUserDictR
tnewtinstancemethodtidteffRRRR>RR8RR'R+R.R4R=R?RBRERGRIRJRKRLRM( R5R7ROR+R=RRJRR4R'RERMRURRXRKRRTRPRLRRR:R.RRRRRRBR?RGRI((Rt?sh			
	
	


		
		

					



		



2
	*

<
		
	



			


										
							

Anon7 - 2021