config root man

Current Path : /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 : //usr/local/lib/python2.5/test/test_descr.pyc

³ò
h”Rc
@sddklZlZlZlZlZlZddklZddk	Z	ddk
Z
e	iddede
ƒd„Zdd	d
„Zddd
„Zddd„Zddd„Zddd„Zddd„Zd„Zd„Zd„Zd„Zd„Zhdd <d!d"<d#d$<d%d&<d'd(<d)d)<d*d+<d,d-<d.d/<d0d1<d2d3<d4d5<d6d6<d7d8<d9d:<d;d<<d=d><d?d@<dAdB<ZxIeiƒD];\ZZeiƒoedCZndDeZeee<qŸWhddE<d!dF<dGdG<dHdI<dJdJ<dKdK<dLdL<dMdM<dNdN<ZxIeiƒD];\ZZeiƒoedOZndPeZeee<qaWgdQ„Z dR„Z!dS„Z"dT„Z#dU„Z$dV„Z%dW„Z&dX„Z'dY„Z(dZ„Z)d[„Z*d\„Z+d]„Z,d^„Z-d_„Z.d`„Z/da„Z0dbZ1dc„Z2dd„Z3de„Z4df„Z5dg„Z6dh„Z7di„Z8dj„Z9dk„Z:dl„Z;dm„Z<dn„Z=do„Z>dp„Z?dq„Z@dr„ZAds„ZBdt„ZCdu„ZDdv„ZEdw„ZFdx„ZGdy„ZHdz„ZId{„ZJd|„ZKd}„ZLd~„ZMd„ZNd€„ZOd„ZPd‚„ZQdƒ„ZRd„„ZSd…„ZTd†„ZUd‡„ZVdˆ„ZWd‰„ZXdŠ„ZYd‹„ZZdŒ„Z[d„Z\dŽ„Z]d„Z^d„Z_d‘„Z`d’„Zad“„Zbd”„Zcd•„Zdd–„Zed—„Zfd˜„Zgd™„Zhdš„Zid›„Zjdœ„Zkd„Zldž„ZmdŸ„Znd „Zod¡„Zpd¢„Zqd£„Zrd€„Zsd¥„ZtdŠ„Zud§„Zvdš„Zwd©„Zxdª„Zyd«„Zzd¬„Z{d­„Z|d®„Z}d¯„Z~d°„Ze
d±joeƒndS(²iÿÿÿÿ(tverifytvereqtverboset
TestFailedtTESTFNtget_original_stdout(tdeepcopyNtignores,complex divmod\(\), // and % are deprecated$s(<string>|%s)$cCs(||j	otd||f‚ndS(Ns%r is %r(R(tatb((s+/usr/local/lib/python2.5/test/test_descr.pytveriss
slen(a)t__len__cCsÃto
dG|GHnh|d<}tt||ƒ|ƒt|ƒ}t||ƒ}x"||ijo|id}qWWt||i|ƒt||ƒ|ƒt||ƒ}t|ƒ|ƒdS(NtcheckingRi(RRtevalttypetgetattrt__dict__t	__bases__(Rtrestexprtmethtdicttttmtbm((s+/usr/local/lib/python2.5/test/test_descr.pyttestunops
sa+bt__add__c	Csúto
dG|GHnh|d<|d<}|djodddjo
d}ntt||ƒ|ƒt|ƒ}t||ƒ}x"||ijo|id	}qˆWt||i|ƒt|||ƒ|ƒt||ƒ}t||ƒ|ƒdS(
NRRR	t__div__iigà?t__truediv__i(RRR
RRRR(	RR	RRRRRRR((s+/usr/local/lib/python2.5/test/test_descr.pyt	testbinops

sa[b:c]t__getslice__c
Csáto
dG|GHnh|d<|d<|d<}tt||ƒ|ƒt|ƒ}t||ƒ}x"||ijo|id}qiWt||i|ƒt||||ƒ|ƒt||ƒ}	t|	||ƒ|ƒdS(NRRR	tci(RRR
RRRR(
RR	RRRRRRRR((s+/usr/local/lib/python2.5/test/test_descr.pyt
testternop/s
!sa+=bt__iadd__c	Bseo
dG|GHnhe|ƒd<|d<}||Ue|d|ƒe|ƒ}e||ƒ}x"||ijo|id}qiWe||i|ƒe|ƒ|d<||d|ƒe|d|ƒe|ƒ|d<e|d|ƒ}||ƒe|d|ƒdS(NRRR	i(RRRRRRR(	RR	RtstmtRRRRR((s+/usr/local/lib/python2.5/test/test_descr.pyt	testsetop<s$

sa[b]=ct__setitem__c
Bs"eo
dG|GHnhe|ƒd<|d<|d<}||Ue|d|ƒe|ƒ}e||ƒ}x"||ijo|id}qrWe||i|ƒe|ƒ|d<||d||ƒe|d|ƒe|ƒ|d<e|d|ƒ}	|	||ƒe|d|ƒdS(NRRR	Ri(RRRRRRR(
RR	RRR"RRRRR((s+/usr/local/lib/python2.5/test/test_descr.pyt
testset2opNs$
'
sa[b:c]=dt__setslice__cBs1eo
dG|GHnhe|ƒd<|d<|d<|d<}||Ue|d|ƒe|ƒ}x"||ijo|id}qlWe||ƒ}	e|	|i|ƒe|ƒ|d<|	|d|||ƒe|d|ƒe|ƒ|d<e|d|ƒ}
|
|||ƒe|d|ƒdS(NRRR	Rtdi(RRRRRRR(RR	RR'RR"RRRRR((s+/usr/local/lib/python2.5/test/test_descr.pyt
testset3op`s$
0cCs'ddd„ƒY}t|idƒt|iddƒddd„ƒY}t|idjƒdtfd„ƒY}t|id	ƒt|idd	ƒd
tfd„ƒY}t|idjƒdtfd
„ƒY}t|id	ƒt|idd	ƒdtfd„ƒY}t|idjƒdS(NtClassiccBseZdZRS(sA classic docstring.(t__name__t
__module__t__doc__(((s+/usr/local/lib/python2.5/test/test_descr.pyR)sssA classic docstring.R,tClassic2cBseZRS((R*R+(((s+/usr/local/lib/python2.5/test/test_descr.pyR-xst	NewStaticcBseZdZRS(sAnother docstring.(R*R+R,(((s+/usr/local/lib/python2.5/test/test_descr.pyR.|ssAnother docstring.t
NewStatic2cBseZRS((R*R+(((s+/usr/local/lib/python2.5/test/test_descr.pyR/st
NewDynamiccBseZdZRS(sAnother docstring.(R*R+R,(((s+/usr/local/lib/python2.5/test/test_descr.pyR0…stNewDynamic2cBseZRS((R*R+(((s+/usr/local/lib/python2.5/test/test_descr.pyR1Šs(((RR,RRtNonetobject(R)R-R.R/R0R1((s+/usr/local/lib/python2.5/test/test_descr.pytclass_docstringsrsc	Csâto	dGHntdgdgddgddƒtdddgddddƒtdddgd	d
ddƒtdddgddddƒtdddgd
dddgd
dƒtdgdgddgddƒtddgdddddddgddƒtdddgdddƒtddgdddddddgddƒtddgdddddddgddƒtddgddddgddƒtdddd	gddddgdddd	gddƒdS(NsTesting list operations...iisa+bRisb in at__contains__iisa[b]t__getitem__sa[b:c]Rsa+=bR!sa*=bt__imul__slen(a)Rsa*bt__mul__sb*at__rmul__sa[b]=cR$iisa[b:c]=dR&(RRR R#RR%R((((s+/usr/local/lib/python2.5/test/test_descr.pytlistsŽs	"("...%cCsGto	dGHnthdd<hdd<dddƒthdd<dd<ddd	d
ƒthdd<dd<ddd	d
ƒthdd<dd<dddd
ƒhdd<dd<}g}x!|iƒD]}|i|ƒqÛWg}x!t|ƒD]}|i|ƒqWt||ƒg}x!|iƒD]}|i|ƒq<Wt||ƒg}x$ti|ƒD]}|i|ƒqvWt||ƒhdd<dd<}t|dddƒtt	t
|ƒhƒ|ƒtt	|iƒhƒ|ƒthdd<dd<ddhdd<dd<dd<ddƒdS(NsTesting dict operations...iiiÿÿÿÿscmp(a,b)t__cmp__iisb in aR5isa[b]R6slen(a)Rsa[b]=cR$(
RRtkeystappendtiterRt__iter__RRR
treprt__repr__R%(R'tl1titl((s+/usr/local/lib/python2.5/test/test_descr.pytdictss>	((((





cCsÍto	dGHntƒ}t|hƒthƒ}t|hƒthdd<dd<ƒ}t|hdd<dd<ƒt|t|iƒƒƒt|t|iƒƒƒthdd<dd<ƒ}t|tddddƒƒt|t|ƒt|thdd<ddƒƒt|td"gddƒƒt|td#d$g|ƒt|t|j	ƒxŠd
ddd
d
gd%fD]m}yt|ƒWnFtj
oq‡tj
o(|d
joqôtd|ƒ‚q‡Xtd|ƒ‚q‡WythhƒWntj
onXtdƒ‚dd&d„ƒY}yt|ƒƒWntj
onXtdƒ‚d„|_	d„|_
t|ƒƒ}t||iƒdd'd„ƒY}t|ddƒ|ddƒ|ddƒ|ddƒgƒ}t|hdd<dd<ƒtttdƒtddƒƒƒ}t|tg}tdƒD]}|||dfqT~ƒƒxNd(gd)gfD]:}yt|ƒWntj
oq‹Xtd!|ƒ‚q‹WdS(*NsTesting dict constructor ...iiR	RtonettwoidiÈilyt0sno TypeError from dict(%r)sno TypeError from dict({}, {})tMappingcBs)eZhdd<dd<dd<ZRS(iiiiyð?R(R*R+R(((s+/usr/local/lib/python2.5/test/test_descr.pyRIÞss*no TypeError from dict(incomplete mapping)cSs
|iiƒS((RR<(tself((s+/usr/local/lib/python2.5/test/test_descr.pyt<lambda>éscSs|i|S((R(RJRC((s+/usr/local/lib/python2.5/test/test_descr.pyRKêstAddressBookEntrycBseZd„Zd„ZRS(cSs||_||_dS(N(tfirsttlast(RJRMRN((s+/usr/local/lib/python2.5/test/test_descr.pyt__init__ðs	cSst|i|igƒS(N(R>RMRN(RJ((s+/usr/local/lib/python2.5/test/test_descr.pyR?ós(R*R+ROR?(((s+/usr/local/lib/python2.5/test/test_descr.pyRLïs	tTimtWarsawtBarrytPetersiittooshortttootlongsby 1sno ValueError from dict(%r)(stwoi(soneid(stwoiÈ(i(((RT(RUslongsby 1(
RRRtitemst	iteritemsRt	TypeErrort
ValueErrorRR<R6tziptrange(R'tbadargRIRLt_[1]RCtbad((s+/usr/local/lib/python2.5/test/test_descr.pytdict_constructorµst		

"
$>c
sÛto	dGHnd}ttƒdgƒ~xEdddddgdd	d0hdd<ttfD]}t|ƒq`Wd
d1d„ƒY}dd
ddg}tt|ƒ|ƒtdt|iƒjƒ|ƒ}tt|ƒ|ƒd|_d„|_tt|ƒ|ddgƒtdt|iƒjƒd|fd„ƒY}ddg|}tt|ƒ|ƒtdt|i	ƒjƒ|ƒ}tt|ƒ|ƒtdt|i	ƒjƒd|_
d„|_tt|ƒ|ddgƒd„}d
tfd„ƒY}dd
g}t|t|ƒƒ|ƒ|ƒ}t|t|ƒƒ|ƒtdt|iƒjƒd|_d„|_t|t|ƒƒ|ddgƒtdt|iƒjƒd|fd„ƒY}ddg|}t|t|ƒƒ|ƒtdt|i	ƒjƒ|ƒ}t|t|ƒƒ|ƒd|_
d „|_t|t|ƒƒ|ddgƒtdt|i	ƒjƒd!dk
}	d"t|	ƒfd#„ƒY}
|
d$ƒ}d|_d%|_g}t|ƒD]}
|
d2jo||
q×q×~}t|d'd(gƒd)|
fd*„ƒY}|d+ƒ}d|_d%|_t|id,ƒyt|ƒWntj
onXttdƒttƒƒd-tf‡fd.†ƒY‰d
tf‡fd/†ƒY}t|ƒƒdS(3NsTesting dir() ...itjunkily@g@t2u2tCcBseZdZd„ZRS(icSsdS(N((RJ((s+/usr/local/lib/python2.5/test/test_descr.pytCmethods(R*R+tCdataRd(((s+/usr/local/lib/python2.5/test/test_descr.pyRcsReRdR,R+tim_selfcSsdS(i((RJ((s+/usr/local/lib/python2.5/test/test_descr.pyRK stcdatatcmethodtAcBseZdZd„ZRS(icSsdS(N((RJ((s+/usr/local/lib/python2.5/test/test_descr.pytAmethod&s(R*R+tAdataRj(((s+/usr/local/lib/python2.5/test/test_descr.pyRi$sRkRji*cSsdS(i((RJ((s+/usr/local/lib/python2.5/test/test_descr.pyRK/stadatatamethodcSs3g}|D]!}|idƒp||qq~S(Nt_(t
startswith(tstringsR^ts((s+/usr/local/lib/python2.5/test/test_descr.pytinteresting4scBseZdZd„ZRS(icSsdS(N((RJ((s+/usr/local/lib/python2.5/test/test_descr.pyRd9s(R*R+ReRd(((s+/usr/local/lib/python2.5/test/test_descr.pyRc7scSsdS(i((RJ((s+/usr/local/lib/python2.5/test/test_descr.pyRKCscBseZdZd„ZRS(icSsdS(N((RJ((s+/usr/local/lib/python2.5/test/test_descr.pyRjIs(R*R+RkRj(((s+/usr/local/lib/python2.5/test/test_descr.pyRiGscSsdS(i((RJ((s+/usr/local/lib/python2.5/test/test_descr.pyRKQsiÿÿÿÿtMcBseZRS((R*R+(((s+/usr/local/lib/python2.5/test/test_descr.pyRsWsRiR*RR	tM2cBseZd„ZeeƒZRS(cSsdS(NsNot a dict!((RJ((s+/usr/local/lib/python2.5/test/test_descr.pytgetdict`s(R*R+RutpropertyR(((s+/usr/local/lib/python2.5/test/test_descr.pyRt_s	tm2sNot a dict!tWrappercsAeZd„Zd„Z‡fd†Zd„Z‡fd†ZRS(cSs
||_dS(N(t
_Wrapper__obj(RJtobj((s+/usr/local/lib/python2.5/test/test_descr.pyROsscSsdt|iƒS(NsWrapper(%s)(R@Ry(RJ((s+/usr/local/lib/python2.5/test/test_descr.pyRAuscsˆ|i|ƒS(N(Ry(RJtkey(Rx(s+/usr/local/lib/python2.5/test/test_descr.pyR6wscSs
t|iƒS(N(tlenRy(RJ((s+/usr/local/lib/python2.5/test/test_descr.pyRyscsˆt|i|ƒƒS(N(RRy(RJtname(Rx(s+/usr/local/lib/python2.5/test/test_descr.pyt__getattr__{s(R*R+RORAR6RR~((Rx(s+/usr/local/lib/python2.5/test/test_descr.pyRxrs
			cs#eZ‡fd†ZeeƒZRS(csˆt|ƒƒS(N(R(RJ(Rx(s+/usr/local/lib/python2.5/test/test_descr.pyt
__getclasss(R*R+t_C__getclassRvt	__class__((Rx(s+/usr/local/lib/python2.5/test/test_descr.pyRc~s(i((s__name__s__doc__(RRtdirRttest_dirRRdRgRhRjRlRmR3tsysR	RRRYR2tEllipsis(RatargRctcstuffRRitastuffRRrR„Rst	minstanceR^txtnamesRtt
m2instance((Rxs+/usr/local/lib/python2.5/test/test_descr.pyRƒsŠ	4							#		#		8		t+taddt-tsubt*tmult/tdivt%tmodtdivmods**tpows<<tlshifts>>trshiftt&tandt^txort|tortcmpt<tlts<=tles==teqs!=tnet>tgts>=tges(a, b)sa %s btpostnegtabst~tinverttintRVtfloattoctthexs(a)s%s acCsûh|d<|d<}xntiƒD]`\}}||joGd|}t||ƒo)t||ƒ}t|||||ƒq…q%q%WxktiƒD]]\}}||joDd|}t||ƒo&t||ƒ}t||||ƒqóq–q–WdS(NRR	s__%s__(tbinopsRWthasattrR
RtunopsR(RR	tskipRR}RR((s+/usr/local/lib/python2.5/test/test_descr.pytnumopsµs


"


c
CsÞto	dGHntddƒtdiƒdƒtdiƒdƒdtfd„ƒY}t|dƒd	ƒy|ƒd
Wntj
onXtd‚ddk}y||idƒWnt	j
onXtd
‚dS(NsTesting int operations...idiiiRccBseZd„ZRS(cSstS(N(tNotImplemented(RJtother((s+/usr/local/lib/python2.5/test/test_descr.pyRÌs(R*R+R(((s+/usr/local/lib/python2.5/test/test_descr.pyRcËslits+NotImplemented should have caused TypeErroriÿÿÿÿs should have raised OverflowError(
RR·Rt__nonzero__R¯RYRR„tmaxintt
OverflowError(RcR„((s+/usr/local/lib/python2.5/test/test_descr.pytintsÄs$	
	cCs!to	dGHntddƒdS(NsTesting long operations...ldl(RR·(((s+/usr/local/lib/python2.5/test/test_descr.pytlongsÝs	cCs!to	dGHntddƒdS(NsTesting float operations...gY@g@(RR·(((s+/usr/local/lib/python2.5/test/test_descr.pytfloatsás	cCsëto	dGHntdddddddd	d
dgƒdtfd
„ƒY}|dddƒ}tt|ƒdƒt|idƒ||ddƒ}tt|ƒdƒt|idƒ|dƒ}tt|ƒdƒt|idƒdS(NsTesting complex operations...yY@y@R¶R£R€RšR©R¯RVR°tNumbercBs)eZdgZd„Zd„ZeZRS(tprecc_s+ti||Œ}|iddƒ|_|S(NRÂi(tcomplext__new__tgetRÂ(tclstargstkwdstresult((s+/usr/local/lib/python2.5/test/test_descr.pyRÄêscSsm|i}|idjod||ifSn|idjod||ifSnd||i||ifS(Ngs%.*gs%.*gjs(%.*g+%.*gj)(RÂtimagtreal(RJRÂ((s+/usr/local/lib/python2.5/test/test_descr.pyRAîs	(R*R+t	__slots__RÄRAt__str__(((s+/usr/local/lib/python2.5/test/test_descr.pyRÁès			g…ëQž	@RÂis3.14is3.1gPm@s234.5i(RR·RÃRR@RÂ(RÁR((s+/usr/local/lib/python2.5/test/test_descr.pyt	complexesås	(cCs2to	dGHnddk}ddk}dd„}||i|i<t|dgƒ|dgƒ|ddgƒddƒt|dddgƒddd	d
ƒt|dddgƒddd	d
ƒt|dddgƒddd
dƒt|dddgƒdd|ddgƒddƒt|dgƒ|dgƒ|ddgƒddƒt|ddgƒd|ddddddgƒddƒt	|dddgƒdddƒt|ddgƒd|ddddddgƒddƒt|ddgƒd|ddddddgƒddƒt
|ddgƒdd|ddgƒddƒt|ddddgƒdd|ddgƒ|ddddgƒdd ƒd!|ifd"„ƒY}|ƒ}t|gƒt|i
ƒdƒ|id#ƒt|d#gƒt|iƒdƒ|id$ƒt|iƒd$ƒdS(%NsTesting spamlist operations...iÿÿÿÿcSsddk}|i|ƒS(Niÿÿÿÿ(t	xxsubtypetspamlist(RDtmemotspam((s+/usr/local/lib/python2.5/test/test_descr.pyRÐsiisa+bRisb in aR5iisa[b]R6sa[b:c]Rsa+=bR!sa*=bR7slen(a)Rsa*bR8sb*aR9sa[b]=cR$iisa[b:c]=dR&RccBseZd„ZRS(cSsdS(Ni((RJ((s+/usr/local/lib/python2.5/test/test_descr.pytfoos(R*R+RÓ(((s+/usr/local/lib/python2.5/test/test_descr.pyRcsidi*(RtcopyRÏR2t_deepcopy_dispatchRÐRR R#RR%R(RRÓR=tgetstatetsetstate(RÔRÒRÐRcR((s+/usr/local/lib/python2.5/test/test_descr.pyt	spamlistss:	4%%%*
*
:"::1-	


cCs?to	dGHnddk}ddk}dd„}||i|i<t|hdd<ƒ|hdd<ƒdddƒt|hdd<dd	<ƒddd
dƒt|hdd<dd	<ƒddd
dƒt|hdd<dd	<ƒddd
dƒ|hdd<dd	<ƒ}g}x!|iƒD]}|i|ƒq3Wg}x!t	|ƒD]}|i|ƒq]Wt
||ƒg}x!|iƒD]}|i|ƒq”Wt
||ƒg}x0t|hƒƒi|ƒD]}|i|ƒqÚWt
||ƒhdd<dd	<}||ƒ}t
|dddƒt
|t|ƒddƒt|hdd<dd	<ƒdd	|hdd<d	d<dd	<ƒddƒd|ifd„ƒY}	|	ƒ}
t
|
iƒgƒt
|
iƒdƒd|
d<t
|
iƒdgƒt
|
iƒdƒ|
idƒt
|
iƒdƒdS(NsTesting spamdict operations...iÿÿÿÿcSsCddk}|iƒ}x$|iƒD]\}}|||<q%W|S(Niÿÿÿÿ(RÏtspamdictRW(R'RÑRÒtsdtktv((s+/usr/local/lib/python2.5/test/test_descr.pyRÙ*s
iiscmp(a,b)R;iisb in aR5isa[b]R6slen(a)Rsrepr(a)RAsa[b]=cR$RccBseZd„ZRS(cSsdS(Ni((RJ((s+/usr/local/lib/python2.5/test/test_descr.pyRÓJs(R*R+RÓ(((s+/usr/local/lib/python2.5/test/test_descr.pyRcIstbarRÓid(sfoosbar(RRÔRÏR2RÕRÙRR<R=R>RR?RRR@R%RWRÓRÖR×(RÔRÒRÙR'RBRCRDt	straightdtspamdRcR((s+/usr/local/lib/python2.5/test/test_descr.pyt	spamdicts'sX	4...





H
	

cCsTto	dGHnttttƒƒtthtƒƒtƒ}t|hƒt|itjƒtt|tƒƒdtfd„ƒY}tt|tƒƒ|dƒ}t|idƒ|ddddƒ}t|ddjo|ddƒ|ƒ}t|id	ƒt|iƒd	ƒ|i	d
ƒt|id
ƒt|iƒd
ƒ|i	dƒt|idƒt|iƒdƒt|dd
ƒd
|d<t|dd
ƒto	dGHnd}xJt
|ƒD]<}|ƒ||<x&t
|ƒD]}|||||<qéWqÉWxDt
|ƒD]6}x-t
|ƒD]}t|||||ƒq)WqWdS(Ns"Testing Python subclass of dict...RccBs;eZdZd„Zd„Zd„Zd„Zd„ZRS(iÿÿÿÿc_sa|o$tt|ƒdƒ|d|_n|o+x(|iƒD]\}}|||<q?WndS(Nii(RR|tstateRW(RJRtkwRÛRÜ((s+/usr/local/lib/python2.5/test/test_descr.pyRO^s
cSs|i|dƒS(Ni(RÅ(RJR{((s+/usr/local/lib/python2.5/test/test_descr.pyR6dscSs0tt|tdƒƒƒti|||ƒdS(Ni(Rt
isinstanceRRR$(RJR{tvalue((s+/usr/local/lib/python2.5/test/test_descr.pyR$fscSs
||_dS(N(Rá(RJRá((s+/usr/local/lib/python2.5/test/test_descr.pyR×iscSs|iS(N(Rá(RJ((s+/usr/local/lib/python2.5/test/test_descr.pyRÖks(R*R+RáROR6R$R×RÖ(((s+/usr/local/lib/python2.5/test/test_descr.pyRc\s				iRÓiRÝiiÿÿÿÿii
i*ispydict stress test ...i2(RRt
issubclassRRãRRRáRÖR×R\(R'Rcta1ta2RtNRCtj((s+/usr/local/lib/python2.5/test/test_descr.pytpydictsTsP		
"	


	




cCsto	dGHndtfd„ƒY}|ƒ}|idddgƒt|ddƒt|ddƒt|dd	ƒt|dd
!dƒdS(Ns"Testing Python subclass of list...RccBseZd„Zd„ZRS(cSsti||ƒdS(Nid(tlistR6(RJRC((s+/usr/local/lib/python2.5/test/test_descr.pyR6‹scSs
||fS(N((RJRCRé((s+/usr/local/lib/python2.5/test/test_descr.pyRs(R*R+R6R(((s+/usr/local/lib/python2.5/test/test_descr.pyRcŠs	iiiidieifiÈ(idiÈ(RRëtextendR(RcR((s+/usr/local/lib/python2.5/test/test_descr.pytpylistsˆs		csto	dGHndd0d„ƒY}|ƒ}t|iƒdƒ|idƒt|iƒdƒdd1d„ƒY}t|iƒ|ƒ|ƒ}t|i|jƒdtfd	„ƒY‰dd2‡fd
†ƒY}t|idƒ|ƒ}t|idƒdt	fd
„ƒY‰dt	f‡fd†ƒY‰dd3‡fd†ƒY}t|i
dƒt|id4ƒtd|ijƒ|ƒ}t|i
ƒdƒdtf‡fd†ƒY‰dd5‡fd†ƒY}d|fd„ƒY}d|fd„ƒY}d||fd„ƒY}t|ƒiƒdƒd||fd„ƒY}t|ƒiƒdƒdtf‡fd †ƒY‰dd6‡fd!†ƒY}|ƒ}tt|d"ƒƒd#|_t|id#ƒt|id$ƒd%ˆˆfd&„ƒY‰dd7‡fd'†ƒY}d|fd(„ƒY}d|fd)„ƒY}d||fd*„ƒY}t|ƒidƒd+tf‡fd,†ƒY‰dd8‡fd-†ƒY}tˆidƒ|ƒ}tt|ƒ|ƒtˆidƒdt	fd.„ƒY}|ƒ}y|ƒWntj
onXtd/‚dS(9NsTesting __metaclass__...RccBs)eZeZd„Zd„Zd„ZRS(cSs
d|_dS(Ni(t	_C__state(RJ((s+/usr/local/lib/python2.5/test/test_descr.pyROšscSs|iS(N(Rî(RJ((s+/usr/local/lib/python2.5/test/test_descr.pyR֜scSs
||_dS(N(Rî(RJRá((s+/usr/local/lib/python2.5/test/test_descr.pyRמs(R*R+Rt
__metaclass__RORÖR×(((s+/usr/local/lib/python2.5/test/test_descr.pyRc˜s		ii
tDcBseZdefd„ƒYZRS(RïcBseZd„ZRS(cSs|S(N((RÆ((s+/usr/local/lib/python2.5/test/test_descr.pytmyselfŠs(R*R+Rñ(((s+/usr/local/lib/python2.5/test/test_descr.pyRï¥s(R*R+RRï(((s+/usr/local/lib/python2.5/test/test_descr.pyRð€stM1cBseZd„ZRS(cSs d|d<ti||||ƒS(Nit__spam__(RRÄ(RÆR}tbasesR((s+/usr/local/lib/python2.5/test/test_descr.pyRÄ«s
(R*R+RÄ(((s+/usr/local/lib/python2.5/test/test_descr.pyRòªscseZˆZRS((R*R+Rï((Rò(s+/usr/local/lib/python2.5/test/test_descr.pyRc®sit	_instancecBseZRS((R*R+(((s+/usr/local/lib/python2.5/test/test_descr.pyRõŽsRtcs&eZed„ƒZ‡fd†ZRS(cSs.ti|ƒ}||_||_||_|S(N(R3RÄR}RôR(RÆR}RôRRJ((s+/usr/local/lib/python2.5/test/test_descr.pyRÄ·s
			cs[ˆƒ}xK|iD]@}|idƒoqnt|||i|i||ƒƒqW|S(Nt__(RRotsetattrt__get__(RJtitR{(Rõ(s+/usr/local/lib/python2.5/test/test_descr.pyt__call__Ÿs	
'(R*R+tstaticmethodRÄRú((Rõ(s+/usr/local/lib/python2.5/test/test_descr.pyRt¶scseZˆZd„ZRS(cSsdS(Ni*((RJ((s+/usr/local/lib/python2.5/test/test_descr.pyRÒÈs(R*R+RïRÒ((Rt(s+/usr/local/lib/python2.5/test/test_descr.pyRcÆsRÒi*t	autosupercseZ‡fd†ZRS(csytˆ|ƒi||||ƒ}x |d djo|d}q$W|od|}nd}t||t|ƒƒ|S(NiRns
_%s__supert__super(tsuperRÄR÷(t	metaclassR}RôRRÆ(Rü(s+/usr/local/lib/python2.5/test/test_descr.pyRÄÕs(R*R+RÄ((Rü(s+/usr/local/lib/python2.5/test/test_descr.pyRüÒsRicseZˆZd„ZRS(cSsdS(NRi((RJ((s+/usr/local/lib/python2.5/test/test_descr.pyRãs(R*R+RïR((Rü(s+/usr/local/lib/python2.5/test/test_descr.pyRiástBcBseZd„ZRS(cSsd|iiƒS(NR(t	_B__superR(RJ((s+/usr/local/lib/python2.5/test/test_descr.pyRæs(R*R+R(((s+/usr/local/lib/python2.5/test/test_descr.pyRåscBseZd„ZRS(cSsd|iiƒS(NRc(t	_C__superR(RJ((s+/usr/local/lib/python2.5/test/test_descr.pyRés(R*R+R(((s+/usr/local/lib/python2.5/test/test_descr.pyRcèscBseZd„ZRS(cSsd|iiƒS(NRð(t	_D__superR(RJ((s+/usr/local/lib/python2.5/test/test_descr.pyRìs(R*R+R(((s+/usr/local/lib/python2.5/test/test_descr.pyRðëstDCBAtEcBseZd„ZRS(cSsd|iiƒS(NR(t	_E__superR(RJ((s+/usr/local/lib/python2.5/test/test_descr.pyRðs(R*R+R(((s+/usr/local/lib/python2.5/test/test_descr.pyRïstEBCAtautopropertycseZ‡fd†ZRS(c		sh}x²|iƒD]€\}}|idƒo<|d}|i|dƒ\}}|}||f||<q|idƒo<|d}|i|dƒ\}}|}||f||<qqWx3|iƒD]%\}\}}t||ƒ||<qÈWtˆ|ƒi||||ƒS(Nt_get_it_set_(NN(NN(RXRoRÅR2RvRþRÄ(	RÿR}RôRthitsR{tvalRÅtset(R(s+/usr/local/lib/python2.5/test/test_descr.pyRÄ÷s$



(R*R+RÄ((R(s+/usr/local/lib/python2.5/test/test_descr.pyRôscs eZˆZd„Zd„ZRS(cSs|iS(N(t_A__x(RJ((s+/usr/local/lib/python2.5/test/test_descr.pyt_get_x
scSs||_dS(N(R(RJRŠ((s+/usr/local/lib/python2.5/test/test_descr.pyt_set_xs(R*R+RïRR((R(s+/usr/local/lib/python2.5/test/test_descr.pyRis	RŠiiôÿÿÿtmultimetaclasscBseZRS((R*R+(((s+/usr/local/lib/python2.5/test/test_descr.pyRscseZˆZd„ZRS(cSsdS(NRi((RJ((s+/usr/local/lib/python2.5/test/test_descr.pyRs(R*R+RïR((R(s+/usr/local/lib/python2.5/test/test_descr.pyRiscBseZd„ZRS(cSsd|iiƒS(NR(RR(RJ((s+/usr/local/lib/python2.5/test/test_descr.pyRs(R*R+R(((s+/usr/local/lib/python2.5/test/test_descr.pyRscBseZd„ZRS(cSsd|iiƒS(NRc(RR(RJ((s+/usr/local/lib/python2.5/test/test_descr.pyRs(R*R+R(((s+/usr/local/lib/python2.5/test/test_descr.pyRcscBseZd„ZRS(cSsd|iiƒS(NRð(RR(RJ((s+/usr/local/lib/python2.5/test/test_descr.pyR"s(R*R+R(((s+/usr/local/lib/python2.5/test/test_descr.pyRð!stTcseZdZ‡fd†ZRS(icsˆid7_dS(Ni(tcounter(RJRÇ(R(s+/usr/local/lib/python2.5/test/test_descr.pyRO)s(R*R+RRO((R(s+/usr/local/lib/python2.5/test/test_descr.pyR'scseZˆZRS((R*R+Rï((R(s+/usr/local/lib/python2.5/test/test_descr.pyRc+scBseZRS((R*R+(((s+/usr/local/lib/python2.5/test/test_descr.pyRc2ss5calling object w/o call method should raise TypeError((((((((((RRRÖR×RñRRRRóR3R}RôRRÒRRŽRŠRRRYR(RcRRðR'RRiRR((RüRòRtRRRRõs+/usr/local/lib/python2.5/test/test_descr.pyRÿ–st		
							csÍto	dGHng‰ddk}t|ƒ‰dˆf‡‡fd†ƒY}|dƒ}d|_|i}|`tˆdddgƒy dtitfd„ƒY}Wntj
onXt	d
ƒ‚dS(Ns$Testing Python subclass of module...iÿÿÿÿtMMcsMeZ‡fd†Z‡‡fd†Z‡‡fd†Z‡‡fd†ZRS(csˆi||ƒdS(N(RO(RJR}(tMT(s+/usr/local/lib/python2.5/test/test_descr.pyRO>scs#ˆid|fƒˆi||ƒS(NR(R=t__getattribute__(RJR}(Rtlog(s+/usr/local/lib/python2.5/test/test_descr.pyR@scs-ˆid||fƒˆi|||ƒdS(NR÷(R=t__setattr__(RJR}Rä(RR(s+/usr/local/lib/python2.5/test/test_descr.pyRCscs'ˆid|fƒˆi||ƒdS(Ntdelattr(R=t__delattr__(RJR}(RR(s+/usr/local/lib/python2.5/test/test_descr.pyRFs(R*R+RORRR((RR(s+/usr/local/lib/python2.5/test/test_descr.pyR=sRiR÷RÓRRtModulecBseZRS((R*R+(((s+/usr/local/lib/python2.5/test/test_descr.pyRSss?inheriting from ModuleType and str at the same time should fail(ssetattrsfooi(sgetattrsfoo(sdelattrsfoo(
RR„RRÓRttypest
ModuleTypetstrRYR(R„RRRŠR((RRs+/usr/local/lib/python2.5/test/test_descr.pytpymods8s$				
 c	sÒto	dGHndtfd„ƒY‰ˆƒ}t|iƒdƒ|idƒt|iƒdƒdtˆf‡fd†ƒY}|ƒ}t|iƒgƒd|d	<t|iƒd1gƒt|d	dƒt|iƒdƒ|idƒt|iƒdƒt|i|tˆtfƒd
tfd„ƒY}d|t	fd
„ƒY}t|ƒi
ƒdƒtt|ƒƒdƒt|ƒi
ƒdƒtt|ƒƒdƒdd2d„ƒY}d|fd„ƒY}d|fd„ƒY‰d|ˆfd„ƒY}t|idƒd|tfd„ƒY}t|i||||ˆtfƒt|idƒd|ˆtfd„ƒY}t|i||ˆ|tfƒt|idƒdd3d„ƒY‰dˆtfd„ƒY}	t|	i|	ˆtfƒ|	ƒ}
t|
i
ƒdƒt|
iƒd ƒt|
iƒd!ƒdˆfd"„ƒY}d#|tfd$„ƒY}t|i||ˆtfƒ|ƒ}
t|
i
ƒdƒt|
iƒd%ƒt|
iƒd&ƒt|
iƒd'ƒd(|	|tfd)„ƒY}t|i||	||ˆtfƒ|ƒ}
t|
i
ƒdƒt|
iƒd%ƒt|
iƒd ƒt|
iƒd&ƒt|
iƒd*ƒt|
iƒd+ƒd,d4d-„ƒY}
yd.|
fd/„ƒY}Wntj
onXtd0‚dS(5NsTesting multiple inheritance...RccBs#eZd„Zd„Zd„ZRS(cSs
d|_dS(Ni(Rî(RJ((s+/usr/local/lib/python2.5/test/test_descr.pyRO^scSs|iS(N(Rî(RJ((s+/usr/local/lib/python2.5/test/test_descr.pyRÖ`scSs
||_dS(N(Rî(RJRá((s+/usr/local/lib/python2.5/test/test_descr.pyR×bs(R*R+RORÖR×(((s+/usr/local/lib/python2.5/test/test_descr.pyRc]s		ii
RðcseZ‡fd†ZRS(cs$thƒi|ƒˆi|ƒdS(N(RRO(RJ(Rc(s+/usr/local/lib/python2.5/test/test_descr.pyROis(R*R+RO((Rc(s+/usr/local/lib/python2.5/test/test_descr.pyRðhstworldthellotNodecBseZd„Zd„ZRS(cSst|iƒƒS(N(R¯RÓ(RJ((s+/usr/local/lib/python2.5/test/test_descr.pyt__int__xscSsdS(Nt23((RJ((s+/usr/local/lib/python2.5/test/test_descr.pyRÓzs(R*R+R#RÓ(((s+/usr/local/lib/python2.5/test/test_descr.pyR"ws	tFragcBseZd„ZRS(cSsdS(Nt42((RJ((s+/usr/local/lib/python2.5/test/test_descr.pyRÓ}s(R*R+RÓ(((s+/usr/local/lib/python2.5/test/test_descr.pyR%|sii*RicBseZdZRS(i(R*R+RŠ(((s+/usr/local/lib/python2.5/test/test_descr.pyRi†sRcBseZRS((R*R+(((s+/usr/local/lib/python2.5/test/test_descr.pyR‰scBseZdZRS(i(R*R+RŠ(((s+/usr/local/lib/python2.5/test/test_descr.pyRcŒscBseZRS((R*R+(((s+/usr/local/lib/python2.5/test/test_descr.pyRðsiRcBseZRS((R*R+(((s+/usr/local/lib/python2.5/test/test_descr.pyR”stFcBseZRS((R*R+(((s+/usr/local/lib/python2.5/test/test_descr.pyR'›sicBseZd„Zd„ZRS(cSsdS(NsC a((RJ((s+/usr/local/lib/python2.5/test/test_descr.pyRh¢scSsdS(NsC b((RJ((s+/usr/local/lib/python2.5/test/test_descr.pyt
all_method€s(R*R+RhR((((s+/usr/local/lib/python2.5/test/test_descr.pyRc¡s	RòcBseZd„Zd„ZRS(cSsdS(NsM1 a((RJ((s+/usr/local/lib/python2.5/test/test_descr.pytm1methodšscSsdS(NsM1 b((RJ((s+/usr/local/lib/python2.5/test/test_descr.pyR(ªs(R*R+R)R((((s+/usr/local/lib/python2.5/test/test_descr.pyRò§s	sC asM1 asM1 bcBseZd„Zd„ZRS(cSsdS(NsD a((RJ((s+/usr/local/lib/python2.5/test/test_descr.pytdmethodŽscSsdS(NsD b((RJ((s+/usr/local/lib/python2.5/test/test_descr.pyR(¶s(R*R+R*R((((s+/usr/local/lib/python2.5/test/test_descr.pyRð³s	RtcBseZd„Zd„ZRS(cSsdS(NsM2 a((RJ((s+/usr/local/lib/python2.5/test/test_descr.pytm2methodºscSsdS(NsM2 b((RJ((s+/usr/local/lib/python2.5/test/test_descr.pyR(Œs(R*R+R+R((((s+/usr/local/lib/python2.5/test/test_descr.pyRt¹s	sD asM2 asM2 btM3cBseZd„Zd„ZRS(cSsdS(NsM3 a((RJ((s+/usr/local/lib/python2.5/test/test_descr.pytm3methodÇscSsdS(NsM3 b((RJ((s+/usr/local/lib/python2.5/test/test_descr.pyR(És(R*R+R-R((((s+/usr/local/lib/python2.5/test/test_descr.pyR,Æs	sM3 asM3 bR)cBseZRS((R*R+(((s+/usr/local/lib/python2.5/test/test_descr.pyR)ÔstNewcBseZeZRS((R*R+RRï(((s+/usr/local/lib/python2.5/test/test_descr.pyR.×ss0new class with only classic bases - shouldn't be(R!R ((((RR3RRÖR×RR<RWt__mro__RëR#R¯RŠRhR)R(R*R+R-RYR(RRðR'R"R%RiRRR'RòRRtR,R)R.((Rcs+/usr/local/lib/python2.5/test/test_descr.pytmulti[s€		
	

"		"	c	Csto	dGHndtfd„ƒY}t|ƒiƒdƒd|fd„ƒY}t|ƒiƒdƒt|ƒiƒdƒd|fd„ƒY}t|ƒiƒdƒt|ƒiƒdƒd||fd	„ƒY}t|ƒiƒdƒt|ƒiƒdƒt|i||||tfƒd
||fd„ƒY}t|ƒiƒdƒt|ƒiƒdƒt|i||||tfƒyd||fd
„ƒY}Wntj
onXtd‚yd||fd„ƒY}Wntj
onXtd‚dS(Ns-Testing multiple inheritance special cases...RicBseZd„ZRS(cSsdS(NRi((RJ((s+/usr/local/lib/python2.5/test/test_descr.pyRÒás(R*R+RÒ(((s+/usr/local/lib/python2.5/test/test_descr.pyRiàsRcBseZd„Zd„ZRS(cSsdS(NR((RJ((s+/usr/local/lib/python2.5/test/test_descr.pytbooäscSsdS(NR((RJ((s+/usr/local/lib/python2.5/test/test_descr.pyRÒås(R*R+R1RÒ(((s+/usr/local/lib/python2.5/test/test_descr.pyRãs	RccBseZd„ZRS(cSsdS(NRc((RJ((s+/usr/local/lib/python2.5/test/test_descr.pyR1és(R*R+R1(((s+/usr/local/lib/python2.5/test/test_descr.pyRcèsRðcBseZRS((R*R+(((s+/usr/local/lib/python2.5/test/test_descr.pyRðìsRcBseZRS((R*R+(((s+/usr/local/lib/python2.5/test/test_descr.pyRðsR'cBseZRS((R*R+(((s+/usr/local/lib/python2.5/test/test_descr.pyR'öss#expected MRO order disagreement (F)tGcBseZRS((R*R+(((s+/usr/local/lib/python2.5/test/test_descr.pyR2üss#expected MRO order disagreement (G)(RR3RRÒR1R/RYR(RiRRcRðRR'R2((s+/usr/local/lib/python2.5/test/test_descr.pytdiamondÞs8		c	CsÆto	dGHndtfd„ƒY}dtfd„ƒY}dtfd„ƒY}d|fd	„ƒY}d
|fd„ƒY}d||||fd
„ƒY}t|i||||||tfƒdS(Ns(Testing ex5 from C3 switch discussion...RicBseZRS((R*R+(((s+/usr/local/lib/python2.5/test/test_descr.pyRisRcBseZRS((R*R+(((s+/usr/local/lib/python2.5/test/test_descr.pyRsRccBseZRS((R*R+(((s+/usr/local/lib/python2.5/test/test_descr.pyRcstXcBseZRS((R*R+(((s+/usr/local/lib/python2.5/test/test_descr.pyR4	stYcBseZRS((R*R+(((s+/usr/local/lib/python2.5/test/test_descr.pyR5
stZcBseZRS((R*R+(((s+/usr/local/lib/python2.5/test/test_descr.pyR6s(RR3RR/(RiRRcR4R5R6((s+/usr/local/lib/python2.5/test/test_descr.pytex5s	cCs6to	dGHndtfd„ƒY}d|fd„ƒY}d|fd„ƒY}d|fd	„ƒY}d
|fd„ƒY}d||fd
„ƒY}d|fd„ƒY}d||fd„ƒY}t|i|||||tfƒt|i||||tfƒt|i||||||||tf	ƒdS(NsTesting MRO monotonicity...tBoatcBseZRS((R*R+(((s+/usr/local/lib/python2.5/test/test_descr.pyR8stDayBoatcBseZRS((R*R+(((s+/usr/local/lib/python2.5/test/test_descr.pyR9st	WheelBoatcBseZRS((R*R+(((s+/usr/local/lib/python2.5/test/test_descr.pyR:st
EngineLesscBseZRS((R*R+(((s+/usr/local/lib/python2.5/test/test_descr.pyR;stSmallMultihullcBseZRS((R*R+(((s+/usr/local/lib/python2.5/test/test_descr.pyR<stPedalWheelBoatcBseZRS((R*R+(((s+/usr/local/lib/python2.5/test/test_descr.pyR=stSmallCatamarancBseZRS((R*R+(((s+/usr/local/lib/python2.5/test/test_descr.pyR>stPedalocBseZRS((R*R+(((s+/usr/local/lib/python2.5/test/test_descr.pyR?s(RR3RR/(R8R9R:R;R<R=R>R?((s+/usr/local/lib/python2.5/test/test_descr.pytmonotonicitys$		
		c	CsÆto	dGHndtfd„ƒY}dtfd„ƒY}dtfd„ƒY}d||fd	„ƒY}d
||fd„ƒY}d||fd
„ƒY}t|i||||||tfƒdS(Ns Testing consistentcy with EPG...tPanecBseZRS((R*R+(((s+/usr/local/lib/python2.5/test/test_descr.pyRA)stScrollingMixincBseZRS((R*R+(((s+/usr/local/lib/python2.5/test/test_descr.pyRB*stEditingMixincBseZRS((R*R+(((s+/usr/local/lib/python2.5/test/test_descr.pyRC+stScrollablePanecBseZRS((R*R+(((s+/usr/local/lib/python2.5/test/test_descr.pyRD,stEditablePanecBseZRS((R*R+(((s+/usr/local/lib/python2.5/test/test_descr.pyRE-stEditableScrollablePanecBseZRS((R*R+(((s+/usr/local/lib/python2.5/test/test_descr.pyRF.s(RR3RR/(RARBRCRDRERF((s+/usr/local/lib/python2.5/test/test_descr.pytconsistency_with_epg's			cGsjy||ŒWnH|j
o<}t|ƒi|ƒptdt|ƒ|f‚qfnXtd|‚dS(NsMessage %r, expected %rsExpected %s(RRoR(texctexpectedtcallableRÇtmsg((s+/usr/local/lib/python2.5/test/test_descr.pytraises4ssCCannot create a consistent method resolution
order (MRO) for bases cCsIto	dGHndtfd„ƒY}d|fd„ƒY}dtfd„ƒY}ttdtd	||fhƒttttd	||fhƒttttd	|||fhƒd
tfd„ƒY}d|fd
„ƒY}d|fd„ƒY}d||fd„ƒY}d||fd„ƒY}ttttd||fhƒdS(Ns.Testing error messages for MRO disagreement...RicBseZRS((R*R+(((s+/usr/local/lib/python2.5/test/test_descr.pyRiCsRcBseZRS((R*R+(((s+/usr/local/lib/python2.5/test/test_descr.pyRDsRccBseZRS((R*R+(((s+/usr/local/lib/python2.5/test/test_descr.pyRcEssduplicate base class AR4t
GridLayoutcBseZRS((R*R+(((s+/usr/local/lib/python2.5/test/test_descr.pyRMNstHorizontalGridcBseZRS((R*R+(((s+/usr/local/lib/python2.5/test/test_descr.pyRNOstVerticalGridcBseZRS((R*R+(((s+/usr/local/lib/python2.5/test/test_descr.pyROPstHVGridcBseZRS((R*R+(((s+/usr/local/lib/python2.5/test/test_descr.pyRPQstVHGridcBseZRS((R*R+(((s+/usr/local/lib/python2.5/test/test_descr.pyRQRstConfusedGrid(RR3RLRYRtmro_err_msg(RiRRcRMRNRORPRQ((s+/usr/local/lib/python2.5/test/test_descr.pytmro_disagreementAs$					c	Csto	dGHntƒ}t|itƒtt|ƒtƒtƒ}t||j	ƒtt|dƒƒy
d|_Wntt	fj
onXtddƒtttƒdƒƒdtfd„ƒY}|ƒ}t|i
hƒd	|_t|id	ƒt|i
hd	d<ƒdS(
NsTesting object class...RÓiis1object() should not allow setting a foo attributeRtCdictcBseZRS((R*R+(((s+/usr/local/lib/python2.5/test/test_descr.pyRUfsi(RR3RRRRRŽRÓtAttributeErrorRYR(RR	RURŠ((s+/usr/local/lib/python2.5/test/test_descr.pytobjectsVs(			

		c%sŽto	dGHndtfd„ƒY}|ƒ}tt|dƒƒtt|dƒƒdtfd„ƒY}|ƒ}tt|dƒƒtt|dƒƒd	|_t|id	ƒd|_t|idƒ|`tt|dƒƒd
tfd„ƒY}|ƒ}tt|dƒƒtt|dƒƒtt|dƒƒtt|d
ƒƒd	|_d|_d|_	t|id	ƒt|idƒt|i	dƒdtfd„ƒY}|dƒ}tt|dƒƒtt|dƒƒt|i
ƒdƒy
d|_Wntj
onXt
d‚ydtfd„ƒY}Wntj
onXt
d‚ydtfd„ƒY}Wntj
onXt
d‚ydtfd„ƒY}Wntj
onXt
d‚ydtfd„ƒY}Wntj
onXt
d‚ydtfd„ƒY}Wntj
onXt
d ‚dtfd!„ƒY}ytWntj
on®Xtdƒtd"ƒf‰dtf‡fd#†ƒY}|ƒ}d|_t|idƒttˆd$ƒtƒydtfd%„ƒY}Wnttfj
onXt
d&‚d'tf‡fd(†ƒY‰dtfd)„ƒY}|ƒ}ˆƒ|_ˆƒ|_ˆƒ|_	tˆidƒ~tˆid$ƒd*|fd+„ƒY}|ƒ}ˆƒ|_ˆƒ|_tˆidƒ~tˆid$ƒd,|fd-„ƒY}|ƒ}ˆƒ|_ˆƒ|_ˆƒ|_tˆidƒ~tˆid$ƒd.tfd/„ƒY}g}	|ƒ}
ˆƒ|
g|
_tˆid	ƒd}
d0dk}|iƒtˆid$ƒd0dk}d0dk}d1tfd2„ƒY}
|
ƒ}t|iƒƒ}xtd3ƒD]}||jq5Wt|iƒƒ}t||ƒd4tfd5„ƒY}|i}|i|_|ƒ}z~Wd||_XdS(6NsTesting __slots__...tC0cBseZgZRS((R*R+RÌ(((s+/usr/local/lib/python2.5/test/test_descr.pyRXpsRRÓtC1cBseZdgZRS(R(R*R+RÌ(((s+/usr/local/lib/python2.5/test/test_descr.pyRYvsRitC3cBseZdddgZRS(RR	R(R*R+RÌ(((s+/usr/local/lib/python2.5/test/test_descr.pyRZ‚sR	RiitC4cBs)eZdZdgZd„Zd„ZRS(sValidate name manglingt__acSs
||_dS(N(t_C4__a(RJRä((s+/usr/local/lib/python2.5/test/test_descr.pyRO“scSs|iS(N(R](RJ((s+/usr/local/lib/python2.5/test/test_descr.pyRŕs(R*R+R,RÌRORÅ(((s+/usr/local/lib/python2.5/test/test_descr.pyR[s		iR\is$Double underscored names not mangledRccBseZdgZRS(N(R*R+R2RÌ(((s+/usr/local/lib/python2.5/test/test_descr.pyRc€ss[None] slots not caughtcBseZdgZRS(sfoo bar(R*R+RÌ(((s+/usr/local/lib/python2.5/test/test_descr.pyRc«ss['foo bar'] slots not caughtcBseZdgZRS(tfoobar(R*R+RÌ(((s+/usr/local/lib/python2.5/test/test_descr.pyRc²ss['foo\0bar'] slots not caughtcBseZdgZRS(t1(R*R+RÌ(((s+/usr/local/lib/python2.5/test/test_descr.pyRc¹ss['1'] slots not caughtcBseZdgZRS(Rº(R*R+RÌ(((s+/usr/local/lib/python2.5/test/test_descr.pyRcÀss[''] slots not caughtcBseZddddgZRS(Rta_bt_atA0123456789Z(R*R+RÌ(((s+/usr/local/lib/python2.5/test/test_descr.pyRcÆsRÝcseZˆZRS((R*R+RÌ((tslots(s+/usr/local/lib/python2.5/test/test_descr.pyRcÑsicBseZedƒgZRS(i€(R*R+tunichrRÌ(((s+/usr/local/lib/python2.5/test/test_descr.pyRcÙss[unichr(128)] slots not caughttCountedcs,eZdZ‡fd†Z‡fd†ZRS(icsˆid7_dS(Ni(R(RJ(Re(s+/usr/local/lib/python2.5/test/test_descr.pyROãscsˆid8_dS(Ni(R(RJ(Re(s+/usr/local/lib/python2.5/test/test_descr.pyt__del__ås(R*R+RRORf((Re(s+/usr/local/lib/python2.5/test/test_descr.pyReáscBseZdddgZRS(RR	R(R*R+RÌ(((s+/usr/local/lib/python2.5/test/test_descr.pyRcçsRðcBseZRS((R*R+(((s+/usr/local/lib/python2.5/test/test_descr.pyRððsRcBseZdgZRS(te(R*R+RÌ(((s+/usr/local/lib/python2.5/test/test_descr.pyRøsR'cBseZddgZRS(RR	(R*R+RÌ(((s+/usr/local/lib/python2.5/test/test_descr.pyR'siÿÿÿÿR2cBseZd„ZRS(cSsdS(Ni((RJR¹((s+/usr/local/lib/python2.5/test/test_descr.pyR;s(R*R+R;(((s+/usr/local/lib/python2.5/test/test_descr.pyR2si
tHcBs&eZddgZd„Zd„ZRS(RR	cSsd|_d|_dS(Nii(RR	(RJ((s+/usr/local/lib/python2.5/test/test_descr.pyROs	cSs2|idjpt‚|idjpt‚dS(Nii(RtAssertionErrorR	(RJ((s+/usr/local/lib/python2.5/test/test_descr.pyRfs(R*R+RÌRORf(((s+/usr/local/lib/python2.5/test/test_descr.pyRhs	( RR3RRŽRRR2R
R	RRÅR\RVRRYRdt	NameErrortunicodeRÓRtUnicodeEncodeErrorRtzRgtgctcollectR„R|tget_objectstxrangetstderrtstdout(RXRŠRYRZR[RcRðRR'RRqRnR„R2tgtorig_objectsRCtnew_objectsRhtsave_stderrth((RcRes+/usr/local/lib/python2.5/test/test_descr.pyRcns									
													
	

			c	CsÂto	dGHndtfd„ƒY}|ƒ}tt|dƒƒtt|dƒƒd|_t|ihdd<ƒdtfd	„ƒY}|ƒ}tt|dƒƒtt|dƒƒy
d|_Wntj
onXtd
‚d||fd„ƒY}|ƒ}tt|dƒƒtt|dƒƒd|_t|ihdd<ƒd
||fd„ƒY}|ƒ}tt|dƒƒtt|dƒƒd|_t|ihdd<ƒdS(Ns0Testing __dict__ and __weakref__ in __slots__...RðcBseZdgZRS(R(R*R+RÌ(((s+/usr/local/lib/python2.5/test/test_descr.pyRð-sRt__weakref__i*RÓtWcBseZdgZRS(Ry(R*R+RÌ(((s+/usr/local/lib/python2.5/test/test_descr.pyRz5ss!shouldn't be allowed to set a.fooRYcBseZgZRS((R*R+RÌ(((s+/usr/local/lib/python2.5/test/test_descr.pyRYAstC2cBseZgZRS((R*R+RÌ(((s+/usr/local/lib/python2.5/test/test_descr.pyR{Is(	RR3RRŽRÓRRRVR(RðRRzRYR{((s+/usr/local/lib/python2.5/test/test_descr.pytslotspecials*s:				
					cs~to	dGHndtfd„ƒY}d|fd„ƒY}d|fd„ƒY}d|_t|idƒt|idƒt|idƒd	tfd
„ƒY}|ƒ}tt|dƒƒd|_t|idƒd
„|_t|iƒdƒd„|_tt	|ƒdƒd„|_
tt|ƒdƒt|idƒtt|dƒƒd„}||_t|i
dƒd|_t|idƒd„}||_y
d|_
Wntj
onXtddƒt|i
dƒd|fd„ƒY}|ƒ}d|_t|idƒdtfd„ƒY}td|dƒdƒt|dƒddƒtd|dƒd ƒt|dƒdd ƒt|dƒ|dƒd ƒd!tfd"„ƒY}	td|	d#ƒdƒt|	d#ƒddƒtd|	dƒd ƒt|	dƒdd ƒt|	dƒ|	dƒd ƒd$tfd%„ƒY‰d&d(‡fd'†ƒY}
t|
tjƒdS()Ns&Testing class attribute propagation...RðcBseZRS((R*R+(((s+/usr/local/lib/python2.5/test/test_descr.pyRð[sRcBseZRS((R*R+(((s+/usr/local/lib/python2.5/test/test_descr.pyR]sR'cBseZRS((R*R+(((s+/usr/local/lib/python2.5/test/test_descr.pyR'_siRccBseZRS((R*R+(((s+/usr/local/lib/python2.5/test/test_descr.pyRcgstfoobaricSsdS(i*((RJ((s+/usr/local/lib/python2.5/test/test_descr.pyRKmsi*cSsdS(sC()((RJ((s+/usr/local/lib/python2.5/test/test_descr.pyRKossC()cSsdS(id((RJ((s+/usr/local/lib/python2.5/test/test_descr.pyRKqsidRÒcSs|djodSnt‚dS(NRÒ(RV(RJR}((s+/usr/local/lib/python2.5/test/test_descr.pyt	mygetattrus
icSs*|djo
t‚nti|||ƒS(NRÒ(RVR3R(RJR}Rä((s+/usr/local/lib/python2.5/test/test_descr.pyt	mysetattr}s

snot spamisexpected AttributeErrorcBseZRS((R*R+(((s+/usr/local/lib/python2.5/test/test_descr.pyRð‰stIcBseZRS((R*R+(((s+/usr/local/lib/python2.5/test/test_descr.pyR€sRtaaiitLcBseZRS((R*R+(((s+/usr/local/lib/python2.5/test/test_descr.pyR‚™sltdynamicmetaclasscBseZRS((R*R+(((s+/usr/local/lib/python2.5/test/test_descr.pyRƒ¢st	someclasscseZˆZRS((R*R+Rï((Rƒ(s+/usr/local/lib/python2.5/test/test_descr.pyR„€s((RR3RÓRRRŽR}tmethodRAR@R#R¯R~RÒtnewRRVRVR(RðRR'RcRR~RR'R€R‚R„((Rƒs+/usr/local/lib/python2.5/test/test_descr.pytdynamicsYsl									

		cCsdto	dGHnydttfd„ƒY}Wntj
onXtddƒydtdfd„ƒY}Wntj
onXtddƒddd	„ƒY}y dttƒfd
„ƒY}Wntj
onXtddƒydtfd„ƒY}Wntj
onXtdd
ƒydtfd„ƒY}Wntj
onXtddƒdS(NsTesting errors...RccBseZRS((R*R+(((s+/usr/local/lib/python2.5/test/test_descr.pyRc¬sis5inheritance from both list and dict should be illegalcBseZRS((R*R+(((s+/usr/local/lib/python2.5/test/test_descr.pyRcŽss+inheritance from non-type should be illegalR)cBseZRS((R*R+(((s+/usr/local/lib/python2.5/test/test_descr.pyR)ºscBseZRS((R*R+(((s+/usr/local/lib/python2.5/test/test_descr.pyRcŸss,inheritance from CFunction should be illegalcBseZdZRS(i(R*R+RÌ(((s+/usr/local/lib/python2.5/test/test_descr.pyRcÆss__slots__ = 1 should be illegalcBseZdgZRS(i(R*R+RÌ(((s+/usr/local/lib/python2.5/test/test_descr.pyRcÎss!__slots__ = [1] should be illegal((	RRëRRYRR3R2RR|(RcR)((s+/usr/local/lib/python2.5/test/test_descr.pyterrorsšs8	

 

c
Cszto	dGHndtfd„ƒY}|ƒ}t|idƒ|dfƒt|idƒ|dfƒt|idƒ|dfƒd|fd„ƒY}|ƒ}t|idƒ|dfƒt|idƒ|dfƒt|idƒ|dfƒt|i|dƒ|dfƒd„}t|ƒ}t|idtƒd	ƒtd	fƒt|idƒd	ƒtd	fƒt|ii	|ƒt|ii	|ƒtt
||ƒii	|ƒtt
||ƒii	|ƒtt
||ƒiƒ|fƒtt
||ƒiƒ|fƒytdƒidƒWntj
onXtd
‚yt|ddƒWntj
onXtd‚dS(
NsTesting class methods...RccBseZd„ZeeƒZRS(cWs|S(N((R((s+/usr/local/lib/python2.5/test/test_descr.pyRÓØs(R*R+RÓtclassmethodtgoo(((s+/usr/local/lib/python2.5/test/test_descr.pyRc×s	iRðcBseZRS((R*R+(((s+/usr/local/lib/python2.5/test/test_descr.pyRðÞscSs
||fS(N((RÆR†((s+/usr/local/lib/python2.5/test/test_descr.pytfæsii*s(classmethod should check for callabilityRâs)classmethod shouldn't accept keyword args(
RR3RRŠRÓR‰RøR¯R
RfRþRYR(RcRRðR'R‹tff((s+/usr/local/lib/python2.5/test/test_descr.pytclassmethodsÕsB				%"	cCsÈto	dGHnddk}d}hdd<}|ii||Ž\}}}t||iƒt||ƒt||ƒ|iƒi||Ž\}}}t||iƒt||ƒt||ƒdS(	Ns Testing C-based class methods...iÿÿÿÿiiii{tabc(iii(RRÏRÐt	classmethR
R(RÒRR'RŠRætd1((s+/usr/local/lib/python2.5/test/test_descr.pytclassmethods_in_cs	

!
cCsto	dGHndtfd„ƒY}|ƒ}t|idƒdƒt|idƒdƒt|idƒ|dfƒd|fd„ƒY}|ƒ}t|idƒd	ƒt|idƒd
ƒt|idƒ|dfƒt|i|dƒ|dfƒdS(NsTesting static methods...RccBseZd„ZeeƒZRS(cWs|S(N((R((s+/usr/local/lib/python2.5/test/test_descr.pyRÓs(R*R+RÓRûRŠ(((s+/usr/local/lib/python2.5/test/test_descr.pyRcs	iRðcBseZRS((R*R+(((s+/usr/local/lib/python2.5/test/test_descr.pyRðs(i(i(i(i(RR3RRŠRÓ(RcRRðR'((s+/usr/local/lib/python2.5/test/test_descr.pyt
staticmethodss			cCsÂto	dGHnddk}d}hdd<}|ii||Ž\}}}t|dƒt||ƒt||ƒ|iƒi||Ž\}}}t|dƒt||ƒt||ƒdS(	Ns!Testing C-based static methods...iÿÿÿÿiiii{RŽ(iii(RRÏRÐt
staticmethR
R2R(RÒRR'RŠRæRtd2((s+/usr/local/lib/python2.5/test/test_descr.pytstaticmethods_in_c"s	


!

csmto	dGHndd
d„ƒY‰ˆƒ}tˆidƒˆdfƒt|idƒˆdfƒt|idƒ|dfƒdˆfd„ƒY}|ƒ}t|idƒ|dfƒt|idƒ|dfƒt|idƒ|dfƒt|i|dƒ|dfƒdd‡fd†ƒY}t|ƒiˆiƒttˆiiˆƒƒƒid	ƒƒdS(NsTesting classic classes...RccBseZd„ZeeƒZRS(cWs|S(N((R((s+/usr/local/lib/python2.5/test/test_descr.pyRÓ3s(R*R+RÓR‰RŠ(((s+/usr/local/lib/python2.5/test/test_descr.pyRc2s	iRðcBseZRS((R*R+(((s+/usr/local/lib/python2.5/test/test_descr.pyRð9sRcseZˆiZRS((R*R+RÓ((Rc(s+/usr/local/lib/python2.5/test/test_descr.pyR@ss<bound method (((RRRŠRÓRR@RøRo(RRðR'R((Rcs+/usr/local/lib/python2.5/test/test_descr.pytclassic0s 			cCs˜to	dGHndtfd„ƒY}|ƒ}t|idƒt|idƒd|_t|idƒt|idƒ|`tt|dƒdƒdS(	NsTesting computed attributes...RccBsTeZdefd„ƒYZd„Zd„Zd„Zd„ZeeeeƒZRS(tcomputed_attributecBs5eZddd„Zdd„Zd„Zd„ZRS(cSs||_||_||_dS(N(t_computed_attribute__gett_computed_attribute__sett_computed_attribute__delete(RJRÅR
tdelete((s+/usr/local/lib/python2.5/test/test_descr.pyROIs		cSs
|i|ƒS(N(R˜(RJRzR((s+/usr/local/lib/python2.5/test/test_descr.pyRøMscSs|i||ƒS(N(R™(RJRzRä((s+/usr/local/lib/python2.5/test/test_descr.pyt__set__OscSs
|i|ƒS(N(Rš(RJRz((s+/usr/local/lib/python2.5/test/test_descr.pyt
__delete__QsN(R*R+R2RORøRœR(((s+/usr/local/lib/python2.5/test/test_descr.pyR—Hs	cSs
d|_dS(Ni(t_C__x(RJ((s+/usr/local/lib/python2.5/test/test_descr.pyROSscSs|i}|d|_|S(Ni(Rž(RJRŠ((s+/usr/local/lib/python2.5/test/test_descr.pyt__get_xUs	
cSs
||_dS(N(Rž(RJRŠ((s+/usr/local/lib/python2.5/test/test_descr.pyt__set_xYscSs
|`dS(N(Rž(RJ((s+/usr/local/lib/python2.5/test/test_descr.pyt
__delete_x[s(	R*R+R3R—ROt	_C__get_xt	_C__set_xt_C__delete_xRŠ(((s+/usr/local/lib/python2.5/test/test_descr.pyRcGs				iii
iRŠ(RR3RRŠRŽ(RcR((s+/usr/local/lib/python2.5/test/test_descr.pytcompattrEs			cCs˜to	dGHndtfd„ƒY}|ƒ}t|idƒt|i|jƒd|fd„ƒY}|ƒ}t|idƒt|i|jƒdS(Ns Testing __new__ slot override...RccBseZd„Zd„ZRS(cSsti|ƒ}d|_|S(Ni(RëRÄRÓ(RÆRJ((s+/usr/local/lib/python2.5/test/test_descr.pyRÄjs	cSs|id|_dS(Ni(RÓ(RJ((s+/usr/local/lib/python2.5/test/test_descr.pyROns(R*R+RÄRO(((s+/usr/local/lib/python2.5/test/test_descr.pyRcis	iRðcBseZRS((R*R+(((s+/usr/local/lib/python2.5/test/test_descr.pyRðss(RRëRRÓRR(RcRRðR	((s+/usr/local/lib/python2.5/test/test_descr.pytnewslotgs			c
säto	dGHndtfd„ƒY}d|fd„ƒY}d|fd„ƒY}d||fd	„ƒY}t|iƒ||||tgƒt|i||||tfƒt|ƒiƒdƒd
tfd„ƒY‰d||||f‡fd
†ƒY}t|it|||||fƒt|ƒiƒdƒydtfd„ƒY}Wntj
onXtd‚ydtfd„ƒY}Wntj
onXtd‚ydtfd„ƒY}Wntj
onXtd‚dS(Ns"Testing mro() and overriding it...RicBseZd„ZRS(cSsdS(NRi((RJ((s+/usr/local/lib/python2.5/test/test_descr.pyR‹|s(R*R+R‹(((s+/usr/local/lib/python2.5/test/test_descr.pyRi{sRcBseZRS((R*R+(((s+/usr/local/lib/python2.5/test/test_descr.pyR}sRccBseZd„ZRS(cSsdS(NRc((RJ((s+/usr/local/lib/python2.5/test/test_descr.pyR‹€s(R*R+R‹(((s+/usr/local/lib/python2.5/test/test_descr.pyRcsRðcBseZRS((R*R+(((s+/usr/local/lib/python2.5/test/test_descr.pyRðstPerverseMetaTypecBseZd„ZRS(cSsti|ƒ}|iƒ|S(N(Rtmrotreverse(RÆR‚((s+/usr/local/lib/python2.5/test/test_descr.pyRšˆs
(R*R+Rš(((s+/usr/local/lib/python2.5/test/test_descr.pyR§‡sR4cseZˆZRS((R*R+Rï((R§(s+/usr/local/lib/python2.5/test/test_descr.pyR4ŒscBseZdefd„ƒYZRS(RïcBseZd„ZRS(cSs
|ttgS(N(RR3(RJ((s+/usr/local/lib/python2.5/test/test_descr.pyRš”s(R*R+Rš(((s+/usr/local/lib/python2.5/test/test_descr.pyRï“s(R*R+RRï(((s+/usr/local/lib/python2.5/test/test_descr.pyR4’ssdevious mro() return not caughtcBseZdefd„ƒYZRS(RïcBseZd„ZRS(cSsdgS(Ni((RJ((s+/usr/local/lib/python2.5/test/test_descr.pyRšžs(R*R+Rš(((s+/usr/local/lib/python2.5/test/test_descr.pyRïs(R*R+RRï(((s+/usr/local/lib/python2.5/test/test_descr.pyR4œss!non-class mro() return not caughtcBseZdefd„ƒYZRS(RïcBseZd„ZRS(cSsdS(Ni((RJ((s+/usr/local/lib/python2.5/test/test_descr.pyRššs(R*R+Rš(((s+/usr/local/lib/python2.5/test/test_descr.pyRï§s(R*R+RRï(((s+/usr/local/lib/python2.5/test/test_descr.pyR4Šss$non-sequence mro() return not caught(	RR3RRšR/R‹RRYR(RiRRcRðR4((R§s+/usr/local/lib/python2.5/test/test_descr.pytaltmroys8	"%"		csto	dGHndtfd„ƒY‰dˆf‡fd†ƒY}|ƒ}t|idƒd|_t|idƒ|`t|idƒt|ddƒd
|d<t|idƒ|d=t|idƒt|dd!dƒd|dd+t|idƒ|dd5t|i	dƒdS(NsTesting operator overloading...RcBseZdZRS(s<Intermediate class because object doesn't have a __setattr__(R*R+R,(((s+/usr/local/lib/python2.5/test/test_descr.pyR³sRccseeZd„Z‡fd†Z‡fd†Zd„Zd„Zd„Zd„Zd„Z	d„Z
RS(	cSs%|djod|fSnt‚dS(NRÓR(RV(RJR}((s+/usr/local/lib/python2.5/test/test_descr.pyR~žs
cs7|djo||f|_nˆi|||ƒSdS(NRÓ(R÷R(RJR}Rä(R(s+/usr/local/lib/python2.5/test/test_descr.pyRœs
cs.|djo
||_nˆi||ƒSdS(NRÓ(RR(RJR}(R(s+/usr/local/lib/python2.5/test/test_descr.pyRÂs

cSs
d|fS(Ntgetitem((RJR{((s+/usr/local/lib/python2.5/test/test_descr.pyR6ÈscSs||f|_dS(N(tsetitem(RJR{Rä((s+/usr/local/lib/python2.5/test/test_descr.pyR$ÊscSs
||_dS(N(tdelitem(RJR{((s+/usr/local/lib/python2.5/test/test_descr.pyt__delitem__ÌscSs
d||fS(Ntgetslice((RJRCRé((s+/usr/local/lib/python2.5/test/test_descr.pyRÏscSs|||f|_dS(N(tsetslice(RJRCRéRä((s+/usr/local/lib/python2.5/test/test_descr.pyR&ÑscSs||f|_dS(N(tdelslice(RJRCRé((s+/usr/local/lib/python2.5/test/test_descr.pyt__delslice__Ós(R*R+R~RRR6R$R®RR&R²((R(s+/usr/local/lib/python2.5/test/test_descr.pyRc¶s						RRÓiR«iii
R¯(sgetattrsfoo(sfooi(sgetitemi(ii(sgetsliceii
(ii
sfoo(ii
(
RR3RRÓR÷RR¬R­R°R±(RcR((Rs+/usr/local/lib/python2.5/test/test_descr.pytoverloading°s(	 		


cs
to	dGHndtfd„ƒY‰ˆdƒ‰tˆiƒdƒdˆf‡‡fd†ƒY}|dƒ}t|iƒdƒt|iƒdƒt|iƒdƒdtf‡fd	†ƒY}t|ƒiˆiƒttˆiiˆdƒƒƒi	d
ƒƒdS(NsTesting methods...RccBseZd„Zd„ZRS(cSs
||_dS(N(RŠ(RJRŠ((s+/usr/local/lib/python2.5/test/test_descr.pyROìscSs|iS(N(RŠ(RJ((s+/usr/local/lib/python2.5/test/test_descr.pyRÓîs(R*R+RORÓ(((s+/usr/local/lib/python2.5/test/test_descr.pyRcës	iRðcseZˆiZˆiZRS((R*R+RÓR1RŠ((Rctc1(s+/usr/local/lib/python2.5/test/test_descr.pyRðòs	iRcseZˆiZRS((R*R+RÓ((Rc(s+/usr/local/lib/python2.5/test/test_descr.pyRùss<bound method (
RR3RRÓR1RŠRR@RøRo(RðR”R((RcRŽs+/usr/local/lib/python2.5/test/test_descr.pytmethodsés	cCsAto	dGHndtfd„ƒY}|ƒ}|ƒ}t|ƒtt|ƒt|ƒjƒt|ƒt|ƒtt||ƒtt|ƒt|ƒƒƒt||ƒt||jƒt||jƒt||jƒtt|ƒidƒdjƒtt|ƒt	|ƒƒtd|jƒx$t
dƒD]}t||jƒq3Wtd|jƒdtfd	„ƒY}|ƒ}|ƒ}t|ƒtt|ƒt|ƒjƒt|ƒt|ƒtt||ƒtt|ƒt|ƒƒƒt||ƒt||jƒt||jƒt||jƒtt|ƒid
ƒdjƒtt|ƒt	|ƒƒtd|jƒx$t
dƒD]}t||jƒq€Wtd|jƒdtfd„ƒY}|dƒ}|d
ƒ}	|dƒ}
t|ƒt|	ƒtt|ƒtdƒƒt||ƒt||	jƒt||jƒt||	ƒtt||	ƒdƒtt||ƒdƒtt||
ƒd
ƒtt|ƒdƒtt	|ƒdƒ|t
dƒƒ}td|jƒx$t
dƒD]}t||jƒqçWtd|jƒdtfd„ƒY}|dƒ}|d
ƒ}	|dƒ}
t|ƒt|	ƒtt|ƒtdƒƒt||ƒt||	jƒt||jƒt||	ƒtt||	ƒdƒtt||ƒdƒtt||
ƒd
ƒtt|ƒdƒtt	|ƒdƒ|t
dƒƒ}td|jƒx$t
dƒD]}t||jƒqNWtd|jƒd„}
|
ddƒ|
ddƒ|
d
dƒ|
dd
ƒ|
d
dƒ|
dd
ƒdtfd„ƒY}ddk}|i}t
ƒ|_y|dƒGHWntj
onXtd‚||_dS(NsTesting special operators...RccBseZd„ZRS(cSs0d|jo
djno|Snt‚dS(Nii
(t
IndexError(RJRC((s+/usr/local/lib/python2.5/test/test_descr.pyR6s(R*R+R6(((s+/usr/local/lib/python2.5/test/test_descr.pyRcssC object at iiÿÿÿÿi
RðcBseZd„ZRS(cSs0d|jo
djno|Snt‚dS(Nii
(R¶(RJRC((s+/usr/local/lib/python2.5/test/test_descr.pyR6s(R*R+R6(((s+/usr/local/lib/python2.5/test/test_descr.pyRðssD object at tProxycBsYeZd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Z	d„Z
RS(	cSs
||_dS(N(RŠ(RJRŠ((s+/usr/local/lib/python2.5/test/test_descr.pyRO3scSs	|iS(N(RŠ(RJ((s+/usr/local/lib/python2.5/test/test_descr.pyR»5scSs
t|iƒS(N(thashRŠ(RJ((s+/usr/local/lib/python2.5/test/test_descr.pyt__hash__7scSs
|i|jS(N(RŠ(RJR¹((s+/usr/local/lib/python2.5/test/test_descr.pyt__eq__9scSs
|i|jS(N(RŠ(RJR¹((s+/usr/local/lib/python2.5/test/test_descr.pyt__ne__;scSst|i|iƒS(N(R¡RŠ(RJR¹((s+/usr/local/lib/python2.5/test/test_descr.pyR;=scSsd|iS(NsProxy:%s(RŠ(RJ((s+/usr/local/lib/python2.5/test/test_descr.pyRÍ?scSsd|iS(Ns	Proxy(%r)(RŠ(RJ((s+/usr/local/lib/python2.5/test/test_descr.pyRAAscSs
||ijS(N(RŠ(RJRä((s+/usr/local/lib/python2.5/test/test_descr.pyR5Cs(R*R+ROR»R¹RºR»R;RÍRAR5(((s+/usr/local/lib/python2.5/test/test_descr.pyR·2s								isProxy:0sProxy(0)tDProxycBsYeZd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Z	d„Z
RS(	cSs
||_dS(N(RŠ(RJRŠ((s+/usr/local/lib/python2.5/test/test_descr.pyRO[scSs	|iS(N(RŠ(RJ((s+/usr/local/lib/python2.5/test/test_descr.pyR»]scSs
t|iƒS(N(RžRŠ(RJ((s+/usr/local/lib/python2.5/test/test_descr.pyR¹_scSs
|i|jS(N(RŠ(RJR¹((s+/usr/local/lib/python2.5/test/test_descr.pyRºascSs
|i|jS(N(RŠ(RJR¹((s+/usr/local/lib/python2.5/test/test_descr.pyR»cscSst|i|iƒS(N(R¡RŠ(RJR¹((s+/usr/local/lib/python2.5/test/test_descr.pyR;escSsd|iS(Ns	DProxy:%s(RŠ(RJ((s+/usr/local/lib/python2.5/test/test_descr.pyRÍgscSsd|iS(Ns
DProxy(%r)(RŠ(RJ((s+/usr/local/lib/python2.5/test/test_descr.pyRAiscSs
||ijS(N(RŠ(RJRä((s+/usr/local/lib/python2.5/test/test_descr.pyR5ks(R*R+ROR»R¹RºR»R;RÍRAR5(((s+/usr/local/lib/python2.5/test/test_descr.pyRŒZs								sDProxy:0s	DProxy(0)cSsJy|ii||ƒWntj
onXtd|i||f‚dS(Ns"shouldn't allow %s.__cmp__(%r, %r)(RR;RYR(RR	((s+/usr/local/lib/python2.5/test/test_descr.pyt	unsafecmp‚su123t123gð?ltLettercBseZd„Zd„ZRS(cSs.|djoti|ƒSnti||ƒS(NtEPS(RRÄ(RÆtletter((s+/usr/local/lib/python2.5/test/test_descr.pyRĒs
cSs|pdSn|S(NRÀ((RJ((s+/usr/local/lib/python2.5/test/test_descr.pyR͖s(R*R+RÄRÍ(((s+/usr/local/lib/python2.5/test/test_descr.pyR¿‘s	tws+expected a RuntimeError for print recursion(RR3RtidRžRR¡RtfindR@R\R„RsRtRuntimeErrorR(RcRŽtc2RCRðRR”R·tp0tp1tp_1tp10RŒRœR¿R„ttest_stdout((s+/usr/local/lib/python2.5/test/test_descr.pytspecialsþsÊ			

+

		

+





	





		c	CsHto	dGHnddk}dtfd„ƒY}|ƒ}|i|ƒ}t|ƒ|jƒ~t|ƒdjƒ~dtfd„ƒY}|ƒ}y|i|ƒWn4tj
o(}tt|ƒidƒdjƒnXtdd	ƒd
tfd„ƒY}|ƒ}|i|ƒ}t|ƒ|jƒ~t|ƒdjƒ~dS(NsTesting weak references...iÿÿÿÿRccBseZRS((R*R+(((s+/usr/local/lib/python2.5/test/test_descr.pyRc«stNoWeakcBseZdgZRS(RÓ(R*R+RÌ(((s+/usr/local/lib/python2.5/test/test_descr.pyRͳssweak referenceis!weakref.ref(no) should be illegaltWeakcBseZddgZRS(RÓRy(R*R+RÌ(((s+/usr/local/lib/python2.5/test/test_descr.pyRÎŒs(	RtweakrefR3trefRR2RYRRÄ(	RÏRcRtrRÍtnoRKRÎtyes((s+/usr/local/lib/python2.5/test/test_descr.pytweakrefsšs0			$
	csöto	dGHndtfd„ƒY}|ƒ}tt|dƒƒd|_t|idƒt|idƒ|`tt|dƒƒtt|dƒƒ|ii|dƒt|ii|ƒdƒ|ii	|ƒtt|dƒƒ|i
d}tt|tƒƒt
|ƒ}td|jƒtd	|jƒtd
|jƒtd|jƒt|idƒt|i|i
d
jƒt|i|i
djƒt|i|i
djƒx†dD]~}yt||dƒWnQtj
oE}t|ƒidƒdjo td|t|ƒfƒ‚q9q»Xtd|ƒ‚q»Wdtfd„ƒY}|ƒ}yx|D]}t|ƒqfWWntj
onXtd‚dtfd„ƒY}	yddk‰Wntj
onXdtf‡fd†ƒY}
dS(NsTesting property...RccBs;eZd„Zd„Zd„ZeeeeddƒZRS(cSs|iS(N(Rž(RJ((s+/usr/local/lib/python2.5/test/test_descr.pytgetxÈscSs
||_dS(N(Rž(RJRä((s+/usr/local/lib/python2.5/test/test_descr.pytsetxÊscSs
|`dS(N(Rž(RJ((s+/usr/local/lib/python2.5/test/test_descr.pytdelxÌstdocsI'm the x property.(R*R+RÕRÖR×RvRŠ(((s+/usr/local/lib/python2.5/test/test_descr.pyRcÇs			RŠi*RžidR,tfgettfsettfdelsI'm the x property.RÕRÖR×treadonlyisLwhen setting readonly attr %r on a property, got unexpected TypeError msg %rsDexpected TypeError from trying to set readonly %r attr on a propertyRðcBseZed„ƒZRS(cSsddS(ii((Rq((s+/usr/local/lib/python2.5/test/test_descr.pyRK÷s(R*R+RvR6(((s+/usr/local/lib/python2.5/test/test_descr.pyRðöss,expected ZeroDivisionError from bad propertyRcBsUeZd„Zd„ZeeƒZeeidƒedeƒZeeidƒRS(cSsdS(s
getter methodi((RJ((s+/usr/local/lib/python2.5/test/test_descr.pytgetterscSsdS(s
setter methodN((RJRä((s+/usr/local/lib/python2.5/test/test_descr.pytsetterss
getter methodRÚN(
R*R+RÝRÞRvtpropRR,tprop2R2(((s+/usr/local/lib/python2.5/test/test_descr.pyRs		iÿÿÿÿR4cseZeˆiƒZRS((R*R+Rvttest_with_docstringtp((t	_testcapi(s+/usr/local/lib/python2.5/test/test_descr.pyR4s(s__doc__sfgetsfsetsfdel(RR3RRŽRŠRRžRœRøRRRãRvR‚R,RÙRÚRÛR÷RYRRÄRtZeroDivisionErrorRãtImportError(RcRtrawtattrstattrRKRðR'RCRR4((Rãs+/usr/local/lib/python2.5/test/test_descr.pyt
propertiesÅsf			
		
cs+to	dGHndtfd„ƒY}t|ƒidƒdƒd|f‡fd†ƒY‰tˆƒidƒd	ƒd
|fd„ƒY}t|ƒ|_t|ƒidƒd
ƒd|ˆf‡fd†ƒY‰tˆƒidƒdƒdtf‡fd†ƒY‰dˆf‡‡fd†ƒY‰tˆƒidƒdƒdˆfd„ƒY}ˆ|ƒ|_t|ƒidƒdƒytˆdƒWntj
onXtd‚ytˆ|ƒƒWntj
onXtd‚ytˆƒi	dƒWntj
onXtd ‚ytˆƒi	|ƒƒWntj
onXtd!‚d"tfd#„ƒY}d$|fd%„ƒY}|ƒ}t|i
d&ƒtt||ƒi
dƒd'tfd(„ƒY}d)|f‡fd*†ƒY‰tˆiƒ|i
ƒyt|d+dƒWntj
onXtd,‚dS(-NsTesting super...RicBseZd„ZRS(cSsd|S(NsA(%r)((RJR((s+/usr/local/lib/python2.5/test/test_descr.pyRs(R*R+R(((s+/usr/local/lib/python2.5/test/test_descr.pyRisisA(1)Rcs eZ‡fd†Zd„ZRS(cstˆ|ƒ|_dS(N(RþR(RJ(R(s+/usr/local/lib/python2.5/test/test_descr.pyRO"scSsd||ii|ƒS(NsB(%r)(RR(RJR((s+/usr/local/lib/python2.5/test/test_descr.pyR$s(R*R+ROR((R(s+/usr/local/lib/python2.5/test/test_descr.pyR!sisB(2)A(2)RccBseZd„ZRS(cSsd||ii|ƒS(NsC(%r)(RR(RJR((s+/usr/local/lib/python2.5/test/test_descr.pyR*s(R*R+R(((s+/usr/local/lib/python2.5/test/test_descr.pyRc)sisC(3)A(3)RðcseZ‡fd†ZRS(csd|tˆ|ƒi|ƒS(NsD(%r)(RþR(RJR(Rð(s+/usr/local/lib/python2.5/test/test_descr.pyR1s(R*R+R((Rð(s+/usr/local/lib/python2.5/test/test_descr.pyRð0sisD(4)C(4)B(4)A(4)tmysupercseZ‡fd†ZRS(cstˆ|ƒi|ŒS(N(RþRO(RJRÇ(Rê(s+/usr/local/lib/python2.5/test/test_descr.pyRO9s(R*R+RO((Rê(s+/usr/local/lib/python2.5/test/test_descr.pyRê8sRcseZ‡‡fd†ZRS(csd|ˆˆ|ƒi|ƒS(NsE(%r)(R(RJR(RRê(s+/usr/local/lib/python2.5/test/test_descr.pyR=s(R*R+R((RRê(s+/usr/local/lib/python2.5/test/test_descr.pyR<sisE(5)D(5)C(5)B(5)A(5)R'cBseZd„ZRS(cSs*|i}d||iif|i|ƒS(Ns	F(%r)[%s](t	_F__superRR*R(RJRRq((s+/usr/local/lib/python2.5/test/test_descr.pyRCs	(R*R+R(((s+/usr/local/lib/python2.5/test/test_descr.pyR'Bsis!F(6)[mysuper]E(6)D(6)C(6)B(6)A(6)i*sshouldn't allow super(D, 42)sshouldn't allow super(D, C())is$shouldn't allow super(D).__get__(12)s%shouldn't allow super(D).__get__(C())tDDbasecBseZd„ZeeƒZRS(cSsdS(Ni*((RJ((s+/usr/local/lib/python2.5/test/test_descr.pyRÕls(R*R+RÕRvRŠ(((s+/usr/local/lib/python2.5/test/test_descr.pyRìks	tDDsubcBseZd„ZeeƒZRS(cSsdS(NR!((RJ((s+/usr/local/lib/python2.5/test/test_descr.pyRÕps(R*R+RÕRvRŠ(((s+/usr/local/lib/python2.5/test/test_descr.pyRíos	R!tBasecBseZed„ƒZRS(cSsdS(RÓ((RJ((s+/usr/local/lib/python2.5/test/test_descr.pyRK{s(R*R+RvtaProp(((s+/usr/local/lib/python2.5/test/test_descr.pyRîzstSubcseZe‡fd†ƒZRS(cstˆ|ƒiS(N(RþRï(tklass(Rð(s+/usr/local/lib/python2.5/test/test_descr.pyttest~s(R*R+R‰Rò((Rð(s+/usr/local/lib/python2.5/test/test_descr.pyRð}sRâs#super shouldn't accept keyword args(RR3RRRþRRëRYRRøRŠR
RòRï(RiRcR'RìRítddRî((RRðRêRRðs+/usr/local/lib/python2.5/test/test_descr.pytsuperssd						c"sQto	dGHndtf‡fd†ƒY‰ttˆdƒdƒdƒttˆdƒdƒdƒˆd	ƒ}t|d	ƒtt|ƒd	ƒtt|ƒitjƒtt|ƒtd	ƒƒt|
itjƒt|d
?itjƒt|d
>itjƒtˆd
ƒd>itjƒtˆd
ƒd?itjƒdtf‡fd
†ƒY‰ttˆdƒdƒdƒttdˆdƒƒdƒˆd	ƒ}t|dƒtt|ƒdƒtt|ƒtdƒƒtt|ƒitjƒt|
itjƒt|itjƒtˆd
ƒitjƒt|d
?itjƒt|d
>itjƒt|d
itjƒt|ditjƒt|ditjƒt|ditjƒtd|itjƒt|d
Bitjƒt|d
Aitjƒt|d@itjƒtˆd
ƒd>itjƒtˆd
ƒd?itjƒtt	ˆd
ƒƒitjƒdtfd„ƒY}|dƒ}t|d
itjƒtd
|itjƒ|dƒ}t|i
hƒtt|ƒdƒdtfd„ƒY}tt|dƒƒdƒ|d	ƒ}t|dƒtt|ƒdƒtt|ƒitjƒtt|ƒtdƒƒt|
itjƒdtfd„ƒY}|d d!ƒ}tt|ƒd"ƒtd d!ƒ}t
|itƒt||ƒtt|ƒ|ƒt
t|ƒitƒ||ƒ}tt|ƒd"ƒt||ƒtt|ƒ|ƒt
t|ƒitƒtt|ƒt|ƒƒt
|
itƒt
|d
itƒt|d
|ƒt
|d
itƒt|d
|ƒt
|ditƒt|d|ƒt
|ditƒt|d|ƒd#tfd$„ƒY}|dKƒ}t|dLƒt|iƒ|dMƒƒt|iƒiƒ|dNƒƒxKtd(ƒD]=}|t|ƒƒ}|iƒ}|iƒ}	t|	|ƒq©W|dOƒ}tt|ƒdPƒtt|ƒitjƒtt|ƒtdQƒƒt|itjƒt|ditjƒt|d
itjƒt|dRitjƒ|dSƒ}tt|ƒdTƒtt|ƒitjƒt||itjƒt|d
itjƒt|ditjƒt|d%itjƒt|itjƒd)tfd*„ƒY}
|
d+ƒ}t|d+ƒt|iƒ|
d,ƒƒt|iƒiƒ|
d+ƒƒx]td-ƒD]O}|
d.ittt|ƒƒƒƒ}|iƒ}|iƒ}t||ƒq°W|
d/ƒ}tt|ƒd/ƒtt|ƒitjƒdU}|
|ƒ}t||ƒtt|ƒ|ƒtt|ƒitjƒtt|ƒt|ƒƒthd|<|dƒthd|<|dƒt|d.itjƒt|d.|ƒtd.|itjƒtd.||ƒt|d
itjƒt|d
d.ƒt|ditjƒt|d|ƒt|d%itjƒt|d%||ƒt|itjƒt||ƒt|d
d
!itjƒt|d
d
!d.ƒt|iƒitjƒt|iƒ|ƒt|iƒitjƒt|iƒ|ƒt|iƒitjƒt|iƒ|ƒd.ig}td-ƒD]}|t|ƒqŠ~ƒ}
t|i|
ƒitjƒt|i|
ƒ|ƒt|i|
d1ƒitjƒt|i|
d1ƒ|ƒt|i|
d0ƒd.ƒt|id1d1ƒitjƒt|id1d1ƒ|ƒt|it|ƒƒitjƒt|it|ƒƒ|ƒt|it|ƒƒitjƒt|it|ƒƒ|ƒt|it|ƒƒitjƒt|it|ƒƒ|ƒt|iƒitjƒt|iƒ|ƒd2tfd3„ƒY}|d4ƒ}t|d5ƒt|iƒ|d6ƒƒt|iƒiƒ|d5ƒƒd7}||ƒ}tt|ƒ|ƒtt|ƒitjƒtt|ƒt|ƒƒthd|<|dƒthd|<|dƒt|iƒitjƒt|iƒ|ƒt|iƒitjƒt|iƒ|ƒt|iƒitjƒt|iƒ|ƒt|id8d8ƒitjƒt|id8d8ƒ|ƒt|id9d9ƒitjƒt|id9d9ƒ|ƒt|it|ƒƒitjƒt|it|ƒƒ|ƒt|it|ƒƒitjƒt|it|ƒƒ|ƒt|it|ƒƒitjƒt|it|ƒƒ|ƒt|iƒitjƒt|iƒ|ƒt|iƒitjƒt|iƒ|ƒt|i ƒitjƒt|i ƒ|ƒt|i!ƒitjƒt|i!ƒ|ƒt|d:itjƒt|d:|ƒtd:|itjƒtd:||ƒt|d
itjƒt|d
d:ƒt|ditjƒt|d|ƒt|d%itjƒt|d%||ƒt|itjƒt||ƒt|d
d
!itjƒt|d
d
!d:ƒd;t"fd<„ƒY}|tdƒƒ}t|tdƒƒ|i#d=ƒt|tdƒd=gƒd|d<t|td&ƒƒ|i$td&d>ƒƒt|td>ƒƒg|d?)t|td@ƒƒ|dAd@5tt|ƒdAƒt|tdAƒƒtt"|ƒtdAƒƒt|d
d
ƒt|ddƒt|dBd
ƒt|ddƒt|d tdƒƒdCt%fdD„ƒY}t%dEt&dFdGƒ}dHdIdJg}z±|i'|ƒ|i(ƒ|t&ƒ}x}t)tddƒd!g|d%d.gƒD]Q\}}|i*ƒ}t||ƒt|i+|ƒt|i,|t|ƒjƒqªW|i(ƒWdy|i(ƒWnnXyddk-}|i.t&ƒWnnXXdS(VNs'Testing inheritance from basic types...thexintcs eZd„Z‡fd†ZRS(cSs
t|ƒS(N(R²(RJ((s+/usr/local/lib/python2.5/test/test_descr.pyRAscsˆti||ƒƒS(N(R¯R(RJR¹(Rõ(s+/usr/local/lib/python2.5/test/test_descr.pyR’s(R*R+RAR((Rõ(s+/usr/local/lib/python2.5/test/test_descr.pyRõs	ii	t0x10ièt0x3efi90iitoctlongcs,eZgZd„Z‡fd†ZeZRS(cSs/t|ƒ}|ddjo|d }n|S(NiÿÿÿÿR‚(R±(RJRq((s+/usr/local/lib/python2.5/test/test_descr.pyRÍ¥scs|itˆ|ƒi|ƒƒS(N(RRþR(RJR¹(Rø(s+/usr/local/lib/python2.5/test/test_descr.pyRªs(R*R+RÌRÍRt__radd__((Rø(s+/usr/local/lib/python2.5/test/test_descr.pyRø£s	iit010ižt05675l90ilÿÿÿÿt	longclonecBseZRS((R*R+(((s+/usr/local/lib/python2.5/test/test_descr.pyRüÉsiÿÿÿÿt	precfloatcBs)eZdgZddd„Zd„ZRS(RÂgicSs t|ƒ|_ti|ƒdS(N(R¯RÂR°RO(RJRäRÂ((s+/usr/local/lib/python2.5/test/test_descr.pyROÖscSsd|i|fS(Ns%.*g(RÂ(RJ((s+/usr/local/lib/python2.5/test/test_descr.pyRAÙs(R*R+RÌRORA(((s+/usr/local/lib/python2.5/test/test_descr.pyRýÔs	gš™™™™™ñ?s1.1g€È@t
madcomplexcBseZd„ZRS(cSsd|i|ifS(Ns%.17gj%+.17g(RÊRË(RJ((s+/usr/local/lib/python2.5/test/test_descr.pyRAäs(R*R+RA(((s+/usr/local/lib/python2.5/test/test_descr.pyRþãsiýÿÿÿis4j-3tmadtuplecBseZdZd„ZRS(cSsJ|idj	o|iSnt|ƒ}|iƒ|i|ƒ|_|iS(N(t_revR2RëR©R(RJR‚((s+/usr/local/lib/python2.5/test/test_descr.pytrevÿs
N(R*R+R2RR(((s+/usr/local/lib/python2.5/test/test_descr.pyRÿýsiiiit	madstringcBseZdZd„ZRS(cSsS|idj	o|iSnt|ƒ}|iƒ|idi|ƒƒ|_|iS(NRº(RR2RëR©Rtjoin(RJR‚((s+/usr/local/lib/python2.5/test/test_descr.pyR"	s
N(R*R+R2RR(((s+/usr/local/lib/python2.5/test/test_descr.pyR 	stabcdefghijklmnopqrstuvwxyztzyxwvutsrqponmlkjihgfedcbaiRºt12345tRŠt
madunicodecBseZdZd„ZRS(cSsS|idj	o|iSnt|ƒ}|iƒ|idi|ƒƒ|_|iS(Nu(RR2RëR©RR(RJR‚((s+/usr/local/lib/python2.5/test/test_descr.pyRe	s
N(R*R+R2RR(((s+/usr/local/lib/python2.5/test/test_descr.pyRc	stABCDEFuABCDEFuFEDCBAu12345uxuxyutsublistcBseZRS((R*R+(((s+/usr/local/lib/python2.5/test/test_descr.pyR
ž	sR!iiûÿÿÿii
iöÿÿÿtCountedInputcBs#eZdZdZdZd„ZRS(s€Counts lines read by self.readline().

        self.lineno is the 0-based ordinal of the last line read, up to
        a maximum of one greater than the number of lines in the file.

        self.ateof is true if and only if the final "" line has been read,
        at which point self.lineno stops incrementing, and further calls
        to readline() continue to return "".
        icSsN|iodSnti|ƒ}|id7_|djo
d|_n|S(NRºi(tateoftfiletreadlinetlineno(RJRq((s+/usr/local/lib/python2.5/test/test_descr.pyRÁ	s


(R*R+R,RRR(((s+/usr/local/lib/python2.5/test/test_descr.pyRŽ	s	R}tmodeRÂsa
sb
sc
(
iiiiiiiii	i(
iiiiiiiii	i(
ii	iiiiiiii(
iiiiiiiii	i(iiiii(iiiii(iiiii(((t(/RR¯RR@RRRžRVRR¬RR°RÃR
ttupleRR\Rtmaptchrtstriptlstriptrstript	translatetreplacetljustR|trjusttcentertlowerRktuppert
capitalizettitleRëR=RìR
Rt
writelinestcloseR[RRRtostunlink(RRüRýRþtbaseRÿRCRtuRÜRRqR^tidentitytabRR
RR‹tlinesRItgotR#((RøRõs+/usr/local/lib/python2.5/test/test_descr.pytinheritsŒsþ	





	

	

$
6"""	
"""





+
 c	CsHto	dGHnttddƒdƒttddƒdƒttddƒdƒttdd	d
dƒtdd	ƒƒttdd
ƒdƒttddddƒdƒttdt	dƒƒdƒtt
ddƒt	dƒƒx`tttttttt
tf	D]=}y|ddƒWntj
oqXt
d|ƒ‚qWdS(Ns3Testing keyword args to basic type constructors ...RŠiig@ilRÊi*RËišR3iôt500tstringRŽRˆtstrictuabctsequenceitbogus_keyword_args4expected TypeError from bogus keyword argument to %r(iii(iii(RRR¯R°RVRÃRRkRR\RëR
RYR(tconstructor((s+/usr/local/lib/python2.5/test/test_descr.pytkeywordsã	s&	%
c

Cs8dSddk}to	dGHn|iƒ}dt}dt}dttf}ttdƒ}|iƒz x™|||fD]ˆ}y|i|ƒWnAtj
o5}t|ƒi	dƒdjo
d	}qÝd
}nXd}|d	jot
d||fƒ‚q|q|WWdyddk}	|	itƒWnnXXdS(
Niÿÿÿÿs1Testing interaction with restricted execution ...sf = open(%r, 'w')sf = file(%r, 'w')s„f = open(%r)
t = type(f)  # a sneaky way to get the file() constructor
f.close()
f = t(%r, 'w')  # rexec can't catch this by itself
RÂt
restricteditOKs)got an exception, but not an expected ones)expected a restricted-execution exceptions	%s, in %r(
trexecRtRExecRtopenR"tr_exectIOErrorRRÄRR#R$(
R4tsandboxtcode1tcode2tcode3R‹tcodeRKtoutcomeR#((s+/usr/local/lib/python2.5/test/test_descr.pyR2ú	s6	




"csto	dGHndtf‡fd†ƒY‰tˆdƒdƒtdˆdƒƒttˆdƒƒdƒhdˆdƒ<d	ˆd
ƒ<dˆdƒ<}t|ˆdƒdƒt|ˆd
ƒd	ƒt|ˆdƒdƒtˆdƒ|jƒt|iˆdƒƒdƒdS(Ns*Testing a str subclass used as dict key ..tcistrcs/eZdZd„Z‡fd†Zd„ZRS(s…Sublcass of str that computes __eq__ case-insensitively.

        Also computes a hash code of the string in canonical form.
        cSs%|iƒ|_t|iƒ|_dS(N(Rt	canonicalRžthashcode(RJRä((s+/usr/local/lib/python2.5/test/test_descr.pyRO/
scs0t|ˆƒpˆ|ƒ}n|i|ijS(N(RãR@(RJR¹(R?(s+/usr/local/lib/python2.5/test/test_descr.pyRº3
scSs|iS(N(RA(RJ((s+/usr/local/lib/python2.5/test/test_descr.pyR¹8
s(R*R+R,RORºR¹((R?(s+/usr/local/lib/python2.5/test/test_descr.pyR?)
s	tABCRŽtaBciRFiRGittHreettWotTHrEEtONetthrEE(RRRRRÅ(R'((R?s+/usr/local/lib/python2.5/test/test_descr.pytstr_subclass_as_dict_key%
s	3c	sÄto	dGHnddd„ƒY}xš|ttfD]‰}to
d|GHnd|f‡fd†ƒY‰ˆdƒ}ˆdƒ}ˆd	ƒ}t|dƒh|d<|d<|d	<}xþdD]ö}xídD]å}tt||||ƒt||ƒjd
||fƒx?dD]7}ttd|ƒtd|ƒjd
||fƒqWtt|||ƒt||ƒjd
||fƒtt|||ƒt||ƒjd
||fƒqÏWqÂWq3WdS(NsTesting classic comparisons...R–cBseZRS((R*R+(((s+/usr/local/lib/python2.5/test/test_descr.pyR–H
ss        (base = %s)Rccs eZd„Z‡fd†ZRS(cSst|ƒ|_dS(N(R¯Rä(RJRä((s+/usr/local/lib/python2.5/test/test_descr.pyROM
scs_t|ˆƒot|i|iƒSnt|tƒpt|tƒot|i|ƒSntS(N(RãR¡RäR¯RVRž(RJR¹(Rc(s+/usr/local/lib/python2.5/test/test_descr.pyR;O
s
 (R*R+ROR;((Rc(s+/usr/local/lib/python2.5/test/test_descr.pyRcL
s	iiis
x=%d, y=%dR¢s<=s==s!=R§s>=sc[x] %s c[y]sx %s y((iii(iii(R¢s<=s==s!=R§s>=(RR¯R3RRR¡R
(	R–R%RŽRÆtc3RRŠtytop((Rcs+/usr/local/lib/python2.5/test/test_descr.pytclassic_comparisonsF
s0	
	
!7 3c

sto	dGHndtfd„ƒY}|dƒ}t|dƒtd|ƒdtfd„ƒY}|dƒ}t|dƒtd|ƒd	dd
„ƒY}xb|tttfD]N}to
d|GHnd|f‡fd
†ƒY‰ˆdƒ}ˆdƒ}ˆdƒ}t|dƒh|d<|d<|d<}	xÃd D]»}
x²d!D]ª}x¡d"D]™}ttd|ƒtd|ƒjd|
|fƒttd|ƒtd|ƒjd|
|fƒttd|ƒtd|ƒjd|
|fƒqWWqJWq=Wq®WdS(#NsTesting rich comparisons...R6cBseZRS((R*R+(((s+/usr/local/lib/python2.5/test/test_descr.pyR6f
siytZZcBseZd„ZRS(cSs*yt||ƒdjSWntSnXdS(Ngíµ ÷Æ°>(R¬Rž(RJR¹((s+/usr/local/lib/python2.5/test/test_descr.pyRºl
s(R*R+Rº(((s+/usr/local/lib/python2.5/test/test_descr.pyRNk
sgÐׇPð?R–cBseZRS((R*R+(((s+/usr/local/lib/python2.5/test/test_descr.pyR–u
ss        (base = %s)RccsteZd„Zd„Z‡fd†Z‡fd†Z‡fd†Z‡fd†Z‡fd†Z‡fd†Z	RS(cSst|ƒ|_dS(N(R¯Rä(RJRä((s+/usr/local/lib/python2.5/test/test_descr.pyROz
scSs
td‚dS(Nsshouldn't call __cmp__(R(RJR¹((s+/usr/local/lib/python2.5/test/test_descr.pyR;|
scsYt|ˆƒo|i|ijSnt|tƒpt|tƒo|i|jSntS(N(RãRäR¯RVRž(RJR¹(Rc(s+/usr/local/lib/python2.5/test/test_descr.pyRº~
s
 csYt|ˆƒo|i|ijSnt|tƒpt|tƒo|i|jSntS(N(RãRäR¯RVRž(RJR¹(Rc(s+/usr/local/lib/python2.5/test/test_descr.pyR»„
s
 csYt|ˆƒo|i|ijSnt|tƒpt|tƒo|i|jSntS(N(RãRäR¯RVRž(RJR¹(Rc(s+/usr/local/lib/python2.5/test/test_descr.pyt__lt__Š
s
 csYt|ˆƒo|i|ijSnt|tƒpt|tƒo|i|jSntS(N(RãRäR¯RVRž(RJR¹(Rc(s+/usr/local/lib/python2.5/test/test_descr.pyt__le__
s
 csYt|ˆƒo|i|ijSnt|tƒpt|tƒo|i|jSntS(N(RãRäR¯RVRž(RJR¹(Rc(s+/usr/local/lib/python2.5/test/test_descr.pyt__gt__–
s
 csYt|ˆƒo|i|ijSnt|tƒpt|tƒo|i|jSntS(N(RãRäR¯RVRž(RJR¹(Rc(s+/usr/local/lib/python2.5/test/test_descr.pyt__ge__œ
s
 (
R*R+ROR;RºR»RORPRQRR((Rc(s+/usr/local/lib/python2.5/test/test_descr.pyRcy
s		iiR¢s<=s==s!=R§s>=sc[x] %s c[y]sx %s ys
x=%d, y=%ds	c[x] %s ys	x %s c[y]yð?yð?yð?yð?((iii(iii(R¢s<=s==s!=R§s>=(RRÃRR¯R3RëRR
(
R6RmRNtzzR–R%RŽRÆRJRRŠRKRL((Rcs+/usr/local/lib/python2.5/test/test_descr.pytrich_comparisonsc
sB	




)
!   cCsèto	dGHndtfd„ƒY}t|dƒdƒtd|dƒƒdtfd„ƒY}t|dƒdƒt|dƒdƒtd|dƒƒtd|dƒƒdtfd	„ƒY}t|dƒdƒt|dƒdƒt|dƒd
ƒtd|dƒƒtd|dƒƒtd
|dƒƒdtfd„ƒY}t|dƒdƒt|dƒdƒt|dƒd
ƒt|dƒd
ƒtd|dƒƒtd|dƒƒtd
|dƒƒtd
|dƒƒdS(NsTesting coercions...R€cBseZRS((R*R+(((s+/usr/local/lib/python2.5/test/test_descr.pyR€³
siR‚cBseZRS((R*R+(((s+/usr/local/lib/python2.5/test/test_descr.pyR‚¶
slR'cBseZRS((R*R+(((s+/usr/local/lib/python2.5/test/test_descr.pyR'»
sgRccBseZRS((R*R+(((s+/usr/local/lib/python2.5/test/test_descr.pyRcÂ
sy(RR¯tcoerceRVR°RÃ(R€R‚R'Rc((s+/usr/local/lib/python2.5/test/test_descr.pyt	coercions±
s4	cCs=to	dGHnd„}|tidƒ|tidƒdS(Ns!Testing descriptor doc strings...cSst|i|ƒdS(N(RR,(tdescrtwhat((s+/usr/local/lib/python2.5/test/test_descr.pytcheckÎ
ssTrue if the file is closeds	file name(RR
tclosedR}(RY((s+/usr/local/lib/python2.5/test/test_descr.pytdescrdocÌ
s
		c
CsÒto	dGHndtfd„ƒY}dtfd„ƒY}dtfd„ƒY}d||fd	„ƒY}xx||||fD]d}x[||||fD]G}|ƒ}||_t|i|jƒ||_t|i|jƒq—Wq~Wd
„}||ƒtƒ|tƒ|ƒ||ƒdƒ||ƒtƒ|tƒtƒ|tƒtƒdtfd
„ƒY}|d|ƒ||ƒtƒ|ttƒ|dtƒtƒ}	||	tdƒƒ||	tdƒƒ~	dS(NsTesting __class__ assignment...RccBseZRS((R*R+(((s+/usr/local/lib/python2.5/test/test_descr.pyRcÕ
sRðcBseZRS((R*R+(((s+/usr/local/lib/python2.5/test/test_descr.pyRðÖ
sRcBseZRS((R*R+(((s+/usr/local/lib/python2.5/test/test_descr.pyR×
sR'cBseZRS((R*R+(((s+/usr/local/lib/python2.5/test/test_descr.pyR'Ø
sc	Ssny
||_Wntj
onXtd||f‚yt|dƒWntj
onXtd|‚dS(Ns!shouldn't allow %r.__class__ = %rRs shouldn't allow del %r.__class__(RRYRR(RŠRc((s+/usr/local/lib/python2.5/test/test_descr.pytcantà
s
itIntcBseZgZRS((R*R+RÌ(((s+/usr/local/lib/python2.5/test/test_descr.pyR]ó
si(
RR3RRRëR¯tTruetboolRR2(
RcRðRR'RÆtcls2RŠR\R]to((s+/usr/local/lib/python2.5/test/test_descr.pytsetclassÓ
s>					



	cs—to	dGHndtfd„ƒY}|ƒ}hdd<|_t|idƒd„‰ˆ|dƒˆ|gƒˆ|dƒ|`dtfd„ƒY‰‡‡fd	†}d
tˆfd„ƒY‰dˆtfd
„ƒY‰dtf‡fd†ƒY}dtf‡fd†ƒY}x[|||fD]J}||ƒ|i}yd|d<Wntj
oq)Xtd|‚q)Wdt	i
ˆfd„ƒY}dˆt	i
fd„ƒY}x7||fD])}	|	dƒ}
||
ƒd|
id<qŒWdtˆfd„ƒY}dˆtfd„ƒY}xut||fD]d}
|
ƒ}hdd<|_t|idƒy
|`Wntt
fj
oq+Xtd|‚q+WdS(NsTesting __dict__ assignment...RccBseZRS((R*R+(((s+/usr/local/lib/python2.5/test/test_descr.pyRcÿ
siR	cSs@y
||_Wnttfj
onXtd||f‚dS(Ns shouldn't allow %r.__dict__ = %r(RRVRYR(RŠR((s+/usr/local/lib/python2.5/test/test_descr.pyR\s

RîcBseZRS((R*R+(((s+/usr/local/lib/python2.5/test/test_descr.pyRîsc	sŽˆ|hƒy
|`Wnttfj
onXtd|‚ˆid}y|i|hƒWnttfj
onXtd|‚dS(sJ
        x has to be an instance of a class inheriting from Base.
        sshouldn't allow del %r.__dict__Rs&dict_descr allowed access to %r's dictN(RRVRYRRœ(RŠt
dict_descr(R\Rî(s+/usr/local/lib/python2.5/test/test_descr.pytverify_dict_readonlys



tMeta1cBseZRS((R*R+(((s+/usr/local/lib/python2.5/test/test_descr.pyRe%stMeta2cBseZRS((R*R+(((s+/usr/local/lib/python2.5/test/test_descr.pyRf'sRðcseZˆZRS((R*R+Rï((Re(s+/usr/local/lib/python2.5/test/test_descr.pyRð)sRcseZˆZRS((R*R+Rï((Rf(s+/usr/local/lib/python2.5/test/test_descr.pyR+steggsRÒs%r's __dict__ can be modifiedtModule1cBseZRS((R*R+(((s+/usr/local/lib/python2.5/test/test_descr.pyRh8stModule2cBseZRS((R*R+(((s+/usr/local/lib/python2.5/test/test_descr.pyRi:st
Exception1cBseZRS((R*R+(((s+/usr/local/lib/python2.5/test/test_descr.pyRjBst
Exception2cBseZRS((R*R+(((s+/usr/local/lib/python2.5/test/test_descr.pyRkDsRs%r's __dict__ can be deleted(RR3RRR	R2RRYRRRt	ExceptionRRVt	TestFaied(RcRRdRðRRÆt
class_dictRhRiRR–RjRkt
ExceptionTypeRg((ReR\RîRfs+/usr/local/lib/python2.5/test/test_descr.pytsetdictý
sZ			



	

	
cCsrto	dGHnddk}ddk}d„}dtfd„ƒYadtfd„ƒYadtfd	„ƒYad
tfd„ƒYa	ddd
„ƒYa
dt
tfd„ƒYaxX||fD]J}xAdD]9}to|iGddg|GHnxHtttfD]7}|i
||ƒ}|i|ƒ}t||jƒqWtddƒ}|idƒ|idƒtdddƒ}	|i
||	f|ƒ}|i|ƒ\}
}t|
i|iƒt||
iƒ||iƒƒt|i|	iƒt||iƒ||	iƒƒtt|
ƒt|ƒƒtt|ƒt|	ƒƒtodG|GHdG|	GHnt	dƒ}|i
||ƒ}|i|ƒ}
t|i|
iƒt|i|
iƒtƒ}d|_|i
||ƒ}|i|ƒ}
t|i|
iƒt|i|
iƒqÏWqÂWto	dGHnddk}x6tttfD]%}|i|ƒ}t||jƒq<Wtddƒ}|idƒ|idƒtdddƒ}	|i||	fƒ\}
}t|
i|iƒt||
iƒ||iƒƒt|i|	iƒt||iƒ||	iƒƒtt|
ƒt|ƒƒtt|ƒt|	ƒƒtodG|GHdG|	GHndS(Ns=Testing pickling and copying new-style classes and objects...iÿÿÿÿcSs|iƒ}|iƒ|S(N(RWtsort(R'R‚((s+/usr/local/lib/python2.5/test/test_descr.pytsorteditemsWs
RccBseZd„Zd„ZRS(cSs)tt|ƒiƒ||_||_dS(N(RþRcRORR	(RJRR	((s+/usr/local/lib/python2.5/test/test_descr.pyRO^s	cSsd|i|ifS(Ns	C(%r, %r)(RR	(RJ((s+/usr/local/lib/python2.5/test/test_descr.pyRAbs(R*R+RORA(((s+/usr/local/lib/python2.5/test/test_descr.pyRc]s	RYcBs,eZd„Zd„Zd„Zd„ZRS(cSstt|ƒi|ƒS(N(RþRYRÄ(RÆRR	((s+/usr/local/lib/python2.5/test/test_descr.pyRÄgscSs|i|ifS(N(RR	(RJ((s+/usr/local/lib/python2.5/test/test_descr.pyt__getnewargs__iscSs||_||_dS(N(RR	(RJRR	((s+/usr/local/lib/python2.5/test/test_descr.pyROks	cSsd|i|it|ƒfS(NsC1(%r, %r)<%r>(RR	Rë(RJ((s+/usr/local/lib/python2.5/test/test_descr.pyRAns(R*R+RÄRsRORA(((s+/usr/local/lib/python2.5/test/test_descr.pyRYfs			R{cBs2eZdd„Zd„Zdd„Zd„ZRS(icSstt|ƒi||ƒS(N(RþR{RÄ(RÆRR	R((s+/usr/local/lib/python2.5/test/test_descr.pyRÄsscSs|i|it|ƒfS(N(RR	R¯(RJ((s+/usr/local/lib/python2.5/test/test_descr.pyRsuscSs||_||_dS(N(RR	(RJRR	R((s+/usr/local/lib/python2.5/test/test_descr.pyROws	cSsd|i|it|ƒfS(NsC2(%r, %r)<%r>(RR	R¯(RJ((s+/usr/local/lib/python2.5/test/test_descr.pyRAzs(R*R+RÄRsRORA(((s+/usr/local/lib/python2.5/test/test_descr.pyR{rs	RZcBs#eZd„Zd„Zd„ZRS(cSs
||_dS(N(RÓ(RJRÓ((s+/usr/local/lib/python2.5/test/test_descr.pyROscSs|iS(N(RÓ(RJ((s+/usr/local/lib/python2.5/test/test_descr.pyt__getstate__scSs
||_dS(N(RÓ(RJRÓ((s+/usr/local/lib/python2.5/test/test_descr.pyt__setstate__ƒs(R*R+RORtRu(((s+/usr/local/lib/python2.5/test/test_descr.pyRZ~s		t	C4classiccBseZRS((R*R+(((s+/usr/local/lib/python2.5/test/test_descr.pyRv‡sR[cBseZRS((R*R+(((s+/usr/local/lib/python2.5/test/test_descr.pyR[‰siittexttbinaryii*iR!R sa = x =sb = y =R((ii(RtpickletcPickleR3RcRëRYR¯R{RZRvR[R*tdumpstloadsRR=RRRR@R
RÓRÔR(RyRzRrRâtbinRÆRqR`RR	RŠRKR&RÜRÔ((s+/usr/local/lib/python2.5/test/test_descr.pytpicklesRsˆ				


	
			

	cCsqto	dGHnddk}ddk}dtfd„ƒYax,ttgD]}d|fd„ƒYadtfd„ƒYay|itƒƒWntj
onXt	d	|‚y|itƒƒWntj
onXt	d
|‚y|itƒƒWntj
onXt	d|‚y|itƒƒWntj
onXt	d|‚d|fd
„ƒYadtfd„ƒYatƒ}|i
|i|ƒƒ}tt|dƒdƒ|i
|i|ƒƒ}tt|dƒdƒd|_
|i
|i|ƒƒ}t|i
dƒ|i
|i|ƒƒ}t|i
dƒtƒ}d|_
d|_|i
|i|ƒƒ}t|i
|idƒ|i
|i|ƒƒ}t|i
|idƒdtfd„ƒYatƒ}d|_
d|_|i
|i|ƒƒ}t|i
|i
ƒt|i|iƒ|i
|i|ƒƒ}t|i
|i
ƒt|i|iƒqKWdS(Ns.Testing pickling of classes with __slots__ ...iÿÿÿÿRcBseZRS((R*R+(((s+/usr/local/lib/python2.5/test/test_descr.pyRËsRccBseZdgZRS(R(R*R+RÌ(((s+/usr/local/lib/python2.5/test/test_descr.pyRcÎsRðcBseZRS((R*R+(((s+/usr/local/lib/python2.5/test/test_descr.pyRðÐss#should fail: pickle C instance - %ss$should fail: cPickle C instance - %ss#should fail: pickle D instance - %ss$should fail: cPickle D instance - %scBs#eZdgZd„Zd„ZRS(RcSs—y|iiƒ}Wntj
o
h}nXxa|iiD]S}xJ|iiddƒD]3}yt||ƒ||<WqXtj
oqXXqXWq<W|S(NRÌ((RRÔRVRR/RÅR(RJR'RÆtsn((s+/usr/local/lib/python2.5/test/test_descr.pyRtís

cSs1x*|iƒD]\}}t|||ƒq
WdS(N(RWR÷(RJR'RÛRÜ((s+/usr/local/lib/python2.5/test/test_descr.pyRuùs
(R*R+RÌRtRu(((s+/usr/local/lib/python2.5/test/test_descr.pyRcës		cBseZRS((R*R+(((s+/usr/local/lib/python2.5/test/test_descr.pyRðüsRii*idiŽRcBseZdgZRS(R	(R*R+RÌ(((s+/usr/local/lib/python2.5/test/test_descr.pyRsRÓ(RRyRzR3RRcRðR{RYRR|RRŽRR	R(RyRzR%RŠRK((s+/usr/local/lib/python2.5/test/test_descr.pytpickleslotsÆsr	




								cCsÿto	dGHnddk}dtfd„ƒY}|ƒ}d|_|i|ƒ}t|i|iƒdddg|_|i|ƒ}t|i|iƒt|i|ijƒ|i|ƒ}t|i|iƒ|ii	d	ƒt|idddgƒdS(
Ns*Testing copy.copy() and copy.deepcopy()...iÿÿÿÿRccBseZRS((R*R+(((s+/usr/local/lib/python2.5/test/test_descr.pyRc siiiii(
RRÔR3RÓRRRÝRRR=(RÔRcRR	RR'((s+/usr/local/lib/python2.5/test/test_descr.pytcopiess 			cs1to	dGHndtf‡fd†ƒY‰ttˆdƒˆdƒƒdƒttˆdƒdƒdƒttdˆdƒƒdƒttˆdƒˆdƒƒdƒttdˆdƒƒdƒttˆdƒdƒdƒtttˆdƒˆdƒˆd	ƒƒƒdƒd
tfd„ƒY}dS(Ns)Testing overrides of binary operations...R€csJeZd„Z‡fd†ZeZd‡fd†Zd‡fd†ZRS(cSsdt|ƒS(NsI(%r)(R¯(RJ((s+/usr/local/lib/python2.5/test/test_descr.pyRA5scsˆt|ƒt|ƒƒS(N(R¯(RJR¹(R€(s+/usr/local/lib/python2.5/test/test_descr.pyR7scs\|djo#ˆtt|ƒt|ƒƒƒSn)ˆtt|ƒt|ƒt|ƒƒƒSdS(N(R2R˜R¯(RJR¹R–(R€(s+/usr/local/lib/python2.5/test/test_descr.pyt__pow__:s
#cs_|djo&ˆtt|ƒt|ƒ|ƒƒSn)ˆtt|ƒt|ƒt|ƒƒƒSdS(N(R2R˜R¯(RJR¹R–(R€(s+/usr/local/lib/python2.5/test/test_descr.pyt__rpow__?s
&N(R*R+RARRùR2R‚Rƒ((R€(s+/usr/local/lib/python2.5/test/test_descr.pyR€4s
	iisI(3)isI(8)itScBseZd„ZRS(cSs|iƒ|iƒjS(N(R(RJR¹((s+/usr/local/lib/python2.5/test/test_descr.pyRºMs(R*R+Rº(((s+/usr/local/lib/python2.5/test/test_descr.pyR„Ls(RR¯RR@R˜R(R„((R€s+/usr/local/lib/python2.5/test/test_descr.pyt
binopoverride2s	##1c	CsÇto	dGHndtfd„ƒY}d|fd„ƒY}d|fd„ƒY}d||fd	„ƒY}|ƒ}t|ƒ}d
„|_tt|ƒdƒd„|_tt|ƒd
ƒd„|_tt|ƒdƒd„|_tt|ƒdƒ|`tt|ƒdƒ|`tt|ƒd
ƒ|`tt|ƒdƒ|`tt|ƒ|ƒd|_d|_t|idƒt|idƒd„}||_t|idƒt|idƒd„}||_t|i	dƒt|idƒt|idƒ|`t|idƒ|`t|idƒt|idƒ|`y|iWnt
j
onXtd‚ddk}dtfd„ƒY}d|fd„ƒY}~|i
ƒd„|_dS(Ns6Testing propagation of slot functions to subclasses...RicBseZRS((R*R+(((s+/usr/local/lib/python2.5/test/test_descr.pyRiRsRcBseZRS((R*R+(((s+/usr/local/lib/python2.5/test/test_descr.pyRTsRccBseZRS((R*R+(((s+/usr/local/lib/python2.5/test/test_descr.pyRcVsRðcBseZRS((R*R+(((s+/usr/local/lib/python2.5/test/test_descr.pyRðXscSsdS(i*((RJ((s+/usr/local/lib/python2.5/test/test_descr.pyRK\si*cSsdS(i:((RJ((s+/usr/local/lib/python2.5/test/test_descr.pyRK^si:cSsdS(i((RJ((s+/usr/local/lib/python2.5/test/test_descr.pyRK`sicSsdS(id((RJ((s+/usr/local/lib/python2.5/test/test_descr.pyRKbsidcSs%|djodSnti||ƒS(NRÓi(R3R(RJR}((s+/usr/local/lib/python2.5/test/test_descr.pyRps
icSs"|djodSnt|‚dS(NRÒRÓRÝR!(sspamsfoosbar(RV(RJR}((s+/usr/local/lib/python2.5/test/test_descr.pyR~ws
R!sd.foo should be undefined nowiÿÿÿÿcBseZRS((R*R+(((s+/usr/local/lib/python2.5/test/test_descr.pyRiŽscBseZRS((R*R+(((s+/usr/local/lib/python2.5/test/test_descr.pyRscWsdS(N(R2(R((s+/usr/local/lib/python2.5/test/test_descr.pyRK”s(RR3RžR¹RRÓRÝRR~RÒRVRRnRoR$(	RiRRcRðR't	orig_hashRR~Rn((s+/usr/local/lib/python2.5/test/test_descr.pytsubclasspropagationPsl									
cCsddk}to	dGHndtfd„ƒY}d}||ƒ}t|i|ƒ|i|ƒƒdtfd„ƒY}d}||ƒ}t|i|ƒ|i|ƒƒd	tfd
„ƒY}|dƒ}y|i|ƒtdƒ‚Wntj
onXdS(
Niÿÿÿÿs.Testing that buffer interface is inherited ...tMyStrcBseZRS((R*R+(((s+/usr/local/lib/python2.5/test/test_descr.pyRˆœsRŽtMyUnicBseZRS((R*R+(((s+/usr/local/lib/python2.5/test/test_descr.pyR‰ŠsuabctMyIntcBseZRS((R*R+(((s+/usr/local/lib/python2.5/test/test_descr.pyRŠ¬si*s2subclass of int should not have a buffer interface(	tbinasciiRRRtb2a_hexRkR¯RRY(R‹RˆR%RR‰RŠ((s+/usr/local/lib/python2.5/test/test_descr.pytbuffer_inherit–s$	
cs;ddk‰ddk}to	dGHndtf‡fd†ƒY}|dƒ}tt|ƒ|ƒttt|ƒƒtƒttt|ƒƒtƒtt|ƒdƒtt|ƒdƒtt|ƒdƒt|iƒdƒt|i	ƒdƒ|i
ƒ}||IJ|t|ƒIJt|iƒd	ƒ|iƒdS(
Niÿÿÿÿs.Testing __str__ defined in subclass of str ...toctetstringcs eZ‡fd†Zd„ZRS(cs
ˆi|ƒS(N(RŒ(RJ(R‹(s+/usr/local/lib/python2.5/test/test_descr.pyRÍœscSs|dS(Ns repr((RJ((s+/usr/local/lib/python2.5/test/test_descr.pyRA¿s(R*R+RÍRA((R‹(s+/usr/local/lib/python2.5/test/test_descr.pyRŽŒsRiiAt41sA reprs41
41
(
R‹t	cStringIORRRRR@tordRÍRAtStringIOtgetvalueR"(RRŽRatcapture((R‹s+/usr/local/lib/python2.5/test/test_descr.pytstr_of_str_subclassµs&	
cCsnto	dGHnd„}t|iddƒdƒg}ti|ddddgƒt|dddgƒdS(	Ns2Testing keyword arguments to __init__, __call__...cSs|S(N((R((s+/usr/local/lib/python2.5/test/test_descr.pyR‹ÕsRi*R.iii(RRRúRëRO(R‹R((s+/usr/local/lib/python2.5/test/test_descr.pytkwdargsÓs		cCsfto	dGHndtfd„ƒY}|ƒ|_y|ƒƒWntj
onXtdƒ‚dS(Ns@Testing recursive __call__() by setting to instance of class ...RicBseZRS((R*R+(((s+/usr/local/lib/python2.5/test/test_descr.pyRiÞss7Recursion limit should have been reached for __call__()(RR3RúRÅR(Ri((s+/usr/local/lib/python2.5/test/test_descr.pytrecursive__call__Ûs	csšto	dGHng‰dtf‡fd†ƒY}|ƒ}tˆgƒ~tˆdgƒdtfd„ƒY}|ƒ}y|d=Wntj
onXtd‚dS(	NsTesting __del__ hook...RccseZ‡fd†ZRS(csˆidƒdS(Ni(R=(RJ(R(s+/usr/local/lib/python2.5/test/test_descr.pyRfîs(R*R+Rf((R(s+/usr/local/lib/python2.5/test/test_descr.pyRcísiRðcBseZRS((R*R+(((s+/usr/local/lib/python2.5/test/test_descr.pyRðõsis$invalid del() didn't raise TypeError(RR3RRYR(RcRRðR'((Rs+/usr/local/lib/python2.5/test/test_descr.pytdelhookês		
	cCs¬to	dGHndtfd„ƒY}|ƒ}yt|ƒWntj
onXtd‚dtfd„ƒY}|ƒ}yt|ƒWntj
onXtd‚dS(Ns%Testing hash of mutable subclasses...tmydictcBseZRS((R*R+(((s+/usr/local/lib/python2.5/test/test_descr.pyR™þss#hash() of dict subclass should failtmylistcBseZRS((R*R+(((s+/usr/local/lib/python2.5/test/test_descr.pyRš
ss#hash() of list subclass should fail(RRRžRYRRë(R™R'Rš((s+/usr/local/lib/python2.5/test/test_descr.pythashinheritûs 				c!CsyddWntj
onXtd‚ydidƒWntj
onXtd‚ydidgƒWntj
onXtd‚ydidƒWntj
onXtd	‚yd
dWntj
onXtd‚ydhWntj
onXtd
‚yddWntj
onXtd‚yddWntj
onXtd‚yddWntj
onXtd‚yddWntj
onXtd‚tdiƒdƒtdiƒdƒtddƒtd dƒdS(!NRis'' + 5 doesn't raise TypeErrorRºs%''.split('') doesn't raise ValueErroris$''.join([0]) doesn't raise TypeErrort5s'''.rindex('5') doesn't raise ValueErrors%(n)ss&'%(n)s' % None doesn't raise TypeErrors%(ns&'%(n' % {} '' doesn't raise ValueErrors%*sRŽs''%*s' % ('abc') doesn't raise TypeErrors%*.*ss,'%*.*s' % ('abc', 5) doesn't raise TypeErrors%siis%'%s' % (1, 2) doesn't raise TypeErrorR•s#'%' % None doesn't raise ValueErrort534253t534253xs%cs(sabci(iisRœ(	RYRtsplitRZRtrindexR2Rtisdigit(((s+/usr/local/lib/python2.5/test/test_descr.pytstrops
sl										
cCsWto	dGHnddd„ƒY}|ƒ}|ƒ}||_||_t|ƒ}dS(Ns(Testing deepcopy of recursive objects...R"cBseZRS((R*R+(((s+/usr/local/lib/python2.5/test/test_descr.pyR"B
s((RR	RR(R"RR	Rm((s+/usr/local/lib/python2.5/test/test_descr.pytdeepcopyrecursive@
s					cCs±to	dGHnddkl}|i|ƒ}t|ƒtt|dƒdƒtt|dƒdƒtt|dƒdƒt|idƒd|_	t|ihdd<ƒdS(	Ns'Testing uninitialized module objects...iÿÿÿÿ(RR*it__file__RÓi(
RRRRÄRRRŽRR2RÓ(RsR((s+/usr/local/lib/python2.5/test/test_descr.pytmodulesJ
s	
	c	Cszdtfd„ƒY}to	dGHng}|iiƒD]
}||q:~}|iƒt|dddddgƒdS(	NRccBseZd„ZRS(cSsdS(N((RJ((s+/usr/local/lib/python2.5/test/test_descr.pyRX
s(R*R+R(((s+/usr/local/lib/python2.5/test/test_descr.pyRcW
ssTesting dict-proxy iterkeys...RR,R+RyR(R3RRtiterkeysRqR(RcR^R{R<((s+/usr/local/lib/python2.5/test/test_descr.pytdictproxyiterkeysV
s	*
cCsgdtfd„ƒY}to	dGHng}|iiƒD]
}||q:~}tt|ƒdƒdS(NRccBseZd„ZRS(cSsdS(N((RJ((s+/usr/local/lib/python2.5/test/test_descr.pyRa
s(R*R+R(((s+/usr/local/lib/python2.5/test/test_descr.pyRc`
ss Testing dict-proxy itervalues...i(R3RRt
itervaluesRR|(RcR^tvalues((s+/usr/local/lib/python2.5/test/test_descr.pytdictproxyitervalues_
s
	*c	Cs€dtfd„ƒY}to	dGHng}|iiƒD]\}}||q:~}|iƒt|dddddgƒdS(	NRccBseZd„ZRS(cSsdS(N((RJ((s+/usr/local/lib/python2.5/test/test_descr.pyRi
s(R*R+R(((s+/usr/local/lib/python2.5/test/test_descr.pyRch
ssTesting dict-proxy iteritems...RR,R+RyR(R3RRRXRqR(RcR^R{RäR<((s+/usr/local/lib/python2.5/test/test_descr.pytdictproxyiteritemsg
s	0
csþto	dGHndtf‡fd†ƒY}d|fd„ƒY‰t|dƒddd	gƒtˆdƒddd	gƒˆdƒ}t|idƒ|dƒ}tt|ˆƒtƒt|idƒˆdƒ}tt|ˆƒtƒt|idƒdS(
Ns1Testing __new__ returning something unexpected...RccseZ‡fd†ZRS(csSt|tƒodddgSn/t|tƒotiˆƒSnti|ƒSdS(Niii(RãRR¯R3RÄ(RÆR†(Rð(s+/usr/local/lib/python2.5/test/test_descr.pyRÄs
s
(R*R+RÄ((Rð(s+/usr/local/lib/python2.5/test/test_descr.pyRcr
sRðcBseZd„ZRS(cSs
||_dS(N(RÓ(RJR†((s+/usr/local/lib/python2.5/test/test_descr.pyROx
s(R*R+RO(((s+/usr/local/lib/python2.5/test/test_descr.pyRðw
sR_iii(RR3RR2R
RÓRãR^(RcR'((Rðs+/usr/local/lib/python2.5/test/test_descr.pytfunnynewp
s	cCsto	dGHndtfd„ƒY}|ƒ}|}|d9}t||dfƒ|}|d9}t||dfƒ|}|d9}t||dfƒ|}|d
9}t||dfƒ|}|d9}t||dfƒ|}|d	9}t||d	fƒdS(Ns Testing for __imul__ problems...RccBseZd„ZRS(cSs
||fS(N((RJR¹((s+/usr/local/lib/python2.5/test/test_descr.pyR7‰
s(R*R+R7(((s+/usr/local/lib/python2.5/test/test_descr.pyRcˆ
sgð?illidRÓll(RR3RR2(RcRŠRK((s+/usr/local/lib/python2.5/test/test_descr.pytimulbug…
s,		





cs¥to	dGHndtfd„ƒY‰dd‡fd†ƒY}dtf‡fd†ƒY}t|idƒt|ƒid	ƒt|id
ƒt|ƒidƒdS(
NsTesting __doc__ descriptor...tDocDescrcBseZd„ZRS(cSs=|o|iid}n|o
|i}nd||fS(Ns	 instancesobject=%s; type=%s(RR*(RJR3totype((s+/usr/local/lib/python2.5/test/test_descr.pyRø£
s

(R*R+Rø(((s+/usr/local/lib/python2.5/test/test_descr.pyR®¢
stOldClasscseZˆƒZRS((R*R+R,((R®(s+/usr/local/lib/python2.5/test/test_descr.pyR°©
stNewClasscseZˆƒZRS((R*R+R,((R®(s+/usr/local/lib/python2.5/test/test_descr.pyR±«
ssobject=None; type=OldClasss'object=OldClass instance; type=OldClasssobject=None; type=NewClasss'object=NewClass instance; type=NewClass((RR3RR,(R°R±((R®s+/usr/local/lib/python2.5/test/test_descr.pyt
docdescriptorŸ
s	cCsÖto	dGHnddk}dtfd„ƒY}|dƒ}|idƒt|idƒt|iƒdƒ|i|ƒ}t|idƒt|iƒdƒ|i|ƒ}t|idƒt|iƒdƒdS(Ns8Testing that copy.*copy() correctly uses __setstate__...iÿÿÿÿRccBs;eZdd„Zdd„Zd„Zd„Zd„ZRS(cSs||_||_dS(N(RÓt_C__foo(RJRÓ((s+/usr/local/lib/python2.5/test/test_descr.pyRO·
s	cSs
||_dS(N(RÓ(RJRÓ((s+/usr/local/lib/python2.5/test/test_descr.pytsetfooº
scSs|iS(N(R³(RJ((s+/usr/local/lib/python2.5/test/test_descr.pytgetfooŒ
scSs
|igS(N(RÓ(RJ((s+/usr/local/lib/python2.5/test/test_descr.pyRtŸ
scSs2t|ƒdjpt‚|d|_|_dS(Nii(R|RiR³RÓ(RJtlst((s+/usr/local/lib/python2.5/test/test_descr.pyRuÀ
sN(R*R+R2RORŽRµRtRu(((s+/usr/local/lib/python2.5/test/test_descr.pyRc¶
s
		i*i(RRÔR3RŽRRÓRµR(RÔRcRR	((s+/usr/local/lib/python2.5/test/test_descr.pyt
copy_setstate²
s	

cCsjto	dGHntdd dƒtdtdƒdƒttidtdƒƒdƒdtfd„ƒY}t|dƒd dƒt|dƒtdƒdƒt|dƒitdƒƒdƒtdd dƒtdtdƒdƒttidtdƒƒdƒd
tfd„ƒY}t|dƒd dƒt|dƒtdƒdƒt|dƒitdƒƒdƒtddd	gd ddgƒtddd	gtdƒddgƒttiddd	gtdƒƒddgƒdtfd
„ƒY}t|ddd	gƒd ddgƒt|ddd	gƒtdƒddgƒt|ddd	gƒitdƒƒddgƒ|ddd	gƒ}d	dg|tdd	ƒ<t|dd	dgƒd	dg|tdddƒ<t|d	ddgƒ|itdd	ƒddgƒt|d	ddgƒ|itdddƒdd	gƒt|dd	dgƒdS(Ns8Testing cases with slices and overridden __getitem__ ...R!ithellR„cBseZd„ZRS(cSsti||ƒS(N(RR6(RJRŠ((s+/usr/local/lib/python2.5/test/test_descr.pyR6Ö
s(R*R+R6(((s+/usr/local/lib/python2.5/test/test_descr.pyR„Õ
siiiRcBseZd„ZRS(cSsti||ƒS(N(RR6(RJRŠ((s+/usr/local/lib/python2.5/test/test_descr.pyR6à
s(R*R+R6(((s+/usr/local/lib/python2.5/test/test_descr.pyRß
sR‚cBseZd„ZRS(cSsti||ƒS(N(RëR6(RJRŠ((s+/usr/local/lib/python2.5/test/test_descr.pyR6ê
s(R*R+R6(((s+/usr/local/lib/python2.5/test/test_descr.pyR‚é
si(iii(ii(iii(ii(iii(ii(iii(ii(iii(ii(iii(ii(RRtsliceRR6RRëR$(R„RR‚R((s+/usr/local/lib/python2.5/test/test_descr.pytslicesÎ
s@	"" &.&,1"cs‚to	dGHndtf‡fd†ƒY‰ˆƒ}d|_~ˆid=ttˆiƒdƒtˆididƒˆ`dS(Ns-Testing resurrection of new-style instance...RccseZgZ‡fd†ZRS(csˆii|ƒdS(N(t	containerR=(RJ(Rc(s+/usr/local/lib/python2.5/test/test_descr.pyRfs(R*R+R»Rf((Rc(s+/usr/local/lib/python2.5/test/test_descr.pyRcþ
si*iÿÿÿÿi(RR3RèR»RR|Rf(R((Rcs+/usr/local/lib/python2.5/test/test_descr.pytsubtype_resurrectionú
s			
cCsVto	dGHndtfd„ƒY}d}x tdƒD]}||ƒ}q9W~dS(NsTesting slot trash...ttrashcBseZdgZd„ZRS(RŠcSs
||_dS(N(RŠ(RJRŠ((s+/usr/local/lib/python2.5/test/test_descr.pyROs(R*R+RÌRO(((s+/usr/local/lib/python2.5/test/test_descr.pyRœs	iPÃ(RR3R2Rq(RœRaRC((s+/usr/local/lib/python2.5/test/test_descr.pyt	slottrashs	
cCsŽdtfd„ƒY}dtfd„ƒY}d||fd„ƒY}t|i|iƒtt|dƒƒtt|dƒƒd	|ƒ_dS(
NRicBseZdZRS(((R*R+RÌ(((s+/usr/local/lib/python2.5/test/test_descr.pyRi&sRcBseZRS((R*R+(((s+/usr/local/lib/python2.5/test/test_descr.pyR(sRccBseZdZRS(((R*R+RÌ(((s+/usr/local/lib/python2.5/test/test_descr.pyRc*sRRyi(R3Rt
__basicsize__RRŽRŠ(RiRRc((s+/usr/local/lib/python2.5/test/test_descr.pytslotmultipleinheritance$scCswto	dGHndtfd„ƒY}|ƒ}t|ddƒt|ddƒtd|dƒtd|dƒdS(Ns)Testing correct invocation of __rmul__...RccBseZd„Zd„ZRS(cSsdS(NR’((RJR¹((s+/usr/local/lib/python2.5/test/test_descr.pyR86scSsdS(Ntrmul((RJR¹((s+/usr/local/lib/python2.5/test/test_descr.pyR98s(R*R+R8R9(((s+/usr/local/lib/python2.5/test/test_descr.pyRc5s	iR’gš™™™™™@RÁ(RR3R(RcR((s+/usr/local/lib/python2.5/test/test_descr.pyttestrmul1s		cCs=to	dGHndtfd„ƒY}|ƒ}|dC}dS(Ns)Testing correct invocation of __ipow__...RccBseZd„ZRS(cSsdS(N((RJR¹((s+/usr/local/lib/python2.5/test/test_descr.pyt__ipow__Es(R*R+RÃ(((s+/usr/local/lib/python2.5/test/test_descr.pyRcDsi(RR3(RcR((s+/usr/local/lib/python2.5/test/test_descr.pyttestipow@s
		cCshto	dGHndtfd„ƒY}ytd|ƒdƒWnnXto	dGHntitƒdS(NsTesting SF bug 551412 ...tUserLongcBseZd„ZRS(cWsdS(N((RJRÇ((s+/usr/local/lib/python2.5/test/test_descr.pyR‚Rs(R*R+R‚(((s+/usr/local/lib/python2.5/test/test_descr.pyRÅQslsTesting SF bug 570483...(RR3R˜RRšR(RÅ((s+/usr/local/lib/python2.5/test/test_descr.pyt
do_this_firstJs		csto	dGHndtfd„ƒY}dtf‡fd†ƒY‰d|fd„ƒY}d|fd	„ƒY}|ƒ}|ƒ}|f|_ˆf|_t|iƒd
ƒt|iƒd
ƒt|idƒt|idƒtˆiƒ|gƒdtfd
„ƒY}ytf|_Wnt	j
onXt
d‚ytft_Wnt	j
onXt
d‚y
|`Wnt	j
onXt
d‚y
d|_Wn5t	j
o)}t|ƒdjo
t
d‚qßnXt
d‚y|f|_Wnt	j
onXt
d‚y||f|_Wnt	j
onXt
d‚y|f|_Wnt	j
onXt
d‚ddd„ƒY}||f|_t|iƒdƒt|iƒdƒy|iWnt
j
onXt
d‚y|f|_Wnt	j
onXt
d‚dS(NsTesting mutable bases...RccBseZRS((R*R+(((s+/usr/local/lib/python2.5/test/test_descr.pyRccsR{cs eZ‡fd†Zd„ZRS(cs/|djodSntˆ|ƒi|ƒSdS(NRi(RþR(RJRè(R{(s+/usr/local/lib/python2.5/test/test_descr.pyRfs
cSsdS(Ni((RJ((s+/usr/local/lib/python2.5/test/test_descr.pyRks(R*R+RR((R{(s+/usr/local/lib/python2.5/test/test_descr.pyR{esRðcBseZRS((R*R+(((s+/usr/local/lib/python2.5/test/test_descr.pyRðmsRcBseZRS((R*R+(((s+/usr/local/lib/python2.5/test/test_descr.pyRosiiR‚cBseZRS((R*R+(((s+/usr/local/lib/python2.5/test/test_descr.pyR‚|ss/shouldn't turn list subclass into dict subclasss-shouldn't be able to assign to list.__bases__s&shouldn't be able to delete .__bases__s/a new-style class can't have only classic basess'wrong error message for .__bases__ = ()s)shouldn't be able to set .__bases__ to ()s.shouldn't be able to create inheritance cycless#didn't detect repeated base classesR)cBseZd„ZRS(cSsdS(Ni((RJ((s+/usr/local/lib/python2.5/test/test_descr.pytmeth2Žs(R*R+RÇ(((s+/usr/local/lib/python2.5/test/test_descr.pyR)³sisattribute should have vanisheds*new-style class must have a new-style base(((RR3RRRRt__subclasses__RëRRYRRRÇRV(RcRðRR'RgR‚RKR)((R{s+/usr/local/lib/python2.5/test/test_descr.pyttest_mutable_bases_s„					
	
					cs7to	dGHndtf‡fd†ƒY‰dtfd„ƒY‰dtfd„ƒY}dtfd	„ƒY}d
|fd„ƒY}d|fd
„ƒY}d|f‡fd†ƒY}d|f‡fd†ƒY}|i}|i}y|f|_Wn3tj
o't|i|ƒt|i|ƒnXtd‚dS(Ns)Testing mutable bases with failing mro...tWorkOncecs eZ‡fd†Zd„ZRS(cs(d|_tˆ|ƒiˆ|||ƒS(Ni(tflagRþRÄ(RJR}Rôtns(RÊ(s+/usr/local/lib/python2.5/test/test_descr.pyRÄÍs	cSs=|idjo
td‚n|id7_ti|ƒSdS(Nitbozoi(RËRÅRRš(RJ((s+/usr/local/lib/python2.5/test/test_descr.pyRšÐs
(R*R+RÄRš((RÊ(s+/usr/local/lib/python2.5/test/test_descr.pyRÊÌst
WorkAlwayscBseZd„ZRS(cSs
ti|ƒS(N(RRš(RJ((s+/usr/local/lib/python2.5/test/test_descr.pyRšØs(R*R+Rš(((s+/usr/local/lib/python2.5/test/test_descr.pyRÎ×sRccBseZRS((R*R+(((s+/usr/local/lib/python2.5/test/test_descr.pyRcßsR{cBseZRS((R*R+(((s+/usr/local/lib/python2.5/test/test_descr.pyR{âsRðcBseZRS((R*R+(((s+/usr/local/lib/python2.5/test/test_descr.pyRðåsRcBseZRS((R*R+(((s+/usr/local/lib/python2.5/test/test_descr.pyRèsR'cseZˆZRS((R*R+Rï((RÊ(s+/usr/local/lib/python2.5/test/test_descr.pyR'ësR2cseZˆZRS((R*R+Rï((RÎ(s+/usr/local/lib/python2.5/test/test_descr.pyR2îssexception not propagated(RRR3R/RRÅRR(RcR{RðRR'R2tE_mro_beforetD_mro_before((RÊRÎs+/usr/local/lib/python2.5/test/test_descr.pyt#test_mutable_bases_with_failing_mroÉs$			cCsœto	dGHndtfd„ƒY}dtfd„ƒY}d||fd„ƒY}d||fd	„ƒY}d
||fd„ƒY}y||f|_Wntj
onXtd‚dS(
Ns+Testing mutable bases catch mro conflict...RicBseZRS((R*R+(((s+/usr/local/lib/python2.5/test/test_descr.pyRisRcBseZRS((R*R+(((s+/usr/local/lib/python2.5/test/test_descr.pyRsRccBseZRS((R*R+(((s+/usr/local/lib/python2.5/test/test_descr.pyRc	sRðcBseZRS((R*R+(((s+/usr/local/lib/python2.5/test/test_descr.pyRðsRcBseZRS((R*R+(((s+/usr/local/lib/python2.5/test/test_descr.pyRssdidn't catch MRO conflict(RR3RRYR(RiRRcRðR((s+/usr/local/lib/python2.5/test/test_descr.pyt%test_mutable_bases_catch_mro_conflicts	cCsƒto	dGHndtfd„ƒY}|i}d|_t|i|if|dfƒd|_t|i|if|dfƒdS(NsTesting mutable names...RccBseZRS((R*R+(((s+/usr/local/lib/python2.5/test/test_descr.pyRcsRðsD.E(RR3R+R*R(RcR–((s+/usr/local/lib/python2.5/test/test_descr.pyt
mutable_namess				cCsYto	dGHndtfd„ƒY}t|dƒddƒtd|dƒdƒdtfd„ƒY}t|ƒdd	ƒtd|ƒd
ƒd|fd„ƒY}t|ƒ|ƒd
ƒt|ƒ|ƒdƒd|fd„ƒY}t|i|iƒt|ƒdd	ƒtd|ƒd
ƒt|ƒ|ƒd	ƒt|ƒ|ƒd	ƒdS(Ns=Testing correct dispatch of subclass overloading __r<op>__...RcBseZd„Zd„ZRS(cSsdS(NsB.__floordiv__((RJR¹((s+/usr/local/lib/python2.5/test/test_descr.pyt__floordiv__2scSsdS(NsB.__rfloordiv__((RJR¹((s+/usr/local/lib/python2.5/test/test_descr.pyt
__rfloordiv__4s(R*R+RÔRÕ(((s+/usr/local/lib/python2.5/test/test_descr.pyR1s	isB.__floordiv__sB.__rfloordiv__RccBseZd„Zd„ZRS(cSsdS(NsC.__floordiv__((RJR¹((s+/usr/local/lib/python2.5/test/test_descr.pyRÔ=scSsdS(NsC.__rfloordiv__((RJR¹((s+/usr/local/lib/python2.5/test/test_descr.pyRÕ?s(R*R+RÔRÕ(((s+/usr/local/lib/python2.5/test/test_descr.pyRc<s	sC.__floordiv__sC.__rfloordiv__RðcBseZd„Zd„ZRS(cSsdS(NsD.__floordiv__((RJR¹((s+/usr/local/lib/python2.5/test/test_descr.pyRÔHscSsdS(NsD.__rfloordiv__((RJR¹((s+/usr/local/lib/python2.5/test/test_descr.pyRÕJs(R*R+RÔRÕ(((s+/usr/local/lib/python2.5/test/test_descr.pyRðGs	sD.__floordiv__sD.__rfloordiv__RcBseZRS((R*R+(((s+/usr/local/lib/python2.5/test/test_descr.pyRRs(RR¯RR3RÕ(RRcRðR((s+/usr/local/lib/python2.5/test/test_descr.pytsubclass_right_op(s"	csxto	dGHndtfd„ƒY}dtfd„ƒY‰dd‡fd†ƒY}tt|iƒt|iƒƒdS(	Ns2Testing type of __dict__ when __metaclass__ set...RcBseZRS((R*R+(((s+/usr/local/lib/python2.5/test/test_descr.pyR`sRscBseZRS((R*R+(((s+/usr/local/lib/python2.5/test/test_descr.pyRsbsRccseZˆZRS((R*R+Rï((Rs(s+/usr/local/lib/python2.5/test/test_descr.pyRcds((RR3RR
R(RRc((Rss+/usr/local/lib/python2.5/test/test_descr.pytdict_type_with_metaclass\s	cCsto	dGHndddg}hdd<dd<dd<}tti|ƒ|ƒthi|ƒ|ƒtid}t|idtƒ|ƒ|ƒt|ihƒ|ƒ|ƒy|iddƒWntj
onXtd‚y|idƒWntj
onXtd‚y|iddƒWntj
onXtd	‚y|idt	ƒWntj
onXtd
‚dS(Ns1Testing __get__ method of METH_CLASS C methods...iiitfromkeyss0shouldn't have allowed descr.__get__(None, None)i*s(shouldn't have allowed descr.__get__(42)s.shouldn't have allowed descr.__get__(None, 42)s/shouldn't have allowed descr.__get__(None, int)(
RR2RRRØRRøRYRR¯(R†RRW((s+/usr/local/lib/python2.5/test/test_descr.pytmeth_class_getis:	!
			cCskto	dGHndtfd„ƒY}dd
d„ƒY}|ƒ}||ƒ}tt||ƒƒtt||ƒƒd|fd„ƒY}|ƒ}||ƒ}tt||ƒƒtt||ƒƒdtfd„ƒY}|ƒ}||ƒ}tt||ƒƒtt||ƒƒd|fd	„ƒY}|ƒ}||ƒ}tt||ƒƒtt||ƒƒdS(Ns+Testing proxy isinstance() and isclass()...R·cBseZd„Zd„ZRS(cSs
||_dS(N(t_Proxy__obj(RJRz((s+/usr/local/lib/python2.5/test/test_descr.pyRO•scSs8|idƒoti||ƒSnt|i|ƒSdS(Nt_Proxy__(RoR3RRRÚ(RJR}((s+/usr/local/lib/python2.5/test/test_descr.pyR—s(R*R+ROR(((s+/usr/local/lib/python2.5/test/test_descr.pyR·”s	RccBseZRS((R*R+(((s+/usr/local/lib/python2.5/test/test_descr.pyRcsRðcBseZRS((R*R+(((s+/usr/local/lib/python2.5/test/test_descr.pyRð€scBseZRS((R*R+(((s+/usr/local/lib/python2.5/test/test_descr.pyRc«scBseZRS((R*R+(((s+/usr/local/lib/python2.5/test/test_descr.pyRð²s((RR3RRã(R·RcRtpaRð((s+/usr/local/lib/python2.5/test/test_descr.pytisinst_isclass‘s.						cs‹to	dGHndtfd„ƒY}dtfd„ƒY}d|f‡fd†ƒY‰ˆƒ}||ƒ}tˆid|ƒd	ƒdS(
Ns%Testing super() for a proxy object...R·cBseZd„Zd„ZRS(cSs
||_dS(N(RÚ(RJRz((s+/usr/local/lib/python2.5/test/test_descr.pyROœscSs8|idƒoti||ƒSnt|i|ƒSdS(NRÛ(RoR3RRRÚ(RJR}((s+/usr/local/lib/python2.5/test/test_descr.pyR¿s(R*R+ROR(((s+/usr/local/lib/python2.5/test/test_descr.pyR·Œs	RcBseZd„ZRS(cSsdS(NsB.f((RJ((s+/usr/local/lib/python2.5/test/test_descr.pyR‹Æs(R*R+R‹(((s+/usr/local/lib/python2.5/test/test_descr.pyRÅsRccseZ‡fd†ZRS(cstˆ|ƒiƒdS(Ns->C.f(RþR‹(RJ(Rc(s+/usr/local/lib/python2.5/test/test_descr.pyR‹Ês(R*R+R‹((Rc(s+/usr/local/lib/python2.5/test/test_descr.pyRcÉsR‹sB.f->C.f(RR3RR(R·RRzRâ((Rcs+/usr/local/lib/python2.5/test/test_descr.pyt
proxysuper¹s			c	Cs}to	dGHnytitddƒWntj
onXtd‚ytitdƒWntj
onXtd‚dS(Ns,Testing prohibition of Carlo Verre's hack...RÓi*s!Carlo Verre __setattr__ suceeded!Rs"Carlo Verre __delattr__ succeeded!(RR3RRRYRR(((s+/usr/local/lib/python2.5/test/test_descr.pyt
carloverreÑs		csjto	dGHnddk‰dd‡fd†ƒY}dtfd„ƒY}|ƒ}||ƒ|_~dS(NsTesting weakref segfault...iÿÿÿÿtProvokercs eZ‡fd†Zd„ZRS(csˆi|ƒ|_dS(N(RÐ(RJt	referrent(RÏ(s+/usr/local/lib/python2.5/test/test_descr.pyROéscSs|iƒ}dS(N(RÐ(RJRŠ((s+/usr/local/lib/python2.5/test/test_descr.pyRfìs(R*R+RORf((RÏ(s+/usr/local/lib/python2.5/test/test_descr.pyRàèstOopscBseZRS((R*R+(((s+/usr/local/lib/python2.5/test/test_descr.pyRâïs((RRÏR3twhatever(RàRâRa((RÏs+/usr/local/lib/python2.5/test/test_descr.pytweakref_segfaultás		cCs3d„}xtdƒD]}|i}qWd}dS(NcSsdS(N(R2(((s+/usr/local/lib/python2.5/test/test_descr.pyRKøsi@B(RqRúR2(R‹RC((s+/usr/local/lib/python2.5/test/test_descr.pytwrapper_segfaultös
	

csdto	dGHnddk‰dd‡fd†ƒY}|ƒˆ_y	dGHWntj
onXdS(Ns+Testing sys.stdout is changed in getattr...iÿÿÿÿtStdoutGuardcseZ‡fd†ZRS(cs ˆiˆ_td|ƒ‚dS(Ns!Premature access to sys.stdout.%s(t
__stdout__RsRÅ(RJRè(R„(s+/usr/local/lib/python2.5/test/test_descr.pyR~s(R*R+R~((R„(s+/usr/local/lib/python2.5/test/test_descr.pyRæssOops!((RR„RsRÅ(Ræ((R„s+/usr/local/lib/python2.5/test/test_descr.pyt	filefaultþs		cs·to	dGHndtf‡fd†ƒY}dtfd„ƒY‰dtf‡fd†ƒY‰ˆƒ}d|i|ƒ<t|id	ƒd
dk}|iƒtt|dƒtƒdS(Ns&Testing vicious_descriptor_nonsense...tEvilcs eZd„Z‡fd†ZRS(cSs
tdƒS(NRè(Rž(RJ((s+/usr/local/lib/python2.5/test/test_descr.pyR¹scs
ˆ`dS(Ni(Rè(RJR¹(Rc(s+/usr/local/lib/python2.5/test/test_descr.pyRºs(R*R+R¹Rº((Rc(s+/usr/local/lib/python2.5/test/test_descr.pyRés	tDescrcBseZdd„ZRS(cSsdS(Ni((RJtobR((s+/usr/local/lib/python2.5/test/test_descr.pyRøsN(R*R+R2Rø(((s+/usr/local/lib/python2.5/test/test_descr.pyRêsRccseZˆƒZRS((R*R+Rè((Rê(s+/usr/local/lib/python2.5/test/test_descr.pyRcsiiiÿÿÿÿRè(	RR3RRRèRnRoRŽtFalse(RéRRn((RêRcs+/usr/local/lib/python2.5/test/test_descr.pytvicious_descriptor_nonsenses		
cCsDdtfd„ƒY}y|ƒWntj
onXtd‚dS(NtFoocBseZd„ZRS(cSsdS(Ni
((RJ((s+/usr/local/lib/python2.5/test/test_descr.pyRO,s(R*R+RO(((s+/usr/local/lib/python2.5/test/test_descr.pyRî+ss'did not test __init__() for None return(R3RYR(Rî((s+/usr/local/lib/python2.5/test/test_descr.pyt	test_init)scCs?to	dGHng}t|i|iƒt|igiƒt|idgijƒt|i|ijƒt|iidjƒt|ii|jƒt|iitjƒt|ii	tii	ƒyt
|iƒWntj
onXtdƒ‚d}|d7}t|idiƒtt
|iƒt
d	iƒƒdS(
Ns!Testing method-wrapper objects...iRs"no TypeError from hash([].__add__)i((i(i(i(
RRRRR8R*t__self__t__objclass__RëR,RžRYR(RDR((s+/usr/local/lib/python2.5/test/test_descr.pyt
methodwrapper5s(	
cs6dtfd„ƒY}|ƒ‰dtf‡fd†ƒY}dtf‡fd†ƒY}dtf‡fd†ƒY}ttd	t|ƒd	ƒtˆid
ƒttd	t|ƒd	ƒtˆidƒttd	t|ƒd	ƒtˆidƒd
dk‰dtf‡‡fd†ƒY‰ttd	tˆƒd	ƒdS(Nt
DescriptorcBseZdZdd„ZRS(ics‡fd†}|S(Ncsˆid7_t|ƒ‚dS(Ni(RRV(R}(RJ(s+/usr/local/lib/python2.5/test/test_descr.pyRÝTs((RJRztobjtypeRÝ((RJs+/usr/local/lib/python2.5/test/test_descr.pyRøSsN(R*R+RR2Rø(((s+/usr/local/lib/python2.5/test/test_descr.pyRóQsRicseZˆZRS((R*R+R((RW(s+/usr/local/lib/python2.5/test/test_descr.pyRiZsRcseZˆZRS((R*R+R~((RW(s+/usr/local/lib/python2.5/test/test_descr.pyR\sRccseZˆZˆZRS((R*R+RR~((RW(s+/usr/local/lib/python2.5/test/test_descr.pyRc^sRèiiiiÿÿÿÿtEvilGetattributecs#eZd„Z‡‡fd†ZRS(cSst|ƒ‚dS(N(RV(RJR}((s+/usr/local/lib/python2.5/test/test_descr.pyR~lscs7ˆ`xtdƒD]}ˆiƒqWt|ƒ‚dS(Ni(R~R\RoRV(RJR}RC(RõRn(s+/usr/local/lib/python2.5/test/test_descr.pyRns

(R*R+R~R((RnRõ(s+/usr/local/lib/python2.5/test/test_descr.pyRõjs	(R3RLRVRRRRn(RóRiRRc((RWRõRns+/usr/local/lib/python2.5/test/test_descr.pyttest_getattr_hooksOs	
cs‘to	dGHnddk}ddk}ddk‰d„}‡fd†}|id}|i}x(t|igD]}xd5d6d7d8d9d:d;d<d=d>d?d@dAdBdCgD]Ù\}}}	|d-jo
|}
nd/|d0}
|d1dDh||<ƒ}|d2dEh||
<ƒ}|ƒ}
|ƒ}|||
|
ƒ|||
|ƒ||||
ƒ||||ƒ|||
|ƒ|||
|ƒ||||ƒ||||ƒ|	oÖ||	|
|
ƒ||	|
|ƒ||	||
ƒ||	||ƒ||	|
|ƒ||	|
|ƒd3|d0}|d4dFh||<ƒ}|ƒ}||	||
ƒ||	||ƒ||	||ƒ||	||ƒq¬q¬WqrWdS(GNsTesting NotImplemented...iÿÿÿÿcSstS(N(Rž(RJR¹((s+/usr/local/lib/python2.5/test/test_descr.pyt
specialmethodscsTy'|h|d<|d<ˆd<UWnej
onXed|fƒ‚dS(NRŠRKtoperatorsno TypeError from %r(RYR(RRŠRK(Rø(s+/usr/local/lib/python2.5/test/test_descr.pyRY‚s
'lRsx + ysx += yt__sub__sx - ysx -= yR8sx * ysx *= yRsoperator.truediv(x, y)RÔsoperator.floordiv(x, y)Rsx / ysx /= yt__mod__sx % ysx %= yt
__divmod__sdivmod(x, y)R‚sx ** ysx **= yt
__lshift__sx << ysx <<= yt
__rshift__sx >> ysx >>= yt__and__sx & ysx &= yt__or__sx | ysx |= yt__xor__sx ^ ysx ^= yt
__coerce__scoerce(x, y)t__riRiRt__iRc(s__add__sx + ysx += y(s__sub__sx - ysx -= y(s__mul__sx * ysx *= y(s__truediv__soperator.truediv(x, y)N(s__floordiv__soperator.floordiv(x, y)N(s__div__sx / ysx /= y(s__mod__sx % ysx %= y(s
__divmod__sdivmod(x, y)N(s__pow__sx ** ysx **= y(s
__lshift__sx << ysx <<= y(s
__rshift__sx >> ysx >>= y(s__and__sx & ysx &= y(s__or__sx | ysx |= y(s__xor__sx ^ ysx ^= y(s
__coerce__scoerce(x, y)N((((RR„RRøRŒRt	ClassTypeR2(R„RR÷RYtN1tN2RÿR}RtiexprtrnameRiRRR	tinameRcR((Røs+/usr/local/lib/python2.5/test/test_descr.pytnotimplementedvsr		
	

			cCs@dtfd„ƒY}|ƒ}d|dd+t|idƒdS(NRccBseZd„ZRS(cSs
||_dS(N(Rä(RJtstarttstopRä((s+/usr/local/lib/python2.5/test/test_descr.pyR&Ãs(R*R+R&(((s+/usr/local/lib/python2.5/test/test_descr.pyRcÂsiii(R3RRä(RcR((s+/usr/local/lib/python2.5/test/test_descr.pyttest_assign_sliceœs	
cCs»tƒtƒtƒtƒtƒtƒtƒtƒtƒt	ƒt
ƒtƒtƒt
ƒtƒtƒtƒtƒtƒtƒtƒtƒtƒtƒtƒtƒtƒtƒtƒtƒtƒtƒt ƒt!ƒt"ƒt#ƒt$ƒt%ƒt&ƒt'ƒt(ƒt)ƒt*ƒt+ƒt,ƒt-ƒt.ƒt/ƒt0ƒt1ƒt2ƒt3ƒt4ƒt5ƒt6ƒt7ƒt8ƒt9ƒt:ƒt;ƒt<ƒt=ƒt>ƒt?ƒt@ƒtAƒtBƒtCƒtDƒtEƒtFƒtGƒtHƒtIƒtJƒtKƒtLƒtMƒtNƒtOƒtPƒtQƒtRƒtSƒtTƒtUƒtVƒtWƒtXƒtYƒtZƒt[ƒt\ƒt]ƒt^ƒt_ƒt`ƒtao	dGHndS(NsAll OK(bRäRåRÆR4R:RER`RƒRŸR¿RÀRÎRØRàRêRíRÿRR0RTR3R7R@RGRWRcR|R‡RˆRR‘R’R•R–R¥RŠRªR³RµRÌRÔRéRôR*R1R2RIRMRTRVR[RbRpR~RR…R‡RR•R–R—R˜R›R¢R£R¥R§RªR«R€R¬R­R²R·RºRŒRŸRÀRÂRÄRÉRÑRÒRÓRÖR×RÙRÝRÞRßRèRíRïRòR
R
RöR(((s+/usr/local/lib/python2.5/test/test_descr.pyt	test_mainÊsÆt__main__(€ttest.test_supportRRRRRRRÔRtwarningsRtfilterwarningstDeprecationWarningR*R
RRR R#R%R(R4R:RER`RƒR³RWR}RtislowerRµR·RŸR¿RÀRÎRØRàRêRíRÿRR0R3R7R@RGRLRSRTRWRcR|R‡RˆRR‘R’R•R–R¥RŠRªR³RµRÌRÔRéRôR*R1R2RIRMRTRVR[RbRpR~R€RR…R‡RR•R–R—R˜R›R¢R£R¥R§RªR«R¬R­R²R·RºRŒRŸRÀRÂRÄRÆRÉRÑRÒRÓRÖR×RÙRÝRÞRßRäRåRèRíRïRòRöR
R
R(((s+/usr/local/lib/python2.5/test/test_descr.pys<module>s>.		

				S	}																		


								


					$	-	4		¢	#	ƒ	&			
				Œ	/	O	-	.					"		7	9		ª		S	t	ÿX		+	!		N			*	U	t	W			F							.	
											,		
	
		
		j	7			4	
	(	(									'	G	
	e


Man Man