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_compile.pyc

³ò
h”Rc@srddkZddkZddkZddklZdeifd„ƒYZd„ZedjoeƒndS(iÿÿÿÿN(ttest_supportt
TestSpecificscBsâeZd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Z	d„Z
d	„Zd
„Zd„Z
d„Zd
„Zeidjo
d„Znd„Zd„Zd„Zd„Zd„Zd„Zd„ZRS(cCsR|ittdddƒddk}|i}t|ddƒt|d|ƒdS(Ns
__debug__ = 1t?tsingleiÿÿÿÿt	__debug__tsure(tassertRaisestSyntaxErrortcompilet__builtin__Rtsetattr(tselfR	tprev((s-/usr/local/lib/python2.5/test/test_compile.pyttest_debug_assignments
	cBsÊ|ieedƒ|ieedƒ|ieedƒyddU|idƒWnej
onXyddU|idƒWnej
onXyddU|id	ƒWnej
onXdS(
Nslambda a,a:0slambda a,a=1:0slambda a=1,a=1:0sdef f(a, a): passsduplicate argumentssdef f(a = 0, a = 1): passsduplicate keyword argumentssdef f(a): global a; a = 1svariable is global and local(RRtevaltfail(R((s-/usr/local/lib/python2.5/test/test_compile.pyttest_argument_handlings$cCs|ittdddƒdS(Ns1+*3tfilenametexec(RRR(R((s-/usr/local/lib/python2.5/test/test_compile.pyttest_syntax_error%scCs|ittdddƒdS(Ns	f(None=1)s<string>R(RRR(R((s-/usr/local/lib/python2.5/test/test_compile.pyttest_none_keyword_arg(scBs3yddU|idƒWnej
onXdS(Nsdef f(a): global a; a = 1svariable is global and local(RR(R((s-/usr/local/lib/python2.5/test/test_compile.pyttest_duplicate_global_local+s
cBsŸddd„ƒY}|ƒ}eƒ}d||U|i|idƒyd||UWnej
onX|idƒd||U|i|ided	ƒfƒd
||U|i|id|fƒd||U|i|id|fƒyd|UWnej
onX|idƒd
dd„ƒY}|ƒ}yd||UWnej
onX|idƒdefd„ƒY}|ƒ}d||U|i|ddƒdS(NtMcBs)eZdZd„Zd„Zd„ZRS(s9Test mapping interface versus possible calls from eval().cSs|djodSnt‚dS(Ntai(tKeyError(Rtkey((s-/usr/local/lib/python2.5/test/test_compile.pyt__getitem__6s
cSs||f|_dS(N(tresults(RRtvalue((s-/usr/local/lib/python2.5/test/test_compile.pyt__setitem__:scSs
tdƒS(Ntxyz(tlist(R((s-/usr/local/lib/python2.5/test/test_compile.pytkeys<s(t__name__t
__module__t__doc__RRR (((s-/usr/local/lib/python2.5/test/test_compile.pyR4s		sz = atzisz = bsDid not detect a KeyErrors	z = dir()Rs
z = globals()sz = locals()s'Did not validate globals as a real dicttAcBseZdZRS(sNon-mapping(R!R"R#(((s-/usr/local/lib/python2.5/test/test_compile.pyR%Vss$Did not validate locals as a mappingtDcBseZd„ZRS(cSs%|djodSnti||ƒS(NRi(tdictR(RR((s-/usr/local/lib/python2.5/test/test_compile.pyRcs
(R!R"R(((s-/usr/local/lib/python2.5/test/test_compile.pyR&bs((R$i((tglobalstassertEqualRt	NameErrorRRt	TypeErrorR'(RRtmtgR%R&td((s-/usr/local/lib/python2.5/test/test_compile.pyt)test_exec_with_general_mapping_for_locals2s@		





	
	
cBsAddd}d|fd}|dU|iedƒdƒdS(Ns	x = x or s-xiÄ	sÞ
def f(x):
    %s
    %s
    %s
    %s
    %s
    %s
    %s
    %s
    %s
    %s
    # the expressions above have no effect, x == argument
    while x:
        x -= 1
        # EXTENDED_ARG/JUMP_ABSOLUTE here
    return x
i
ii(R)tf(Rtlongexprtcode((s-/usr/local/lib/python2.5/test/test_compile.pyttest_extended_argkscCsµd„}|i|d	ƒd
ƒdd„}|i|dƒd
ƒ|i|ƒdƒd„}|i|ddƒdƒddd„}|i|ddƒdƒ|i|ƒdƒdS(NcSs|\}}||fS(N((t.0Rtb((s-/usr/local/lib/python2.5/test/test_compile.pyt	comp_args„s	iiiicSs|\}}||fS(N((R4RR5((s-/usr/local/lib/python2.5/test/test_compile.pyR6ˆs	cSs|\}}|||fS(N((Rt.1R5tc((s-/usr/local/lib/python2.5/test/test_compile.pyR6s	cSs|\}}|||fS(N((RR7R5R8((s-/usr/local/lib/python2.5/test/test_compile.pyR6‘s	(ii(ii(ii(ii(ii(ii(ii(iii(ii(ii(iii(iii(R)(RR6((s-/usr/local/lib/python2.5/test/test_compile.pyttest_complex_args‚s		cBs3yddU|idƒWnej
onXdS(Nsdef f(a=1, (b, c)): passsnon-default args after default(RR(R((s-/usr/local/lib/python2.5/test/test_compile.pyttest_argument_order–s
cCsP|ittdƒ|ittdƒ|ittdƒ|ittdƒdS(Nt2es2.0e+s1e-s3-4e/21(RRR(R((s-/usr/local/lib/python2.5/test/test_compile.pyttest_float_literalsscCsd}t|ddƒdS(Ns
if 1:
    if 2:
        passs<string>R(R(Rts((s-/usr/local/lib/python2.5/test/test_compile.pyttest_indentation¤scCsYdidgddgƒ}t|ddƒ}|i|idƒ|i|idƒdS(Nts
itspamtfnRi(tjoinRR)tco_firstlinenot	co_lnotab(Rts256tco((s-/usr/local/lib/python2.5/test/test_compile.pyttest_leading_newlines°scCs¨x9ddddddddgD]}|itt|ƒqW|itd	ƒd
ƒ|itdƒd
ƒ|itdƒd
ƒ|itd
ƒdƒ|itdƒdƒ|itdƒdƒ|itdƒdƒ|itdƒdƒ|itdƒdƒ|itdƒdƒ|itdƒdƒ|itdƒdƒ|itdƒdƒ|itdƒdƒ|itdƒdƒ|itd ƒdƒ|itd!ƒdƒ|itd"ƒd#ƒ|itd$ƒd#ƒ|itd%ƒd#ƒ|itd&ƒd#ƒ|itd'ƒd(ƒ|itd)ƒd*ƒ|itd+ƒd,ƒ|itd-ƒd.ƒ|itd/ƒd0ƒ|itd1ƒd2ƒ|itd3ƒd4ƒdS(5Nt077787t0xjs0x.t0et090000000000000t080000000000000t000000000000009t000000000000008t0777iÿt0777Lt000777t0xffiÿt0xffLt0XfFs0777.i	s0777.0t8000000000000000000000000000000000000000000000000000777e0t0777e1iZt0e0is	0000E-012s09.5g#@t0777jyHˆ@t00jys00.0t0e3s090000000000000.gè°vÔBs&090000000000000.0000000000000000000000t090000000000000e0s090000000000000e-0t090000000000000jyè°vÔBt000000000000007is000000000000008.g @s000000000000009.g"@s020000000000.0g _ Bt037777777777e0gâHv—!Bs01000000000000000000000.0gPïâÖäKD(RRRR)(Rtarg((s-/usr/local/lib/python2.5/test/test_compile.pyt!test_literals_with_leading_zeroes¶sB
cCsõtidjo:d}|it|ƒdƒ|itd|ƒdƒnXtidjo:d}|it|ƒdƒ|itd|ƒd	ƒn|id
ƒ|ittdtidƒtƒƒ|ittdtid
ƒtƒƒdS(Niÿÿÿt
0xfffffffflÿÿt-lýÿÿÿÿÿIÿÿÿÿÿÿÿt0xfffffffffffffffflÿÿÿÿlûÿÿÿÿÿÿÿs)How many bits *does* this machine have???s%sii(	tsystmaxintR)RRt
assertTruet
isinstancetinttlong(Rtall_one_bits((s-/usr/local/lib/python2.5/test/test_compile.pyttest_unary_minusÙs
(Iÿÿÿÿÿÿÿc
Csyd
}d}d
}d}d
}d}d
}d}x>|iiiD]-}	|	dj	o|it|	tƒƒqDqDWdS(	NIIÿÿÿÿIIÿÿI@IÀIÿÿÿÿÿÿÿI€(ttest_32_63_bit_valuest	func_codet	co_conststNoneRfRgRh(
RRR5R8R.teR0R-thtvariable((s-/usr/local/lib/python2.5/test/test_compile.pyRlís
cCs7dpd\}}|i|dƒ|i|dƒdS(Niiÿÿÿÿ(iiÿÿÿÿ(iÿÿÿÿi(R)(Rtitj((s-/usr/local/lib/python2.5/test/test_compile.pyttest_sequence_unpacking_errorûscCsoddddddddg}xJ|D]B}|d	7}|itt|d
dƒ|itt|d
dƒq%WdS(
NsNone = 0s	None += 0s__builtins__.None = 0sdef None(): passsclass None: passs(a, None) = 0, 0sfor None in range(10): passsdef f(None): passs
ttmpRR(RRR(Rtstmtststmt((s-/usr/local/lib/python2.5/test/test_compile.pyttest_none_assignments	
cCsÇddddddddd	d
ddd
ddg}ddddddddddddddddd d!d"d#d$g}x|D]}t|d%d&ƒqWx'|D]}|itt|d%d&ƒq WdS('Ns
import syssimport os, syssimport os as barsimport os.path as bars0from __future__ import nested_scopes, generatorss2from __future__ import (nested_scopes,
generators)s3from __future__ import (nested_scopes,
generators,)s%from sys import stdin, stderr, stdouts'from sys import (stdin, stderr,
stdout)s(from sys import (stdin, stderr,
stdout,)s(from sys import (stdin
, stderr, stdout)s)from sys import (stdin
, stderr, stdout,)s7from sys import stdin as si, stdout as so, stderr as ses9from sys import (stdin as si, stdout as so, stderr as se)s:from sys import (stdin as si, stdout as so, stderr as se,)simport (os, sys)simport (os), (sys)simport ((os), (sys))simport (syssimport sys)simport (os,)simport os As barsimport os.path a barsfrom sys import stdin As stdoutsfrom sys import stdin a stdoutsfrom (sys) import stdins%from __future__ import (nested_scopess%from __future__ import nested_scopes)s0from __future__ import nested_scopes,
generatorssfrom sys import (stdinsfrom sys import stdin)s%from sys import stdin, stdout,
stderrsfrom sys import stdin sis)from sys import stdin,from sys import (*)s(from sys import (stdin,, stdout, stderr)s from sys import (stdin, stdout),RvR(RRR(RtsucceedRRx((s-/usr/local/lib/python2.5/test/test_compile.pyttest_importsT		cCs>d„}|ƒ\}}|it|iƒt|iƒƒdS(NcSs"dd„}dd„}||fS(NicSs|S(((tx((s-/usr/local/lib/python2.5/test/test_compile.pyt<lambda>CsicSs|S(((R|((s-/usr/local/lib/python2.5/test/test_compile.pyR}Ds((tf1tf2((s-/usr/local/lib/python2.5/test/test_compile.pyR0Bs(tassertNotEqualtidRm(RR0R~R((s-/usr/local/lib/python2.5/test/test_compile.pyttest_for_distinct_code_objects@s	cCs#d}|itt|ddƒdS(Nu# -*- coding: utf-8 -*-
pass
RvR(RRR(RR2((s-/usr/local/lib/python2.5/test/test_compile.pyttest_unicode_encodingIsc	Cszdtfd„ƒY}|ƒ}d|d<|i|ddƒ|dcd7<|i|ddƒ|d=|id|jtƒd|d<|i|ddƒ|d	cd7<|i|d
dƒ|d=|id|jtƒd|dd+|i|dd!dƒ|ddc!d7+|i|dd!dƒ|dd5|itddƒ|jtƒd|dd…dd…f<|i|dd…dd…fdƒ|dd…dd…fcd7<|i|dd…dd…fdƒ|dd…dd…f=|itddƒtddƒf|jtƒd|ddd…<|i|ddd…dƒ|ddd…cd7<|i|ddd…dƒ|ddd…=|itdddƒ|jtƒd|ddd…ddd…f<|i|ddd…ddd…fdƒ|ddd…ddd…fcd7<|i|ddd…ddd…fdƒ|ddd…ddd…f=|itdddƒtdddƒf|jtƒd|d<|i|ddƒ|dcd7<|i|ddƒ|d=|it|jtƒd|d
<|i|ddƒ|dcd7<|i|ddƒ|d=|ittf|jtƒdS(Ntstr_mapcBs5eZd„Zd„Zd„Zd„Zd„ZRS(cSs
h|_dS(N(tdata(R((s-/usr/local/lib/python2.5/test/test_compile.pyt__init__QscSs|it|ƒS(N(R…tstr(RR((s-/usr/local/lib/python2.5/test/test_compile.pyRSscSs||it|ƒ<dS(N(R…R‡(RRR((s-/usr/local/lib/python2.5/test/test_compile.pyRUscSs|it|ƒ=dS(N(R…R‡(RR((s-/usr/local/lib/python2.5/test/test_compile.pyt__delitem__WscSst|ƒ|ijS(N(R‡R…(RR((s-/usr/local/lib/python2.5/test/test_compile.pyt__contains__Ys(R!R"R†RRRˆR‰(((s-/usr/local/lib/python2.5/test/test_compile.pyR„Ps
				iii.(ii(ii(ii(ii(ii(ii(..(..(..(..(..(tobjectR)tFalsetslicetEllipsis(RR„R.((s-/usr/local/lib/python2.5/test/test_compile.pyttest_subscriptsMsd	



&"&."",(,4

cCstdddƒdS(Nsclass A:
    class B: passRvR(R(R((s-/usr/local/lib/python2.5/test/test_compile.pyttest_nested_classes•s(R!R"R
RRRRR/R3R9R:R<R>RGR`RkRdReRlRuRyR{R‚RƒRŽR(((s-/usr/local/lib/python2.5/test/test_compile.pyRs.						9							#	
			/				HcCstitƒdS(N(Rtrun_unittestR(((s-/usr/local/lib/python2.5/test/test_compile.pyt	test_main™st__main__(	tunittesttwarningsRdttestRtTestCaseRR‘R!(((s-/usr/local/lib/python2.5/test/test_compile.pys<module>sÿ”	


Man Man