config root man

Current Path : /usr/local/lib/python2.5/

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/bdb.pyo

hRc@sdZddkZddkZddkZdddgZdefdYZdfdYZdZdfd	YZ	d
Z
dZdefd
YZdZ
dZdZdS(sDebugger basicsiNtBdbQuittBdbt
BreakpointcBseZdZRS(sException to give up completely(t__name__t
__module__t__doc__(((s/usr/local/lib/python2.5/bdb.pyR	scBsveZdZdZdZdZdZdZdZdZ	dZ
d	Zd
ZdZ
dZd
ZdZdZdZdZdZdZd(dZdZdZdd(d(dZdZdZdZdZdZdZ dZ!d Z"d!Z#d"d#Z$d(d(d$Z%d(d(d%Z&d&Z'd'Z(RS()sGeneric Python debugger base class.

    This class takes care of details of the trace facility;
    a derived class should implement user interaction.
    The standard debugger class (pdb.Pdb) is an example.
    cCsh|_h|_dS(N(tbreakstfncache(tself((s/usr/local/lib/python2.5/bdb.pyt__init__s	cCsv|d|dd!djo|Sn|ii|}|p5tii|}tii|}||i|<n|S(Nt<iit>(Rtgettostpathtabspathtnormcase(Rtfilenametcanonic((s/usr/local/lib/python2.5/bdb.pyRscCs>ddk}|id|_d|_d|_d|_dS(Nii(t	linecachet
checkcachetNonetbotframet	stopframetreturnframetquitting(RR((s/usr/local/lib/python2.5/bdb.pytreset$s
			cCs|iodSn|djo|i|Sn|djo|i||Sn|djo|i||Sn|djo|i||Sn|djo|iSn|djo|iSn|djo|iSndGt|GH|iS(	Ntlinetcalltreturnt	exceptiontc_calltc_exceptiontc_returns*bdb.Bdb.dispatch: unknown debugging event:(Rt
dispatch_linet
dispatch_calltdispatch_returntdispatch_exceptionttrace_dispatchtrepr(Rtframeteventtarg((s/usr/local/lib/python2.5/bdb.pyR&,s$







cCsL|i|p|i|o%|i||io
tqEn|iS(N(t	stop_heret
break_heret	user_lineRRR&(RR(((s/usr/local/lib/python2.5/bdb.pyR"@s
 

cCsz|idjo|i|_|iSn|i|p
|i|pdSn|i|||io
tn|iS(N(	RRtf_backR&R+tbreak_anywheret	user_callRR(RR(R*((s/usr/local/lib/python2.5/bdb.pyR#Fs 

cCsO|i|p||ijo(|i|||io
tqHn|iS(N(R+Rtuser_returnRRR&(RR(R*((s/usr/local/lib/python2.5/bdb.pyR$Ss
 
cCs?|i|o(|i|||io
tq8n|iS(N(R+tuser_exceptionRRR&(RR(R*((s/usr/local/lib/python2.5/bdb.pyR%Ys

cCsb||ijotSnxC|dj	o5||ij	o%||ijotSn|i}qWtS(N(RtTrueRRR.tFalse(RR(((s/usr/local/lib/python2.5/bdb.pyR+cscCs|i|ii}||ijotSn|i}||i|jo,|ii}||i|jotSqvnt|||\}}|o?|i|_	|o$|i
o|it|int
SntSdS(N(Rtf_codetco_filenameRR4tf_linenotco_firstlinenot	effectivetnumbert	currentbpt	temporarytdo_cleartstrR3(RR(Rtlinenotbptflag((s/usr/local/lib/python2.5/bdb.pyR,ns	cCs
tddS(Ns)subclass of bdb must implement do_clear()(tNotImplementedError(RR*((s/usr/local/lib/python2.5/bdb.pyR=scCs|ii|i|iiS(N(Rthas_keyRR5R6(RR(((s/usr/local/lib/python2.5/bdb.pyR/s	cCsdS(snThis method is called when there is the remote possibility
        that we ever need to stop in this function.N((RR(t
argument_list((s/usr/local/lib/python2.5/bdb.pyR0scCsdS(s9This method is called when we stop or break at this line.N((RR(((s/usr/local/lib/python2.5/bdb.pyR-scCsdS(s5This method is called when a return trap is set here.N((RR(treturn_value((s/usr/local/lib/python2.5/bdb.pyR1scCs|\}}}dS(smThis method is called if an exception occurs,
        but only if we are to stop at or just below this level.N((RR(t.2texc_typet	exc_valuet
exc_traceback((s/usr/local/lib/python2.5/bdb.pyR2scCsd|_d|_d|_dS(sStop after one line of code.iN(RRRR(R((s/usr/local/lib/python2.5/bdb.pytset_steps		cCs||_d|_d|_dS(s2Stop on the next line in or below the given frame.iN(RRRR(RR(((s/usr/local/lib/python2.5/bdb.pytset_nexts		cCs"|i|_||_d|_dS(s)Stop when returning from the given frame.iN(R.RRR(RR(((s/usr/local/lib/python2.5/bdb.pyt
set_returns	cCsu|djotii}n|ix*|o"|i|_||_|i}q-W|iti	|idS(spStart debugging from `frame`.

        If frame is not specified, debugging starts from caller's frame.
        N(
Rtsyst	_getframeR.RR&tf_traceRRJtsettrace(RR(((s/usr/local/lib/python2.5/bdb.pyt	set_traces

	
cCsz|i|_d|_d|_|ipNtidtii	}x/|o#||ij	o|`
|i	}qGWndS(Ni(RRRRRRRMRPRNR.RO(RR(((s/usr/local/lib/python2.5/bdb.pytset_continues		

cCs/|i|_d|_d|_tiddS(Ni(RRRRRRMRP(R((s/usr/local/lib/python2.5/bdb.pytset_quits		ic
Cs|i|}ddk}|i||}|pd||fSn||ijog|i|<n|i|}||jo|i|nt|||||}	dS(NisLine %s:%d does not exist(RRtgetlineRtappendR(
RRR?R<tcondtfuncnameRRtlistR@((s/usr/local/lib/python2.5/bdb.pyt	set_breaks

cCs|i|}||ijod|Sn||i|jod||fSnx&ti||fD]}|iqfWtii||fp|i|i|n|i|p|i|=ndS(NsThere are no breakpoints in %ssThere is no breakpoint at %s:%d(RRRtbplisttdeleteMeRCtremove(RRR?R@((s/usr/local/lib/python2.5/bdb.pytclear_breaksc	Cs~yt|}Wnd|SnXyti|}Wntj
od|SnX|pd|Sn|i|i|idS(Ns"Non-numeric breakpoint number (%s)s#Breakpoint number (%d) out of rangesBreakpoint (%d) already deleted(tintRt
bpbynumbert
IndexErrorR]tfileR(RR*R:R@((s/usr/local/lib/python2.5/bdb.pytclear_bpbynumbers
cCs|i|}||ijod|SnxC|i|D]4}ti||f}x|D]}|iqYWq9W|i|=dS(NsThere are no breakpoints in %s(RRRRZR[(RRRtblistR@((s/usr/local/lib/python2.5/bdb.pytclear_all_file_breaks
scCsH|ipdSnx&tiD]}|o|iqqWh|_dS(NsThere are no breakpoints(RRR_R[(RR@((s/usr/local/lib/python2.5/bdb.pytclear_all_breakss

cCs0|i|}||ijo||i|jS(N(RR(RRR?((s/usr/local/lib/python2.5/bdb.pyt	get_breakscCsK|i|}||ijo(||i|joti||fpgS(N(RRRRZ(RRR?((s/usr/local/lib/python2.5/bdb.pyt
get_breaks!scCs6|i|}||ijo|i|SngSdS(N(RR(RR((s/usr/local/lib/python2.5/bdb.pytget_file_breaks'scCs|iS(N(R(R((s/usr/local/lib/python2.5/bdb.pytget_all_breaks.scCsg}|o|i|jo
|i}nxF|dj	o8|i||if||ijoPn|i}q-W|itdt	|d}x4|dj	o&|i|i|i
f|i}qW||fS(Nii(ttb_framettb_nextRRUR7RR.treversetmaxtlent	tb_lineno(Rtftttstackti((s/usr/local/lib/python2.5/bdb.pyt	get_stack4s 



s: cCs6ddk}ddk}|\}}|i|ii}d||f}|iio||ii}n|d}d|ijo|id}	nd}	|	o||i|	}n|d}d|ijo.|id}
|d}||i|
}n|i||}|o|||i	}n|S(Nis%s(%r)s<lambda>t__args__s()t
__return__s->(
RR'RR5R6tco_nametf_localsRRTtstrip(Rtframe_linenotlprefixRR'R(R?RtstargstrvR((s/usr/local/lib/python2.5/bdb.pytformat_stack_entryFs*




c
Bs|djoddk}|i}n|djo
|}n|iei|ie|ei	p|d}nz(y|||UWne
j
onXWdd|_eidXdS(Nis
i(Rt__main__t__dict__RRMRPR&t
isinstancettypestCodeTypeRR(RtcmdtglobalstlocalsR((s/usr/local/lib/python2.5/bdb.pytrunbs 




		cCs|djoddk}|i}n|djo
|}n|iti|it|ti	p|d}nz.yt
|||SWntj
onXWdd|_tidXdS(Nis
i(
RRRRRMRPR&RRRtevalRR(RtexprRRR((s/usr/local/lib/python2.5/bdb.pytrunevalus 




		cCs|i|||dS(N(R(RRRR((s/usr/local/lib/python2.5/bdb.pytrunctxsc	Osk|iti|id}z-y|||}Wntj
onXWdd|_tidX|S(Ni(RRMRPR&RRR(RtfuncR}tkwdstres((s/usr/local/lib/python2.5/bdb.pytruncalls
		N()RRRR	RRR&R"R#R$R%R+R,R=R/R0R-R1R2RJRKRLRRQRRRSRYR]RbRdReRfRgRhRiRtRRRRR(((s/usr/local/lib/python2.5/bdb.pyR
sN		
				
		
												
	
		
	
							cCstidS(N(RRQ(((s/usr/local/lib/python2.5/bdb.pyRQscBs\eZdZdZhZdgZddddZdZdZ	dZ
ddZRS(	sBreakpoint class

    Implements temporary breakpoints, ignore counts, disabling and
    (re)-enabling, and conditionals.

    Breakpoints are indexed by number through bpbynumber and by
    the file,line tuple using bplist.  The former points to a
    single instance of class Breakpoint.  The latter points to a
    list of such instances since there may be more than one
    breakpoint per line.

    iicCs||_d|_||_||_||_||_d|_d|_d|_	t
i|_t
idt
_|i
i||ii||fo|i||fi|n|g|i||f<dS(Nii(RWRtfunc_first_executable_lineRaRR<RVtenabledtignorethitsRtnextR:R_RURZRC(RRaRR<RVRW((s/usr/local/lib/python2.5/bdb.pyR	s									cCsV|i|if}d|i|i<|i|i||i|p|i|=ndS(N(RaRRR_R:RZR\(Rtindex((s/usr/local/lib/python2.5/bdb.pyR[s
cCs
d|_dS(Ni(R(R((s/usr/local/lib/python2.5/bdb.pytenablescCs
d|_dS(Ni(R(R((s/usr/local/lib/python2.5/bdb.pytdisablescCs|djo
ti}n|io
d}nd}|io|d}n|d}|d|i||i|ifIJ|io|d|ifIJn|i	o|d|i	IJn|i
o;|i
djo
d	}nd
}|d|i
|fIJndS(Nsdel  skeep syes  sno   s%-4dbreakpoint   %s at %s:%ds	stop only if %ss	ignore next %d hitsiR|ts!	breakpoint already hit %d time%s(RRMtstdoutR<RR:RaRRVRR(Rtouttdisptss((s/usr/local/lib/python2.5/bdb.pytbpprints(









N(RRRRRZRR_R	R[RRR(((s/usr/local/lib/python2.5/bdb.pyRs
				cCs|ip#|i|ijotSntSn|ii|ijotSn|ip|i|_n|i|ijotSntS(s;Check whether we should break here because of `b.funcname`.(RWRR7R4R3R5RwR(tbR(((s/usr/local/lib/python2.5/bdb.pyt
checkfuncnames

cCs*ti||f}xtdt|D]}||}|idjoq)nt||pq)n|id|_|ip5|idjo|id|_q)q"|dfSq)yXt	|i|i
|i}|o2|idjo|id|_q
|dfSnWq)|dfSq)Xq)WdS(sDetermine which breakpoint for this file:line is to be acted upon.

    Called only if we know there is a bpt at this
    location.  Returns breakpoint that was triggered and a flag
    that indicates if it is ok to delete a temporary bp.

    iiN(NN(
RRZtrangeRnRRRRVRRt	f_globalsRxR(RaRR(t	possiblesRsRtval((s/usr/local/lib/python2.5/bdb.pyR9s0

tTdbcBs,eZdZdZdZdZRS(cCs.|ii}|p
d}ndG|G|GHdS(Ns???s+++ call(R5Rw(RR(R}tname((s/usr/local/lib/python2.5/bdb.pyR0Gs
cCsyddk}|ii}|p
d}n|i|ii}|i||i}dG|G|iG|GdG|iGHdS(Nis???s+++t:(RR5RwRR6RTR7Ry(RR(RRtfnR((s/usr/local/lib/python2.5/bdb.pyR-Ks
cCs
dG|GHdS(Ns
+++ return((RR(tretval((s/usr/local/lib/python2.5/bdb.pyR1RscCsdG|GH|idS(Ns
+++ exception(RR(RR(t	exc_stuff((s/usr/local/lib/python2.5/bdb.pyR2Ts	(RRR0R-R1R2(((s/usr/local/lib/python2.5/bdb.pyRFs			cCs*dG|GdGHt|d}dG|GHdS(Nsfoo(t)i
sbar returned(tbar(tntx((s/usr/local/lib/python2.5/bdb.pytfooXs
cCsdG|GdGH|dS(Nsbar(Ri((ta((s/usr/local/lib/python2.5/bdb.pyR]s
cCst}|iddS(Nsimport bdb; bdb.foo(10)(RR(Rq((s/usr/local/lib/python2.5/bdb.pyttestas	(RRMR
Rt__all__t	ExceptionRRRQRRR9RRRR(((s/usr/local/lib/python2.5/bdb.pys<module>s	T		5		

Man Man