config root man

Current Path : /compat/linux/proc/self/root/usr/local/lib/python2.5/test/

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 : //compat/linux/proc/self/root/usr/local/lib/python2.5/test/test_scope.pyo

³ò
h”Rc@sx	ddklZlZlZlZddkZeiddedƒdGHd„ZedƒZ	ed	ƒZ
ee	dƒd
ƒee
dƒdƒd
GHd„ZedƒZ	ed	ƒZ
ee	dƒd
ƒee
dƒdƒdGHd„ZedƒZ	edƒZ
ee	dƒd
ƒee
dƒdƒdGHd„Z
dZe
ƒZeedƒd
ƒd	ZeedƒdƒdGHd„ZedƒZ	ed	ƒZ
ee	dƒd
ƒee
dƒdƒdGHd„ZedƒZ	ed	ƒZ
ee	dƒdƒee
dƒdƒdGHd„Zed	ƒZeedƒdƒdGHd„Zd „Zedd
d!ƒZed
d"d#ƒZeeƒd$ƒd%GHd&„ZeƒZeeiƒd'ƒeeiƒd(ƒeeiƒd)ƒd'Zd*dwd+„ƒYZeƒZeeiƒd'ƒeeiƒd(ƒeeiƒd)ƒd,GHd-„Zeed#ƒd.ƒd/GHed0ƒed1ƒed2ƒed3ƒed4ƒed5ƒd6dUd7GHd8„ZedƒZ	ed	ƒZ
ee	dƒd
ƒee
dƒd9ƒd:„ZedƒZ	ed	ƒZ
ee	dƒd
ƒee
dƒd9ƒd;„ZdZedƒZ	ee	d
ƒd!ƒd<„Z e dd
d!ƒZed
d"d#ƒZeeƒd=ƒd>GHd?„Z!d@„Z"ye!ƒWne#j
onXe‚ye"ƒWne$j
onXe‚dZdA„ZyeƒWne#j
onXedB‚dCGHdD„Z%ee%dd
d!ƒƒdxƒdE„Z&ee&dFdƒƒdFdƒdG„Z'ee'dyƒdzƒd{ƒdLGHdMa(dN„ZeeƒdMƒet(dMƒdMa(dO„Zeeƒd
ƒet(dMƒdMa(dP„Zeeƒd
ƒet(d
ƒdMa(dQ„Zeeƒd
ƒet(d
ƒdRa(dSd|dT„ƒYZ)e)ƒZeei*ƒdUƒei+d9ƒeei*ƒdUƒdVGHdWd}dX„ƒYZ,dY„Zxe-dHƒD]
Z.eƒqÜWee,i/dƒdZGHd[„Zda(eed#ƒd
ƒdƒda(eed!ƒd
ƒdƒe0Z1d\d~d]„ƒYZ2ee2i3ƒd^GHd_„Zed
ƒd"ƒZ4ee4i5d`ƒƒe4d`=ee4hd
da<dMdb<d#dc<ƒddGHde„Zed!ƒƒZ6ee6i7e6i8ƒƒdfGHddk9Z9dg„Z:dh„Z;diddj„ƒYZ<e9i=e:ƒe;dke<d€ƒe9i=dƒye9i=ƒWne>j
onXedm‚dnGHdo„Zed!ƒZye?ei@ƒWne>j
onXdpGHyei@dUWne>j
onXdqGHdrGHy	eAGHWne$j
onXdsGHdt„a(t(ƒy	eAGHWne$j
onXduGHdv„Zed"ƒƒdS(iÿÿÿÿ(tverifyt
TestFailedtcheck_syntaxtvereqNtignores	import \*s<string>s1. simple nestingcs‡fd†}|S(Ncsˆ|S(N((ty(tx(s+/usr/local/lib/python2.5/test/test_scope.pytadder	s((RR((Rs+/usr/local/lib/python2.5/test/test_scope.pyt
make_addersii
iiþÿÿÿis2. extra nestingcs‡fd†}|ƒS(Ncs‡fd†}|S(Ncsˆ|S(N((R(R(s+/usr/local/lib/python2.5/test/test_scope.pyRs((R(R(s+/usr/local/lib/python2.5/test/test_scope.pytextras((RR	((Rs+/usr/local/lib/python2.5/test/test_scope.pytmake_adder2ss3. simple nesting + rebindingcs‡fd†}ˆd‰|S(Ncsˆ|S(N((R(R(s+/usr/local/lib/python2.5/test/test_scope.pyR%si((RR((Rs+/usr/local/lib/python2.5/test/test_scope.pytmake_adder3$s
ii	s"4. nesting with global but no freecCsd„}|ƒS(NcSsd„}|ƒS(NcSs
d„}|S(NcSst|S(N(tglobal_x(R((s+/usr/local/lib/python2.5/test/test_scope.pyR5s((R((s+/usr/local/lib/python2.5/test/test_scope.pytnest4s	((R
((s+/usr/local/lib/python2.5/test/test_scope.pyR
3s	((R
((s+/usr/local/lib/python2.5/test/test_scope.pytmake_adder42s	s5. nesting through classcs dd‡fd†ƒY}|ƒS(NtAddercseZ‡fd†ZRS(csˆ|S(N((tselfR(R(s+/usr/local/lib/python2.5/test/test_scope.pyt__call__Fs(t__name__t
__module__R((R(s+/usr/local/lib/python2.5/test/test_scope.pyREs(((RR((Rs+/usr/local/lib/python2.5/test/test_scope.pytmake_adder5Dss"6. nesting plus free ref to globalcCsd„}|a|S(NcSst|S(N(t
global_nest_x(R((s+/usr/local/lib/python2.5/test/test_scope.pyRTs(R(RR((s+/usr/local/lib/python2.5/test/test_scope.pytmake_adder6Rs	is7. nearest enclosing scopecCsd„}|dƒS(Ncsd‰‡fd†}|S(Ni*csˆ|S(N((tz(R(s+/usr/local/lib/python2.5/test/test_scope.pythds((RR((Rs+/usr/local/lib/python2.5/test/test_scope.pytgbsi((RR((s+/usr/local/lib/python2.5/test/test_scope.pytfas	ii/s8. mixed freevars and cellvarscCs|S(N((R((s+/usr/local/lib/python2.5/test/test_scope.pytidentitynscs‡‡fd†}|S(Ncs-|ˆ}‡‡‡fd†}|ˆ‰|S(NcstˆˆˆƒS(N(R((RRtb(s+/usr/local/lib/python2.5/test/test_scope.pyRts((taRtcR(RR(RRs+/usr/local/lib/python2.5/test/test_scope.pyRrs

((RRRR((RRs+/usr/local/lib/python2.5/test/test_scope.pyRqsiiii's9. free variable in methodcs&d‰dd‡fd†ƒY}|ƒS(NtvartTestcs2eZd„Z‡fd†Zd„Zd„ZRS(cSsdS(Ntmethod((R((s+/usr/local/lib/python2.5/test/test_scope.pytmethod_and_var…scsˆS(N((R(R"(s+/usr/local/lib/python2.5/test/test_scope.pyttest‡scSs
tdƒS(Ntglobal(tstr(R((s+/usr/local/lib/python2.5/test/test_scope.pyt
actual_global‰scSs
t|ƒS(N(R%(R((s+/usr/local/lib/python2.5/test/test_scope.pyR%‹s(RRR"R#R&R%((R"(s+/usr/local/lib/python2.5/test/test_scope.pyR „s		(((R ((R"s+/usr/local/lib/python2.5/test/test_scope.pyR#‚s	RR!R$R cBs,eZd„Zd„Zd„Zd„ZRS(cCsdS(NR!((R((s+/usr/local/lib/python2.5/test/test_scope.pyR"—scCstS(N(R"(R((s+/usr/local/lib/python2.5/test/test_scope.pyR#™scCs
tdƒS(NR$(R%(R((s+/usr/local/lib/python2.5/test/test_scope.pyR&›scCs
t|ƒS(N(R%(R((s+/usr/local/lib/python2.5/test/test_scope.pyR%s(RRR"R#R&R%(((s+/usr/local/lib/python2.5/test/test_scope.pyR •s			s
10. recursioncs7‡fd†‰|djoˆ|ƒSn
td‚dS(Ncs+|djodSn|ˆ|dƒSdS(Nii((tn(tfact(s+/usr/local/lib/python2.5/test/test_scope.pyR(¨s
isx must be >= 0(t
ValueError(R((R(s+/usr/local/lib/python2.5/test/test_scope.pyR§s
iÐs11. unoptimized namespacessŠdef unoptimized_clash1(strip):
    def f(s):
        from string import *
        return strip(s) # ambiguity: free or local
    return f
sƒdef unoptimized_clash2():
    from string import *
    def f(s):
        return strip(s) # ambiguity: global or local
    return f
sœdef unoptimized_clash2():
    from string import *
    def g():
        def f(s):
            return strip(s) # ambiguity: global or local
        return f
sOdef error(y):
    exec "a = 1"
    def f(x):
        return x + y
    return f
sCdef f(x):
    def g():
        return x
    del x # can't del name
s]def f():
    def g():
         from string import *
         return strip # global or local?
sç
def noproblem1():
    from string import *
    f = lambda x:x

def noproblem2():
    from string import *
    def f(x):
        return x + 1

def noproblem3():
    from string import *
    def f(x):
        global y
        y = x
s12. lambdascs
‡fd†S(csˆ|S(((R(R(s+/usr/local/lib/python2.5/test/test_scope.pyt<lambda>üs((R((Rs+/usr/local/lib/python2.5/test/test_scope.pyR*üsics‡fd†ƒS(cs
‡fd†S(csˆ|S(((R(R(s+/usr/local/lib/python2.5/test/test_scope.pyR*s(((R(s+/usr/local/lib/python2.5/test/test_scope.pyR*s((R((Rs+/usr/local/lib/python2.5/test/test_scope.pyR*scCsd„S(cSst|S((R(R((s+/usr/local/lib/python2.5/test/test_scope.pyR*s((R((s+/usr/local/lib/python2.5/test/test_scope.pyR*scs‡‡fd†S(cs‡‡‡fd†S(csˆˆˆS((((RRR(s+/usr/local/lib/python2.5/test/test_scope.pyR*
s((RRR(RR(Rs+/usr/local/lib/python2.5/test/test_scope.pyR*
s((RRR((RRs+/usr/local/lib/python2.5/test/test_scope.pyR*
sis13. UnboundLocalcsˆGH‡fd†}d‰dS(NcsˆS(N(((R(s+/usr/local/lib/python2.5/test/test_scope.pytinnersi((R+((Rs+/usr/local/lib/python2.5/test/test_scope.pyterrorInOuterscs ‡fd†}|ƒd‰dS(NcsˆS(N(((R(s+/usr/local/lib/python2.5/test/test_scope.pyR+si((R+((Rs+/usr/local/lib/python2.5/test/test_scope.pyterrorInInnerscCs|d7}dS(Ni((R((s+/usr/local/lib/python2.5/test/test_scope.pyR0ss*scope of global_x not correctly determineds14. complex definitionscs‡fd†}|S(NcsˆS(N(((tlst(s+/usr/local/lib/python2.5/test/test_scope.pytreturner<s((R.R/((R.s+/usr/local/lib/python2.5/test/test_scope.pytmakeReturner;scs‡fd†}|S(NcsˆS(N(((tkwargs(s+/usr/local/lib/python2.5/test/test_scope.pyR/Cs((R1R/((R1s+/usr/local/lib/python2.5/test/test_scope.pyt
makeReturner2BsRcs"|\‰‰‡‡fd†}|S(Ncs|\}}ˆ|ˆ|fS(N((t.0Rtd(RR(s+/usr/local/lib/python2.5/test/test_scope.pytaddPairJs	((R3RRR5((RRs+/usr/local/lib/python2.5/test/test_scope.pytmakeAddPairIs	idiÈieiÊs15. scope of global statementsicCsd}d„}|ƒS(NicSsd„}|ƒS(NcSsd„}|ƒS(NcSstS(N(R(((s+/usr/local/lib/python2.5/test/test_scope.pyRZs((R((s+/usr/local/lib/python2.5/test/test_scope.pytiYs	((R7((s+/usr/local/lib/python2.5/test/test_scope.pyRWs	((RR((s+/usr/local/lib/python2.5/test/test_scope.pyRUs	cCsd}d„}|ƒS(Nicsd‰‡fd†}|ƒS(Nics‡fd†}|ƒS(NcsˆS(N(((R(s+/usr/local/lib/python2.5/test/test_scope.pyRis((R(R(s+/usr/local/lib/python2.5/test/test_scope.pyR7hs((R7((Rs+/usr/local/lib/python2.5/test/test_scope.pyRfs((RR((s+/usr/local/lib/python2.5/test/test_scope.pyRds	cCsd}d„}|ƒS(NicSsdad„}|ƒS(NicSsd„}|ƒS(NcSstS(N(R(((s+/usr/local/lib/python2.5/test/test_scope.pyRys((R((s+/usr/local/lib/python2.5/test/test_scope.pyR7xs	(R(R7((s+/usr/local/lib/python2.5/test/test_scope.pyRus	((RR((s+/usr/local/lib/python2.5/test/test_scope.pyRss	cCsd}d„}|ƒS(NicSsdad„}|ƒS(NicSsd„}|ƒS(NcSstS(N(R(((s+/usr/local/lib/python2.5/test/test_scope.pyR‰s((R((s+/usr/local/lib/python2.5/test/test_scope.pyR7ˆs	(R(R7((s+/usr/local/lib/python2.5/test/test_scope.pyR…s	((RR((s+/usr/local/lib/python2.5/test/test_scope.pyRƒs	itGlobalcBs eZdad„Zd„ZRS(i
cCs
|}dS(N((RtvalR((s+/usr/local/lib/python2.5/test/test_scope.pytset˜scCstS(N(R(R((s+/usr/local/lib/python2.5/test/test_scope.pytgetšs(RRRR:R;(((s+/usr/local/lib/python2.5/test/test_scope.pyR8•s	i
s16. check leakstFoocBs eZdZd„Zd„ZRS(icCstid7_dS(Ni(R<tcount(R((s+/usr/local/lib/python2.5/test/test_scope.pyt__init__§scCstid8_dS(Ni(R<R=(R((s+/usr/local/lib/python2.5/test/test_scope.pyt__del__ªs(RRR=R>R?(((s+/usr/local/lib/python2.5/test/test_scope.pyR<¤s	cs#tƒ‰‡fd†}|ƒdS(NcsˆS(N(((R(s+/usr/local/lib/python2.5/test/test_scope.pytf2¯s(R<(R@((Rs+/usr/local/lib/python2.5/test/test_scope.pytf1­s	s17. class and globalcs dd‡fd†ƒY}|ƒS(NR<cseZ‡fd†ZRS(csˆ|S(N((RR(R(s+/usr/local/lib/python2.5/test/test_scope.pyR½s(RRR((R(s+/usr/local/lib/python2.5/test/test_scope.pyR<»s(((RR<((Rs+/usr/local/lib/python2.5/test/test_scope.pyR#ºstXcBseZeeƒd<eZRS(tlooked_up_by_load_name(RRtTruetlocalsRCtpassed(((s+/usr/local/lib/python2.5/test/test_scope.pyRBÇs
s18. verify that locals() workscs‡fd†}|S(Ncs*‡fd†}ˆˆ}ˆd7‰tƒS(Ncsˆ|S(N((R(R(s+/usr/local/lib/python2.5/test/test_scope.pyRÓsi(RE(RRtw(R(Rs+/usr/local/lib/python2.5/test/test_scope.pyRÒs

((RR((Rs+/usr/local/lib/python2.5/test/test_scope.pyRÑsRRRRGs"19. var is bound and free in classcsdd‡fd†ƒY}|S(NtCcseZ‡fd†ZˆZRS(csˆS(N((R(R(s+/usr/local/lib/python2.5/test/test_scope.pytmãs(RRRIR((R(s+/usr/local/lib/python2.5/test/test_scope.pyRHâs(((RRH((Rs+/usr/local/lib/python2.5/test/test_scope.pyRáss#20. interaction with trace functioncCstS(N(ttracer(RRR((s+/usr/local/lib/python2.5/test/test_scope.pyRJîscsR|\}‰|djo5ˆdjod|i|f‰n‡fd†SndS(Nits_%s__%scs
t|ˆƒS((tgetattr(tobj(tdes(s+/usr/local/lib/python2.5/test/test_scope.pyR*ös(R(tnametklasstgettertkind((RNs+/usr/local/lib/python2.5/test/test_scope.pytadaptgetterñs


t	TestClasscBseZRS((RR(((s+/usr/local/lib/python2.5/test/test_scope.pyRTøstfooRKs&sys.settrace() did not raise TypeErrors%20. eval and exec with free variablescs
‡fd†S(NcsˆdS(i(((R(s+/usr/local/lib/python2.5/test/test_scope.pyR*s((R((Rs+/usr/local/lib/python2.5/test/test_scope.pyRss;eval() should have failed, because code contained free varss9exec should have failed, because code contained free varss+21. list comprehension with local variablessbad should not be definedcCs6g}dD] }|iƒD]
}||qq~dS(Nsa b(tsplit(t_[1]tstbad((s+/usr/local/lib/python2.5/test/test_scope.pyR ss22. eval with free variablescs‡fd†}|S(NcsˆtdƒdS(Nsx + 1(teval((R(s+/usr/local/lib/python2.5/test/test_scope.pyR,s((RR((Rs+/usr/local/lib/python2.5/test/test_scope.pyR+s((iii(ii(idiÈ(ieiÊ(((((iRK(Bttest.test_supportRRRRtwarningstfilterwarningst
SyntaxWarningRtinctplus10R
RRRRRRRt	test_funcRRRR#ttR"R&R RAR@tf3tNonetf8R,R-tUnboundLocalErrort	NameErrorR0R2R6RR8R;R:R<trangeR7R=tFalseRCRBRFR4thas_keytinstRRItsysRJRSRTtsettracet	TypeErrorRZt	func_codeRY(((s+/usr/local/lib/python2.5/test/test_scope.pys<module>s¬"												
															

	

	
	
	
		
	
		(			

						

Man Man